Created
August 25, 2019 11:28
-
-
Save TinkerWorX/ff6d6d696bd760b5a12e233d7c42f1f7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Project> | |
<Target Name="PostBuild" AfterTargets="PostBuildEvent"> | |
<PropertyGroup> | |
<MonoGamePlatform>Windows</MonoGamePlatform> | |
<MonoGameContentCommand>"$(SolutionDir)3rdParty\MonoGame.Content.Builder\MGCB.exe"</MonoGameContentCommand> | |
<MonoGameContentFile>/@:"$(MSBuildThisFileDirectory)\Content.mgcb"</MonoGameContentFile> | |
<MonoGameContentObject>/intermediateDir:"$(ProjectDir)obj\$(PlatformName)\$(ConfigurationName)\$(TargetFramework)\Content"</MonoGameContentObject> | |
<MonoGameContentOutput>/outputDir:"$(ProjectDir)bin\$(PlatformName)\$(ConfigurationName)\$(TargetFramework)\Content"</MonoGameContentOutput> | |
</PropertyGroup> | |
<PropertyGroup Condition="'$(Configuration)'=='Windows - Release'"> | |
<MonoGameCompress>/compress</MonoGameCompress> | |
</PropertyGroup> | |
<Exec | |
Command="$(MonoGameContentCommand) $(MonoGameContentFile) /quiet $(MonoGameCompress) /platform:$(MonoGamePlatform) $(MonoGameContentOutput) $(MonoGameContentObject)" | |
WorkingDirectory="$(MSBuildThisFileDirectory)" /> | |
</Target> | |
</Project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment