Merge pull request #3008 from lateralusX/jlorenss/win-x64-shutdown-crash
[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>@OUTPUTTYPE@</OutputType>\r
10     <NoWarn>@DISABLEDWARNINGS@</NoWarn>\r
11     <OutputPath>@OUTPUTDIR@</OutputPath>\r
12     <GenerateTargetFrameworkAttribute>false</GenerateTargetFrameworkAttribute>\r
13     @NOSTDLIB@\r
14     @STARTUPOBJECT@\r
15     @NOCONFIG@\r
16     @ALLOWUNSAFE@\r
17     <AppDesignerFolder>Properties</AppDesignerFolder>\r
18     <RootNamespace>\r
19     </RootNamespace>\r
20     <AssemblyName>@ASSEMBLYNAME@</AssemblyName>\r
21     <TargetFrameworkVersion>v@FX_VERSION</TargetFrameworkVersion>\r
22     <FileAlignment>512</FileAlignment>\r
23   </PropertyGroup>\r
24   @SIGNATURE@\r
25   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">\r
26     <DebugSymbols>true</DebugSymbols>\r
27     <DebugType>full</DebugType>\r
28     <NoWarn>@DISABLEDWARNINGS@</NoWarn>\r
29     <Optimize>false</Optimize>\r
30     <DefineConstants>TRACE;@DEFINECONSTANTS@</DefineConstants>\r
31     <ErrorReport>prompt</ErrorReport>\r
32     <WarningLevel>4</WarningLevel>\r
33   </PropertyGroup>\r
34   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">\r
35     <DebugType>pdbonly</DebugType>\r
36     <NoWarn>@DISABLEDWARNINGS@</NoWarn>\r
37     <Optimize>true</Optimize>\r
38     <DefineConstants>@DEFINECONSTANTS@</DefineConstants>\r
39     <ErrorReport>prompt</ErrorReport>\r
40     <WarningLevel>4</WarningLevel>\r
41   </PropertyGroup>\r
42   <!-- Set AddAdditionalExplicitAssemblyReferences to false, otherwise if targetting .NET4.0, \r
43   Microsoft.NETFramework.props will force a dependency on the assembly System.Core. This\r
44   is a problem to compile the Mono mscorlib.dll -->\r
45   <PropertyGroup>\r
46     <AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>\r
47   </PropertyGroup>\r
48   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />\r
49   <ItemGroup>\r
50 @SOURCES@  </ItemGroup>\r
51   <!-- To modify your build process, add your task inside one of the targets below and uncomment it. \r
52        Other similar extension points exist, see Microsoft.Common.targets.\r
53   <Target Name="BeforeBuild">\r
54   </Target>\r
55   <Target Name="AfterBuild">\r
56   </Target>\r
57   -->\r
58   <PropertyGroup>\r
59 @PREBUILD@\r
60 @POSTBUILD@\r
61   </PropertyGroup>\r
62   <ItemGroup>\r
63 @REFERENCES@  </ItemGroup>\r
64   <ItemGroup>\r
65     <Folder Include="Properties\" />\r
66   </ItemGroup>\r
67 @RESOURCES@</Project>\r