Last active
August 29, 2015 13:56
-
-
Save i-e-b/9229128 to your computer and use it in GitHub Desktop.
Including files in Visual Studio project files, where it may be in one of a few places
This file contains 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
<!-- Fragment showing conditions for both location and target platform --> | |
<PropertyGroup> | |
<InternalPath>..\..\Installers\Binaries</InternalPath> | |
<ExternalPath>..\..\..\..\..\Installers\Binaries</ExternalPath> | |
</PropertyGroup> | |
<ItemGroup> | |
<WixLibrary Include="Template" Condition=" '$(Platform)' == 'x86' "> | |
<HintPath Condition="Exists('$(InternalPath)')">$(InternalPath)\x86\Template.wixlib</HintPath> | |
<HintPath Condition="Exists('$(ExternalPath)')">$(ExternalPath)\x86\Template.wixlib</HintPath> | |
<Name>Template</Name> | |
</WixLibrary> | |
<WixLibrary Include="Template" Condition=" '$(Platform)' == 'x64' "> | |
<HintPath Condition="Exists('$(InternalPath)')">$(InternalPath)\x64\Template.wixlib</HintPath> | |
<HintPath Condition="Exists('$(ExternalPath)')">$(ExternalPath)\x64\Template.wixlib</HintPath> | |
<Name>Template</Name> | |
</WixLibrary> | |
</ItemGroup> |
This file contains 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
<PropertyGroup> | |
<SharedPathDeep>..\..\..\..\Shared Code</SharedPathDeep> | |
<SharedPathShallow>..\..\..\Shared Code</SharedPathShallow> | |
<SharedCodePath Condition="Exists('$(SharedPathDeep)')">$(SharedPathDeep)</SharedCodePath> | |
<SharedCodePath Condition="Exists('$(SharedPathShallow)')">$(SharedPathShallow)</SharedCodePath> | |
</PropertyGroup> | |
<ItemGroup> | |
<None Include="$(SharedCodePath)\MyKey.snk"> | |
<Link>MyKey.snk</Link> | |
</None> | |
</ItemGroup> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment