a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
33 lines
2.1 KiB
XML
33 lines
2.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
|
|
<!-- Non-Portable Library build -->
|
|
<Import
|
|
Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets"
|
|
Condition=" '$(TargetFrameworkIdentifier)' != '.NETPortable' And '$(BuildPlatform)' == 'DESKTOPCLR' " />
|
|
|
|
<!-- Silverlight ONLY (i.e., not phone) -->
|
|
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\Silverlight\$(SilverlightVersion)\Microsoft.Silverlight.CSharp.targets" Condition=" '$(TargetFrameworkIdentifier)' != '.NETPortable' And '$(BuildPlatform)' == 'SILVERLIGHT' AND !('$(BuildFlavor)' == 'SILVERLIGHTM7') " />
|
|
|
|
<!-- Windows Phone 7.1 (Silverlight for Phone) -->
|
|
<Import Project="$(MSBuildExtensionsPath)\Microsoft\Silverlight for Phone\$(TargetFrameworkVersion)\Microsoft.Silverlight.$(TargetFrameworkProfile).Overrides.targets" Condition=" '$(TargetFrameworkIdentifier)' != '.NETPortable' And '$(BuildFlavor)' == 'SILVERLIGHTM7' " />
|
|
<Import Project="$(MSBuildExtensionsPath)\Microsoft\Silverlight for Phone\$(TargetFrameworkVersion)\Microsoft.Silverlight.CSharp.targets" Condition=" '$(TargetFrameworkIdentifier)' != '.NETPortable' And '$(BuildFlavor)' == 'SILVERLIGHTM7' " />
|
|
|
|
|
|
<!-- <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\Microsoft.Xna.GameStudio.targets" Condition=" '$(TargetFrameworkIdentifier)' != '.NETPortable' And '$(BuildPlatform)' == 'XNA' "/>
|
|
-->
|
|
|
|
<!-- Portable Library Build -->
|
|
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets" Condition=" '$(TargetFrameworkIdentifier)' == '.NETPortable' " />
|
|
|
|
<!-- If "Sign" is set and assembly should be signed, generate a .sign file-->
|
|
<Target Name="AfterBuild"
|
|
Condition=" '$(ProductSignAssembly)' == 'true' AND '$(Sign)' == 'Sign' ">
|
|
<WriteLinesToFile
|
|
File="$(OutDir)\$(TargetFileName).sign"
|
|
Overwrite="true"
|
|
Lines="Auto-generated file, indicates the corresponding binary file needs to be signed." />
|
|
</Target>
|
|
|
|
</Project>
|