Overwrites dequeued ref/value with default. Fixes 18421.
[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   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">\r
23     <DebugSymbols>true</DebugSymbols>\r
24     <DebugType>full</DebugType>\r
25     <NoWarn>@DISABLEDWARNINGS@</NoWarn>\r
26     <Optimize>false</Optimize>\r
27     <DefineConstants>DEBUG;TRACE;@DEFINECONSTANTS@</DefineConstants>\r
28     <ErrorReport>prompt</ErrorReport>\r
29     <WarningLevel>4</WarningLevel>\r
30   </PropertyGroup>\r
31   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">\r
32     <DebugType>pdbonly</DebugType>\r
33     <NoWarn>@DISABLEDWARNINGS@</NoWarn>\r
34     <Optimize>true</Optimize>\r
35     <DefineConstants>@DEFINECONSTANTS@</DefineConstants>\r
36     <ErrorReport>prompt</ErrorReport>\r
37     <WarningLevel>4</WarningLevel>\r
38   </PropertyGroup>\r
39   <!-- Set AddAdditionalExplicitAssemblyReferences to false, otherwise if targetting .NET4.0, \r
40   Microsoft.NETFramework.props will force a dependency on the assembly System.Core. This\r
41   is a problem to compile the Mono mscorlib.dll -->\r
42   <PropertyGroup>\r
43     <AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>\r
44   </PropertyGroup>\r
45   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />\r
46   <ItemGroup>\r
47 @SOURCES@  </ItemGroup>\r
48   <!-- To modify your build process, add your task inside one of the targets below and uncomment it. \r
49        Other similar extension points exist, see Microsoft.Common.targets.\r
50   <Target Name="BeforeBuild">\r
51   </Target>\r
52   <Target Name="AfterBuild">\r
53   </Target>\r
54   -->\r
55   <PropertyGroup>\r
56 @PREBUILD@\r
57 @POSTBUILD@\r
58   </PropertyGroup>\r
59   <ItemGroup>\r
60 @REFERENCES@  </ItemGroup>\r
61   <ItemGroup>\r
62     <Folder Include="Properties\" />\r
63   </ItemGroup>\r
64 @RESOURCES@</Project>\r