vc2k8_csproj.tpl 3.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  3. <PropertyGroup>
  4. <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
  5. <Platform Condition=" '$(Platform)' == '' ">Win32</Platform>
  6. <ProductVersion>9.0.30729</ProductVersion>
  7. <SchemaVersion>2.0</SchemaVersion>
  8. <ProjectGuid>{$GUID}</ProjectGuid>
  9. <OutputType>{if $projSubSystem eq 1}Exe{elseif $projSubSystem eq 2}WinExe{else}Library{/if}</OutputType>
  10. <AppDesignerFolder>Properties</AppDesignerFolder>
  11. <RootNamespace>{$projName}</RootNamespace>
  12. <AssemblyName>{$projName}</AssemblyName>
  13. <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
  14. <FileAlignment>512</FileAlignment>
  15. </PropertyGroup>
  16. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|Win32' ">
  17. <DebugSymbols>true</DebugSymbols>
  18. <DebugType>full</DebugType>
  19. <Optimize>false</Optimize>
  20. <OutputPath>..\..\..\game\</OutputPath>
  21. <DefineConstants>DEBUG;TRACE</DefineConstants>
  22. <ErrorReport>prompt</ErrorReport>
  23. <WarningLevel>4</WarningLevel>
  24. <PlatformTarget>x86</PlatformTarget>
  25. <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  26. </PropertyGroup>
  27. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Optimized Debug|Win32' ">
  28. <DebugSymbols>true</DebugSymbols>
  29. <DebugType>full</DebugType>
  30. <Optimize>true</Optimize>
  31. <OutputPath>..\..\..\game\</OutputPath>
  32. <DefineConstants>DEBUG;TRACE</DefineConstants>
  33. <ErrorReport>prompt</ErrorReport>
  34. <WarningLevel>4</WarningLevel>
  35. <PlatformTarget>x86</PlatformTarget>
  36. <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  37. </PropertyGroup>
  38. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|Win32' ">
  39. <DebugType>pdbonly</DebugType>
  40. <Optimize>true</Optimize>
  41. <OutputPath>..\..\..\game\</OutputPath>
  42. <DefineConstants>TRACE</DefineConstants>
  43. <ErrorReport>prompt</ErrorReport>
  44. <WarningLevel>4</WarningLevel>
  45. <PlatformTarget>x86</PlatformTarget>
  46. <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  47. </PropertyGroup>
  48. <ItemGroup>
  49. <Reference Include="System" />
  50. <Reference Include="System.Core">
  51. <RequiredTargetFramework>3.5</RequiredTargetFramework>
  52. </Reference>
  53. <Reference Include="System.Xml.Linq">
  54. <RequiredTargetFramework>3.5</RequiredTargetFramework>
  55. </Reference>
  56. <Reference Include="System.Data.DataSetExtensions">
  57. <RequiredTargetFramework>3.5</RequiredTargetFramework>
  58. </Reference>
  59. <Reference Include="System.Data" />
  60. <Reference Include="System.Xml" />
  61. {foreach item=version key=ref from=$projSettings->references}
  62. {if ($version)}
  63. <Reference Include="{$ref}">
  64. <RequiredTargetFramework>{$version}</RequiredTargetFramework>
  65. </Reference>
  66. {else}
  67. <Reference Include="{$ref}" />
  68. {/if}
  69. {/foreach}
  70. </ItemGroup>
  71. <ItemGroup>
  72. {assign var="dirWalk" value=$fileArray}
  73. {include file="vc2k8_fileRecurseCSharp.tpl" dirWalk=$dirWalk depth=2 dirPath=$projOutput->base_dir}
  74. </ItemGroup>
  75. <ItemGroup>
  76. {foreach item=dep from=$projDepend}
  77. <ProjectReference Include="{$projectDepends[$dep]->name}.csproj">
  78. <Project>{$projectDepends[$dep]->guid}</Project>
  79. <Name>{$projectDepends[$dep]->name}</Name>
  80. </ProjectReference>
  81. {/foreach}
  82. </ItemGroup>
  83. <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  84. <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
  85. Other similar extension points exist, see Microsoft.Common.targets.
  86. <Target Name="BeforeBuild">
  87. </Target>
  88. <Target Name="AfterBuild">
  89. </Target>
  90. -->
  91. </Project>