| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
| 3 |
|
| 4 |
<!-- Non-Portable Library build --> |
| 5 |
<Import |
| 6 |
Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" |
| 7 |
Condition=" '$(TargetFrameworkIdentifier)' != '.NETPortable' And '$(BuildPlatform)' == 'DESKTOPCLR' " /> |
| 8 |
|
| 9 |
<!-- Silverlight ONLY (i.e., not phone) --> |
| 10 |
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\Silverlight\$(SilverlightVersion)\Microsoft.Silverlight.CSharp.targets" Condition=" '$(TargetFrameworkIdentifier)' != '.NETPortable' And '$(BuildPlatform)' == 'SILVERLIGHT' AND !('$(BuildFlavor)' == 'SILVERLIGHTM7') " /> |
| 11 |
|
| 12 |
<!-- Windows Phone 7.1 (Silverlight for Phone) --> |
| 13 |
<Import Project="$(MSBuildExtensionsPath)\Microsoft\Silverlight for Phone\$(TargetFrameworkVersion)\Microsoft.Silverlight.$(TargetFrameworkProfile).Overrides.targets" Condition=" '$(TargetFrameworkIdentifier)' != '.NETPortable' And '$(BuildFlavor)' == 'SILVERLIGHTM7' " /> |
| 14 |
<Import Project="$(MSBuildExtensionsPath)\Microsoft\Silverlight for Phone\$(TargetFrameworkVersion)\Microsoft.Silverlight.CSharp.targets" Condition=" '$(TargetFrameworkIdentifier)' != '.NETPortable' And '$(BuildFlavor)' == 'SILVERLIGHTM7' " /> |
| 15 |
|
| 16 |
|
| 17 |
<!-- <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\Microsoft.Xna.GameStudio.targets" Condition=" '$(TargetFrameworkIdentifier)' != '.NETPortable' And '$(BuildPlatform)' == 'XNA' "/> |
| 18 |
--> |
| 19 |
|
| 20 |
<!-- Portable Library Build --> |
| 21 |
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets" Condition=" '$(TargetFrameworkIdentifier)' == '.NETPortable' " /> |
| 22 |
|
| 23 |
<!-- If "Sign" is set and assembly should be signed, generate a .sign file--> |
| 24 |
<Target Name="AfterBuild" |
| 25 |
Condition=" '$(ProductSignAssembly)' == 'true' AND '$(Sign)' == 'Sign' "> |
| 26 |
<WriteLinesToFile |
| 27 |
File="$(OutDir)\$(TargetFileName).sign" |
| 28 |
Overwrite="true" |
| 29 |
Lines="Auto-generated file, indicates the corresponding binary file needs to be signed." /> |
| 30 |
</Target> |
| 31 |
|
| 32 |
</Project> |