I have Microsoft Visual Studio 2010 Professional installed and have been using it for over a year.
Recently I download & attempted to install the nopCommerce example application. This installed the Microsoft Web Platform Installer, IIS 7.0 Extensions, Microsoft Visual Studio 2010 Express, Microsoft SQL Server 2008 R2 & Microsoft WebMatrix and possibly others which I do remember.
I then had problems in VS with Master Pages & Web Forms Using Master Pages in all existing ASP.Net Web Applications & new ASP.Net Web Applications which gave the following error on line 1 of the .aspx files:
Site.Master:ASP.NET runtime error: Could not load file or assembly 'Microsoft.WebPages.Configuration, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
I reinstalled/reapplied VS Service Pack 1 but this did not solve the problem.
As I was not able to resolve the above problem I followed the following steps:
I uninstalled VS in Control Panel following steps I found on the Microsoft website. However, when I clicked on Change/Remove for Microsoft.NET Framework 4 Client Profile & Microsoft.NET 4 Extended to remove them they both gave this error message:
Setup encountered an unexpected error in the package contents. The package will not be installed. Please contact your vendor for a new package.
I installed both of them again and tried to remove them both but still got this error. I finished the rest of the uninstall for VS
I then reinstalled VS & ran all of the updates. I also installed .NET Framework 4 Platform Update 1 (KB2478063) and .NET Framework 4.0.2 I have gone through this whole process twice.
Now in VS when I Ctrl-F5 for my SiteMaster I get this error message:
Could not load file or assembly System.EnterpriseServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
The result of all of the above is that I am no longer able to use VS. So far I have not had any replies on the forums which have been able to help me solve the problem. Is there any way I can get Microsoft or MSDN involved in helping me solve the problem, either by Email or on the internet?
Thanks, Alan