 +    <PreBuildEvent>
 +    </PreBuildEvent>
 +  </PropertyGroup>
-+</Project>
+ </Project>
+

+    </None>
   </ItemGroup>
   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
-</Project>
+  <PropertyGroup>
+    <PostBuildEvent>SET RELEASEFILE=""
+

+IF $(ConfigurationName) == WindowsRelease SET RELEASEFILE=tModLoader
+
+for /f "tokens=* delims=" %25%25i in ('"$(ProjectDir)..\..\setup\bin\setup" --steamdir') do set TERRARIASTEAMDIR=%25%25i
+
+mkdir "%25TERRARIASTEAMDIR%25\ModCompile\"
+
+IF NOT %25RELEASEFILE%25 == "" (
+
