Skip to content

Commit

Permalink
Fixed compilation issue with MVC 3 caused by a Windows Update changin…
Browse files Browse the repository at this point in the history
…g the availability of the reference assemblies. Upgraded to MVC 3.0.0.1, which is available via NuGet.
  • Loading branch information
NightOwl888 committed Nov 2, 2014
1 parent 1b55e0e commit 84f43d2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,17 @@
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants Condition=" '$(DefineConstants)' == '' ">MVC5;NET45</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
<DefineConstants>MVC4;NET40</DefineConstants>
<DefineConstants Condition=" '$(DefineConstants)' == '' ">MVC3;NET40;</DefineConstants>
<DefineConstants>MVC4;NET40;</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants Condition=" '$(DefineConstants)' == '' ">MVC4</DefineConstants>
<DefineConstants Condition=" '$(DefineConstants)' == '' ">MVC4;NET40;</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
Expand All @@ -49,7 +49,10 @@
<Reference Include="System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
</ItemGroup>
<ItemGroup Condition=" $(DefineConstants.Contains('MVC3')) ">
<Reference Include="System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
<Reference Include="System.Web.Mvc, Version=3.0.0.1, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<Private>True</Private>
<HintPath>..\packages\Microsoft.AspNet.Mvc.3.0.20105.1\lib\net40\System.Web.Mvc.dll</HintPath>
</Reference>
<Reference Include="System.Web.Razor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<Private>True</Private>
<HintPath>..\packages\Microsoft.AspNet.Razor.1.0.20105.408\lib\net40\System.Web.Razor.dll</HintPath>
Expand Down
3 changes: 2 additions & 1 deletion src/MvcSiteMapProvider/MvcSiteMapProvider/packages.config
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Microsoft.AspNet.Mvc" version="3.0.20105.1" targetFramework="net40" requireReinstallation="True" />
<package id="Microsoft.AspNet.Mvc" version="4.0.20710.0" targetFramework="net40" requireReinstallation="True" />
<package id="Microsoft.AspNet.Mvc" version="5.0.0" targetFramework="net45" requireReinstallation="True" />
<package id="Microsoft.AspNet.Razor" version="1.0.20105.408" targetFramework="net35" requireReinstallation="True" />
Expand All @@ -8,5 +9,5 @@
<package id="Microsoft.AspNet.WebPages" version="1.0.20105.408" targetFramework="net35" requireReinstallation="True" />
<package id="Microsoft.AspNet.WebPages" version="2.0.20710.0" targetFramework="net40" requireReinstallation="True" />
<package id="Microsoft.AspNet.WebPages" version="3.0.0" targetFramework="net45" requireReinstallation="True" />
<package id="Microsoft.Web.Infrastructure" version="1.0.0.0" targetFramework="net40" />
<package id="Microsoft.Web.Infrastructure" version="1.0.0.0" targetFramework="net40" requireReinstallation="True" />
</packages>

0 comments on commit 84f43d2

Please sign in to comment.