Merge pull request #358 from adbre/iss3333
[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>{155AEF28-C81F-405D-9072-9D52780E3E70}</ProjectGuid>\r
9     <OutputType>Library</OutputType>\r
10     <NoWarn>@DISABLEDWARNINGS@</NoWarn>\r
11     <OutputPath>@OUTPUTDIR@</OutputPath>\r
12     @NOSTDLIB@\r
13     @ALLOWUNSAFE@\r
14     <AppDesignerFolder>Properties</AppDesignerFolder>\r
15     <RootNamespace></RootNamespace>\r
16     <AssemblyName>@ASSEMBLYNAME@</AssemblyName>\r
17     <TargetFrameworkVersion>v@FX_VERSION</TargetFrameworkVersion>\r
18     <FileAlignment>512</FileAlignment>\r
19     <!-- Filter out System.Core added by: Microsoft.NETFramework.props  -->\r
20     <AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>\r
21   </PropertyGroup>\r
22   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">\r
23     <PlatformTarget>AnyCPU</PlatformTarget>\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     @ADDITIONALLIBPATHS@\r
32   </PropertyGroup>\r
33   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">\r
34     <PlatformTarget>AnyCPU</PlatformTarget>  \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     @ADDITIONALLIBPATHS@\r
42   </PropertyGroup>\r
43   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />\r
44   <ItemGroup>\r
45 @SOURCES@\r
46   </ItemGroup>\r
47   <!-- To modify your build process, add your task inside one of the targets below and uncomment it. \r
48        Other similar extension points exist, see Microsoft.Common.targets.\r
49   <Target Name="BeforeBuild">\r
50   </Target>\r
51   <Target Name="AfterBuild">\r
52   </Target>\r
53   -->\r
54   <PropertyGroup>\r
55     <PreBuildEvent>@PREBUILD@</PreBuildEvent>\r
56   </PropertyGroup>\r
57   <ItemGroup>\r
58 @REFERENCES@\r
59   </ItemGroup>\r
60   <ItemGroup>\r
61     <Folder Include="Properties\" />\r
62   </ItemGroup>\r
63   @RESOURCES@\r
64 </Project>\r