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

build , asp.net , config Plovdiv, Bulgaria
  • 8 years ago

    Hi,

    We have a vs2005 solution including 2 websites. We converted the solution to vs2010 and changed all settings in IIS and in the config file to use framework 4.0. We removed the old assembly references in webconfig 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 webconfig 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.metaproj]

    Does anyone have any suggestions why this happens ?

    Thanks

  • 8 years ago

    Well, we've solved it - after the removal of the browser definition file the problem disappeared :)

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“A computer lets you make more mistakes faster than any other invention in human history, with the possible exceptions of handguns and tequila” - Mitch Ratcliffe