This project is read-only.

Compiling error when upragde to VS2010

May 26, 2011 at 5:48 PM

I got the following compiling error when I uprgade to VS2010. Any idea?

c:\Dev\Kigg3.0\Source\Web\Views\Membership\Detail.aspx(21): error CS0433: The type 'System.Web.Routing.RouteValueDictionary' exists in both 'c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Web.dll' and 'c:\Windows\assembly\GAC_MSIL\System.Web.Routing\\System.Web.Routing.dll'



May 26, 2011 at 6:31 PM

Found the answer myself. Need to add

The following line to the kigg.web project.


   <AspNetCompiler VirtualPath="temp" PhysicalPath="$(ProjectDir)\..\Web" ToolPath="C:\Windows\Microsoft.NET\Framework\v2.0.50727" />