Skip to content

Commit

Permalink
Add steam_appid.txt to the MEWT build output for debugging.
Browse files Browse the repository at this point in the history
Fix build configuration in solution.
  • Loading branch information
Gwindalmir committed Sep 4, 2021
1 parent 528c355 commit 27b32df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion MEWorkshopTool/MEWorkshopTool.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
<Import Project="..\WorkshopToolCommon\WorkshopToolCommon.projitems" Label="Shared" />
<Import Project="..\Updater\Updater.projitems" Label="Shared" />
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="set APPID=333950&#xD;&#xA;if NOT exist &quot;$(TargetDir)steam_appid.txt&quot; echo %APPID% &gt; &quot;$(TargetDir)steam_appid.txt&quot;&#xD;&#xA;powershell.exe -ExecutionPolicy Bypass -NoProfile -NonInteractive -File $(SolutionDir)\Tools\LinkBinaries.ps1 %APPID% $(TargetDir)\Bin64&#xD;&#xA;powershell.exe -ExecutionPolicy Bypass -NoProfile -NonInteractive -Command &quot;&amp; {Compress-Archive -Force -Path $(TargetDir)$(TargetName).exe, $(TargetDir)$(TargetName).exe.config, $(TargetDir)$(TargetName).pdb, $(TargetDir)CommandLine.dll, $(TargetDir).wtignore, $(TargetDir)steam_appid.txt -DestinationPath $(TargetDir)$(TargetName)-latest.zip}&quot;" />
<Exec Command="set APPID=333950&#xD;&#xA;if NOT exist &quot;$(TargetDir)steam_appid.txt&quot; echo %APPID% &gt; &quot;$(TargetDir)steam_appid.txt&quot;&#xD;&#xA;powershell.exe -ExecutionPolicy Bypass -NoProfile -NonInteractive -File $(SolutionDir)\Tools\LinkBinaries.ps1 %APPID% $(TargetDir)\Bin64&#xD;&#xA;powershell.exe -ExecutionPolicy Bypass -NoProfile -NonInteractive -Command &quot;&amp; {Compress-Archive -Force -Path $(TargetDir)$(TargetName).exe, $(TargetDir)$(TargetName).exe.config, $(TargetDir)$(TargetName).pdb, $(TargetDir)CommandLine.dll, $(TargetDir).wtignore -DestinationPath $(TargetDir)$(TargetName)-latest.zip}&quot;" />
</Target>
<Target Name="PreBuild" BeforeTargets="PreBuildEvent">
<Exec Command="powershell.exe -ExecutionPolicy Bypass -NoProfile -NonInteractive -File $(SolutionDir)\Tools\LinkBinaries.ps1 333950 $(ProjectDir)\Bin64" />
Expand Down
4 changes: 2 additions & 2 deletions WorkshopTool.sln
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.28307.489
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SEWorkshopTool", "SEWorkshopTool\SEWorkshopTool.csproj", "{B45A96AB-94B8-46C2-813A-32FD0E1D8390}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SEWorkshopTool", "SEWorkshopTool\SEWorkshopTool.csproj", "{B45A96AB-94B8-46C2-813A-32FD0E1D8390}"
EndProject
Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "WorkshopToolCommon", "WorkshopToolCommon\WorkshopToolCommon.shproj", "{F854B41F-D141-467D-A009-74BB31E7A873}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MEWorkshopTool", "MEWorkshopTool\MEWorkshopTool.csproj", "{951AC7F6-8487-428E-8BFF-B26D689FD259}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MEWorkshopTool", "MEWorkshopTool\MEWorkshopTool.csproj", "{951AC7F6-8487-428E-8BFF-B26D689FD259}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Tests", "Tests\Tests.csproj", "{C8E85CFE-78CA-4450-A23D-55FAC0D16BD9}"
EndProject
Expand Down

0 comments on commit 27b32df

Please sign in to comment.