Removed "ToolsVersion" from VS2005 C# projects, for compatibility with *Develops

This commit is contained in:
starkos 2009-01-06 22:46:31 +00:00
parent 6d6dbaf4ea
commit a62f6735ee
2 changed files with 6 additions and 1 deletions

View File

@ -20,6 +20,7 @@ RC1 -> RC2
- Enable Windows linking to shared libraries even with NoImportLib
flag set (just in case)
- Fixed handling of paths in links
- Added "ToolsVersion" attribute to VS2005 and VS2008 C# projects
-----

View File

@ -6,7 +6,7 @@
local vsversion, toolversion
if _ACTION == "vs2005" then
vsversion = "8.0.50727"
toolversion = "2.0"
toolversion = nil
elseif _ACTION == "vs2008" then
vsversion = "9.0.50727"
toolversion = "3.5"
@ -70,7 +70,11 @@
-- end of preprocessing; template starts here --
%>
<% if toolversion then %>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="<%= toolversion %>">
<% else %>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<% end %>
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' "><%= premake.esc(this.solution.configurations[1]) %></Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>