Permalink
Browse files

Updated SimplestWeb to use VSTooslPath logic for targets resolution.

  • Loading branch information...
ianbattersby committed Aug 25, 2012
1 parent fedcfd0 commit 2d1d85792206e5bb6d801eb143a9ca036fa3c9a0
Showing with 5 additions and 1 deletion.
  1. +5 −1 SimplestWeb/SimplestWeb.csproj
@@ -95,8 +95,12 @@
<Name>Simple.Web</Name>
</ProjectReference>
</ItemGroup>
+ <PropertyGroup>
+ <VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
+ <VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
+ </PropertyGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
- <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" />
+ <Import Project="$(VSToolsPath)\WebApplications\Microsoft.WebApplication.targets" Condition="'$(VSToolsPath)' != ''" />
<ProjectExtensions>
<VisualStudio>
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">

0 comments on commit 2d1d857

Please sign in to comment.