Search This Blog

Friday, February 26, 2010

Fixing a reverted Visual Studio 2010 Beta 2 from Visual Studio 2010 RC

As mentioned in the previous post: “Issues when developing with Visual Studio 2010 RC and SharePoint 2010 Beta 2” the process was not as smooth nor as polished as it was expected.

While the uninstall and re-installation process was easy enough, there were some items left behind. After spending a considerable amount of time and though thinking what the issue at hand could be the solution ended up being answered with the following questions:

  • What was the version of the Framework that was removed?

  • Where was that Framework installed to?

That said, the numbers of the RC version are: 4.0.30128 and they were installed to \Windows\Microsoft.Net\Framework64\. It would not hurt to check the other folder to ensure that everything is back to normal ( \Windows\Microsoft.Net\Framework\ ).

The solution is

  • Navigate to \Windows\\Framework64\ folder
  • Check if there is a folder prefixed “v4.0.” asides from “v4.0.21006
  • Prefix any folders that begin with “v4.0” with “Old” , in this example it was : “Oldv4.0.30128

Once this is accomplished, the errors disappeared immediately even while the Visual Studio 2010 Beta 2 instance was still open.

Hope this helps others as much as it did help me getting back into developing with Visual Studio 2010 Beta 2, not to mention avoiding the rebuild of the entire Virtual machine.

No comments:

Post a Comment