Red Gate forums :: View topic - asp.net projects
Return to www.red-gate.com RSS Feed Available

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

asp.net projects

Search in Exception Hunter 1 forum
Post new topic   Reply to topic
Jump to:  
Author Message
mulmad



Joined: 03 Nov 2005
Posts: 55

PostPosted: Fri Jan 11, 2008 10:22 pm    Post subject: asp.net projects Reply with quote

how does exception hunter fit into an asp.net project (vs2005 project with no single assembly)?
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6581

PostPosted: Mon Jan 14, 2008 10:22 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
mulmad



Joined: 03 Nov 2005
Posts: 55

PostPosted: Sat Jan 19, 2008 2:16 pm    Post subject: Reply with quote

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



Joined: 23 Aug 2004
Posts: 6581

PostPosted: Mon Jan 21, 2008 11:41 am    Post subject: Reply with quote

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.
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