Permalink
Browse files

Switched MVC2 reference to a NuGet managed reference

  • Loading branch information...
1 parent 35eb50b commit 3f4fbed4712d1b8db0ca86875d5981f00a6e2f3e @nikmd23 nikmd23 committed Sep 26, 2012
Showing with 12 additions and 1 deletion.
  1. +8 −1 source/Glimpse.Mvc2/Glimpse.Mvc2.csproj
  2. +4 −0 source/Glimpse.Mvc2/packages.config
View
9 source/Glimpse.Mvc2/Glimpse.Mvc2.csproj
@@ -12,6 +12,8 @@
<AssemblyName>Glimpse.Mvc2</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
+ <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
+ <RestorePackages>true</RestorePackages>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@@ -33,7 +35,10 @@
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
- <Reference Include="System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
+ <Reference Include="System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
+ <Private>True</Private>
+ <HintPath>..\..\packages\Mvc2.2.0.0\lib\net35\System.Web.Mvc.dll</HintPath>
+ </Reference>
<Reference Include="System.Web.Routing" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
@@ -63,11 +68,13 @@
<None Include="NuSpec\Glimpse.Mvc2.nuspec">
<SubType>Designer</SubType>
</None>
+ <None Include="packages.config" />
</ItemGroup>
<ItemGroup>
<Folder Include="NuSpec\lib\net35\" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+ <Import Project="$(SolutionDir)\.nuget\nuget.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
View
4 source/Glimpse.Mvc2/packages.config
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<packages>
+ <package id="Mvc2" version="2.0.0" targetFramework="net35" />
+</packages>

0 comments on commit 3f4fbed

Please sign in to comment.