minor refactor for solution files names generation
[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></RootNamespace>\r
17     <AssemblyName>@ASSEMBLYNAME@</AssemblyName>\r
18     <TargetFrameworkVersion>v@FX_VERSION</TargetFrameworkVersion>\r
19     <FileAlignment>512</FileAlignment>\r
20   </PropertyGroup>\r
21   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">\r
22     <DebugSymbols>true</DebugSymbols>\r
23     <DebugType>full</DebugType>\r
24     <NoWarn>@DISABLEDWARNINGS@</NoWarn>\r
25     <Optimize>false</Optimize>\r
26     <DefineConstants>DEBUG;TRACE;@DEFINECONSTANTS@</DefineConstants>\r
27     <ErrorReport>prompt</ErrorReport>\r
28     <WarningLevel>4</WarningLevel>\r
29     @ADDITIONALLIBPATHS@\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     @ADDITIONALLIBPATHS@\r
39   </PropertyGroup>\r
40   <!-- Set AddAdditionalExplicitAssemblyReferences to false, otherwise if targetting .NET4.0, \r
41   Microsoft.NETFramework.props will force a dependency on the assembly System.Core. This\r
42   is a problem to compile the Mono mscorlib.dll -->\r
43   <PropertyGroup>\r
44     <AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>\r
45   </PropertyGroup>\r
46   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />\r
47   <ItemGroup>\r
48     @SOURCES@\r
49   </ItemGroup>\r
50   <!-- To modify your build process, add your task inside one of the targets below and uncomment it. \r
51        Other similar extension points exist, see Microsoft.Common.targets.\r
52   <Target Name="BeforeBuild">\r
53   </Target>\r
54   <Target Name="AfterBuild">\r
55   </Target>\r
56   -->\r
57   <PropertyGroup>\r
58     <PreBuildEvent>@PREBUILD@</PreBuildEvent>\r
59     <PostBuildEvent>@POSTBUILD@</PostBuildEvent>\r
60   </PropertyGroup>\r
61   <ItemGroup>\r
62     @REFERENCES@\r
63   </ItemGroup>\r
64   <ItemGroup>\r
65     <Folder Include="Properties\" />\r
66   </ItemGroup>\r
67   @RESOURCES@\r
68 </Project>\r