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