現在、いくつかのクラスプロジェクトと2つのWebサイトを含むVisualStudio2005でプロジェクトに取り組む必要のあるクライアントがいます。VS 2012 RCをインストールした後、asp.netプロジェクト、既存または新しく作成されたデフォルトのWebサイトテンプレートで次のエラーが発生します。影響を受けたのはVS2005のみで、2010は引き続き正しく機能します。
VS 2012をアンインストールし、アンインストールしてから次のものを再インストールしましたが、役に立ちませんでした:.NET 2.0 Framework、VS 2005
Server Error in '/WebSite1' Application.
--------------------------------------------------------------------------------
Common Language Runtime detected an invalid program.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.InvalidProgramException: Common Language Runtime detected an invalid program.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[InvalidProgramException: Common Language Runtime detected an invalid program.]
System.ServiceModel.HostingManager..ctor() +0
System.ServiceModel.ServiceHostingEnvironment.EnsureInitialized() +236
System.ServiceModel.ServiceHostingEnvironment.OnEnsureInitialized(Object state) +4
System.ServiceModel.PartialTrustHelpers.PartialTrustInvoke(ContextCallback callback, Object state) +52
System.ServiceModel.ServiceHostingEnvironment.SafeEnsureInitialized() +73
System.ServiceModel.Activation.HttpModule.ProcessRequest(Object sender, EventArgs e) +220
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +68
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +348
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.5466; ASP.NET Version:2.0.50727.5459