Unrecognized attribute 'targetFramework'.
carl.schutte
Posts: 3
Does anybody know how I fox this error?
An exception was encountered while trying to load the assembly C:\Users\Carlschutte\Documents\Visual Studio 2010\Projects\ManagementInformationReporting\ManagementInformationReporting\Default.aspx.
RedGate.Exceptions.AssemblyNotLoadedException
at RedGate.ExceptionHunter.Logic.CecilSPI.DotNetAssembly.a(Exception )
at RedGate.ExceptionHunter.Logic.CecilSPI.DotNetAssembly.a(Boolean )
at RedGate.ExceptionHunter.Logic.CecilSPI.DotNetAssembly.a(String )
at RedGate.ExceptionHunter.Logic.CecilSPI.DotNetAssembly..ctor(IExceptionHunterSession session, String fullPathname)
at y.GetPE(String fullPathname)
at v.AddSessionAssembliesAndReferences(IEnumerable`1 filenames)
at RedGate.ExceptionHunter.UI.MainForm.<>c__DisplayClass21.<AddAssemblies>b__1d()
Caused by:
Compilation of ASP.NET pages did not succeed: Utility to precompile an ASP.NET applicationCopyright (C) Microsoft Corporation. All rights reserved.C:\Users\Carlschutte\Documents\Visual Studio 2010\Projects\ManagementInformationReporting\ManagementInformationReporting\web.config(26): error ASPCONFIG: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.
RedGate.Exceptions.AssemblyNotLoadedException
at G.FullNameForAssembly(String filename)
at cB.a(String , Boolean )
at bz.LoadAssemblyFromFile(String filename)
at bs.e.PerformTask()
at bs.a()
An exception was encountered while trying to load the assembly C:\Users\Carlschutte\Documents\Visual Studio 2010\Projects\ManagementInformationReporting\ManagementInformationReporting\Default.aspx.
RedGate.Exceptions.AssemblyNotLoadedException
at RedGate.ExceptionHunter.Logic.CecilSPI.DotNetAssembly.a(Exception )
at RedGate.ExceptionHunter.Logic.CecilSPI.DotNetAssembly.a(Boolean )
at RedGate.ExceptionHunter.Logic.CecilSPI.DotNetAssembly.a(String )
at RedGate.ExceptionHunter.Logic.CecilSPI.DotNetAssembly..ctor(IExceptionHunterSession session, String fullPathname)
at y.GetPE(String fullPathname)
at v.AddSessionAssembliesAndReferences(IEnumerable`1 filenames)
at RedGate.ExceptionHunter.UI.MainForm.<>c__DisplayClass21.<AddAssemblies>b__1d()
Caused by:
Compilation of ASP.NET pages did not succeed: Utility to precompile an ASP.NET applicationCopyright (C) Microsoft Corporation. All rights reserved.C:\Users\Carlschutte\Documents\Visual Studio 2010\Projects\ManagementInformationReporting\ManagementInformationReporting\web.config(26): error ASPCONFIG: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.
RedGate.Exceptions.AssemblyNotLoadedException
at G.FullNameForAssembly(String filename)
at cB.a(String , Boolean )
at bz.LoadAssemblyFromFile(String filename)
at bs.e.PerformTask()
at bs.a()
Comments
The next version of Exception Hunter will be able to process .NET 4 assemblies.
I'll try to downgrade to .NET 3.5 in the interim and see if I can get it working.