开发者

After migrating a website from vs2005 to vs2010 we get a build error - ASPPARSE: Object reference not set to an instance of an object.?

开发者 https://www.devze.com 2023-01-21 16:44 出处:网络
We have a VS2005 solution including two websites. We converted the solution to VS2010 and changed all settings in IIS and in the config file to use .NET framework 4.0.

We have a VS2005 solution including two websites.

We converted the solution to VS2010 and changed all settings in IIS and in the config file to use .NET framework 4.0.

We removed the old assembly references in web.config file and added references to the new versions of the assemblies and here the problem comes: when we add a refererence to System.Design assembly in the web.config file the website does not build. The build via msbuild.exe results in the following error:

ASPNETCOMPILER : error ASPPARSE: Object reference not set to an instance of an object. [d:\DevSites\SolutionFolder\WebSite.metapro开发者_如何学Goj]

Does anyone have any suggestions why this happens? Thanks.


We've solved it - after the removal of the browser definition file the problem disappeared

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号