diff options
Diffstat (limited to 'tools/DotNetOpenAuth.Product.props')
-rw-r--r-- | tools/DotNetOpenAuth.Product.props | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/tools/DotNetOpenAuth.Product.props b/tools/DotNetOpenAuth.Product.props index 0f9cd14..90ece0c 100644 --- a/tools/DotNetOpenAuth.Product.props +++ b/tools/DotNetOpenAuth.Product.props @@ -136,17 +136,15 @@ http://opensource.org/licenses/ms-pl.html <Reference Include="System.ComponentModel.DataAnnotations"> <RequiredTargetFramework>3.5</RequiredTargetFramework> </Reference> + <!-- Since MVC 2 and higher apps tend to use type forwarding, + it's a more broadly consumable idea to bind against MVC 1 for the library --> + <Reference Include="System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> </ItemGroup> <ItemGroup Condition=" '$(ClrVersion)' == '4' "> - <Reference Include="System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> <Reference Include="System.Xaml" /> </ItemGroup> <ItemGroup Condition=" '$(ClrVersion)' != '4' "> - <!-- MVC 2 can run on CLR 2 (it doesn't require CLR 4) but since MVC 2 apps tend to use type forwarding, - it's a more broadly consumable idea to bind against MVC 1 for the library unless we're building on CLR 4, - which will definitely have MVC 2 available. --> - <Reference Include="System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> <Reference Include="System.Web.Mobile" /> <Reference Include="PresentationFramework"> <!-- For XamlReader, but we use System.Xaml.dll in .NET 4.0 --> |