VS 2010 Beta 2, cannot add a link to System.Web.Routing from the class library

I have a class library project focused on the .NET Framework 4.0.

I want to have special ASP.NET MVC extensions here that I can use in other projects by simply adding a link to the class library.

I have some routing extension methods for localizing in URLs, so I need to add a reference to the System.Web.Routing assembly.

In Visual Studio 2010 beta 2, this makes adding a reference to v4.0 of this assembly empty. I tried to copy 3.5 from the frameworks folder, but that doesn't matter.

Any ideas?

+3
source share
1 answer

A workaround for this.

System.Web.

+3

Source: https://habr.com/ru/post/1720756/


All Articles