| Author |
Message |
carl.schutte
Joined: 16 May 2011 Posts: 2 Location: Sydney
|
Posted: Mon May 16, 2011 12:04 pm Post subject: Unrecognized attribute 'targetFramework'. |
|
|
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() |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6344 Location: Red Gate Software
|
Posted: Mon May 16, 2011 2:44 pm Post subject: |
|
|
I think this is just the lack of support for Microsoft .NET version 4 in Exception Hunter. targetFramework was an assembly-level attribute added to v4 to allow it to run multiple versions of the Framework.
The next version of Exception Hunter will be able to process .NET 4 assemblies. _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
carl.schutte
Joined: 16 May 2011 Posts: 2 Location: Sydney
|
Posted: Tue May 17, 2011 12:27 am Post subject: Re: |
|
|
Thanks Brian - I wasn't aware that .NET 4 is not currently supported.
I'll try to downgrade to .NET 3.5 in the interim and see if I can get it working.
| Brian Donahue wrote: |
I think this is just the lack of support for Microsoft .NET version 4 in Exception Hunter. targetFramework was an assembly-level attribute added to v4 to allow it to run multiple versions of the Framework.
The next version of Exception Hunter will be able to process .NET 4 assemblies. |
|
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group