Skip to content

Instantly share code, notes, and snippets.

@MnemonicWME
Created September 26, 2019 05:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MnemonicWME/842eaa134be6b0f51e007d44d6dabfe1 to your computer and use it in GitHub Desktop.
Save MnemonicWME/842eaa134be6b0f51e007d44d6dabfe1 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8" ?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<CoreCompileDependsOn>CompileEffect;$(CoreCompileDependsOn)</CoreCompileDependsOn>
<UseHostCompilerIfAvailable>false</UseHostCompilerIfAvailable>
</PropertyGroup>
<Target Name="CompileEffect" Inputs="@(FxCompile)" Outputs="@(FxCompile->'%(RelativeDir)%(Filename).mgfxo')">
<Exec Command="&quot;$(MSBuildProgramFiles32)\MSBuild\MonoGame\v3.0\Tools\2MGFX.exe&quot; &quot;%(FxCompile.Identity)&quot; &quot;@(FxCompile->'%(RelativeDir)%(Filename).mgfxo')&quot; /Profile:DirectX_11" />
<CreateItem Include="%(FxCompile.Filename).mgfxo">
<Output TaskParameter="Include" ItemName="FileWrites" />
</CreateItem>
</Target>
</Project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment