asp.net projects

Analyzes .NET assemblies for types of exceptions

Moderators: Brian Donahue, Charles Brown, Alex.Davies, AndrewH

asp.net projects

Postby mulmad » Fri Jan 11, 2008 10:22 pm

how does exception hunter fit into an asp.net project (vs2005 project with no single assembly)?
mulmad
 
Posts: 55
Joined: Thu Nov 03, 2005 2:27 pm

Postby Brian Donahue » Mon Jan 14, 2008 10:22 am

Hi,

That's a good question. You can pre-compile the assembly using the aspnet_compiler that comes with the .NET Framework. There is more information about this in the Knowledge Base.
Brian Donahue
 
Posts: 6668
Joined: Mon Aug 23, 2004 10:48 am

Postby mulmad » Sat Jan 19, 2008 2:16 pm

I'm having trouble accessing the methods of my asp.net 2 project assembly via exception hunter:

To get the single assemply I do the following:

1)
"C:\\WINDOWS\\Microsoft.NET\\Framework\\v2.0.50727\\aspnet_compiler.exe" -f -fixednames -u -d -p "C:\\VS2005\\Projects\\WebSite" -v / "C:\\complied"

2)
C:\\Program Files\\MSBuild\\Microsoft\\WebDeployment\\v8.0\\aspnet_merge.exe "C:\\complied" -o WebSite.dll-debug

I can browse WebSite.dll-debug in exception hunter but I'm not getting anything at the "methods level"?

Do I need to compile/merge the project differently? Or something else?

NB for the merging the followling is needed:
Visual Studio 2005 Web Deployment Projects
http://msdn2.microsoft.com/en-us/asp.net/aa336619.aspx
mulmad
 
Posts: 55
Joined: Thu Nov 03, 2005 2:27 pm

Postby Brian Donahue » Mon Jan 21, 2008 11:41 am

Hi,

That looks like a show-stopper for you, so I've logged a bug with reference number CE-191. I don't know why this happens with aspnet_merge'd assemblies, as ILMerge seems to work.

In the meantime, I'd have to say that you can only work around this by examining the assemblies before you merge them together.
Brian Donahue
 
Posts: 6668
Joined: Mon Aug 23, 2004 10:48 am


Return to Exception Hunter 1

Who is online

Users browsing this forum: No registered users and 0 guests