Skip to content

Instantly share code, notes, and snippets.

@TinkerWorX
Created April 25, 2012 02:08
Show Gist options
  • Save TinkerWorX/2485535 to your computer and use it in GitHub Desktop.
Save TinkerWorX/2485535 to your computer and use it in GitHub Desktop.
SolutionName dependant references
...
<!-- The server uses SlimMath while the client and the editor use the XNA Framework. -->
<Choose>
<When Condition=" '$(SolutionName)' == 'TinkerWorX.Legeria.Server' ">
<ItemGroup>
<Reference Include="SlimMath">
<HintPath>..\Assemblies\SlimMath.dll</HintPath>
</Reference>
</ItemGroup>
</When>
<Otherwise>
<ItemGroup>
<Reference Include="Microsoft.Xna.Framework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=842cf8be1de50553, processorArchitecture=x86" />
</ItemGroup>
</Otherwise>
</Choose>
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment