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