Red Gate forums :: View topic - Unrecognized attribute 'targetFramework'.
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
Exception Hunter 2
Exception Hunter 2 forum

Unrecognized attribute 'targetFramework'.

Search in Exception Hunter 2 forum
Post new topic   Reply to topic
Jump to:  
Author Message
carl.schutte



Joined: 16 May 2011
Posts: 2
Location: Sydney

PostPosted: Mon May 16, 2011 12:04 pm    Post subject: Unrecognized attribute 'targetFramework'. Reply with quote

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
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6669

PostPosted: Mon May 16, 2011 2:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
carl.schutte



Joined: 16 May 2011
Posts: 2
Location: Sydney

PostPosted: Tue May 17, 2011 12:27 am    Post subject: Re: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic 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