csproj.tmpl 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  3. <PropertyGroup>
  4. <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
  5. <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
  6. <ProductVersion>9.0.30729</ProductVersion>
  7. <SchemaVersion>2.0</SchemaVersion>
  8. <ProjectGuid>@PROJECTGUID@</ProjectGuid>
  9. <OutputType>Library</OutputType>
  10. <NoWarn>@DISABLEDWARNINGS@</NoWarn>
  11. <OutputPath>@OUTPUTDIR@</OutputPath>
  12. @NOSTDLIB@
  13. @NOCONFIG@
  14. @ALLOWUNSAFE@
  15. <AppDesignerFolder>Properties</AppDesignerFolder>
  16. <RootNamespace>
  17. </RootNamespace>
  18. <AssemblyName>@ASSEMBLYNAME@</AssemblyName>
  19. <TargetFrameworkVersion>v@FX_VERSION</TargetFrameworkVersion>
  20. <FileAlignment>512</FileAlignment>
  21. </PropertyGroup>
  22. @SIGNATURE@
  23. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
  24. <DebugSymbols>true</DebugSymbols>
  25. <DebugType>full</DebugType>
  26. <NoWarn>@DISABLEDWARNINGS@</NoWarn>
  27. <Optimize>false</Optimize>
  28. <DefineConstants>DEBUG;TRACE;@DEFINECONSTANTS@</DefineConstants>
  29. <ErrorReport>prompt</ErrorReport>
  30. <WarningLevel>4</WarningLevel>
  31. </PropertyGroup>
  32. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
  33. <DebugType>pdbonly</DebugType>
  34. <NoWarn>@DISABLEDWARNINGS@</NoWarn>
  35. <Optimize>true</Optimize>
  36. <DefineConstants>@DEFINECONSTANTS@</DefineConstants>
  37. <ErrorReport>prompt</ErrorReport>
  38. <WarningLevel>4</WarningLevel>
  39. </PropertyGroup>
  40. <!-- Set AddAdditionalExplicitAssemblyReferences to false, otherwise if targetting .NET4.0,
  41. Microsoft.NETFramework.props will force a dependency on the assembly System.Core. This
  42. is a problem to compile the Mono mscorlib.dll -->
  43. <PropertyGroup>
  44. <AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>
  45. </PropertyGroup>
  46. <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  47. <ItemGroup>
  48. @SOURCES@ </ItemGroup>
  49. <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
  50. Other similar extension points exist, see Microsoft.Common.targets.
  51. <Target Name="BeforeBuild">
  52. </Target>
  53. <Target Name="AfterBuild">
  54. </Target>
  55. -->
  56. <PropertyGroup>
  57. @PREBUILD@
  58. @POSTBUILD@
  59. </PropertyGroup>
  60. <ItemGroup>
  61. @REFERENCES@ </ItemGroup>
  62. <ItemGroup>
  63. <Folder Include="Properties\" />
  64. </ItemGroup>
  65. @RESOURCES@</Project>