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