473,666 Members | 2,058 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to debug assemblies in the GAC?

Hi gurus,
I usually debug .NET assemblies by pointing to the pdb folder in the VS.NET
solution properties and attaching to the process.However , this method does
not work for me for assemblies installed in the GAC because the timestamp of
those assemblies in the GAC is the time at which they were added to the GAC,
not the time at
which they were built. Consequently, the timestamp of the pbs and dlls don't
match and VS.NEt does not load the symbols while debugging.

So I have to manually copy over the dll using the command line (xcopy) to
the appropriate location in the GAC. This works, but it is too cumbersome
and not efficient.

Do you know of an easier way to debug assemblies in the GAC?

Thanks,
Prasanna


Jul 21 '05 #1
0 1028

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
3452
by: glaserp | last post by:
Hi, I am developing a Windows application with C# in Visual Stuio .NET. My application references three assemblies that are developed in another project. I have added these assemblies as references, so that when I compile the project, the dll files and corresponding pdb files are are automatically copied to the bin\debug directory of my application. When I look at the Modules window during debugging, it seems that the debug symbols for...
0
257
by: Prasanna Padmanabhan | last post by:
Hi gurus, I usually debug .NET assemblies by pointing to the pdb folder in the VS.NET solution properties and attaching to the process.However, this method does not work for me for assemblies installed in the GAC because the timestamp of those assemblies in the GAC is the time at which they were added to the GAC, not the time at which they were built. Consequently, the timestamp of the pbs and dlls don't match and VS.NEt does not load...
2
2049
by: Wayne Sepega | last post by:
We are currently setting up our environment to file reference any assemblies we plan on putting in the GAC. To prevent the developer from having to go get the newest copy of the file and register it in the GAC we are planning on having a common share where these files will live. So what we would like to accomplish is this: In Debug mode have the file reference there, with copy locally set to true, but in release mode have the copy local...
10
1799
by: Joe Befumo | last post by:
When I tried debugging for the first time, I pop-up asked me if I wanted to set the project to enable debugging. Now I'm ready to release and can't find anyplace to set the build to 'release'. A pointer would be appreciated. Thanks. Joe
2
1190
by: Martin Hart | last post by:
Hi: I have a project that references some in-house assemblies, and in the 'debug' configuration I use the debug versions of these assemblies, but when I switch to the 'release' configuration, I want the solution to use the 'release' versions of the referenced assemblies. How should I go about this? TIA,
3
4245
by: Bardo | last post by:
Hi all, We are trying to debug an assembly which was built in debug configuration on our build server. The output window of visual studio indicates that no symbols are being loaded for the assembly. However, when the PDB file is copied alongside the dll, the symbols load ok. We were a little confused, because we had already been debugging this assembly WITHOUT copying the pdb file. What I discovered was that when the assembly is built...
6
2377
by: =?Utf-8?B?SHVnaA==?= | last post by:
Hi there We are trying to build a C sharp solution in Visual Studio 2005 Professional. We have a number of other assemblies, that do not form part of the solution. Assemblies that do form part of the solution have been referenced using the Projects tab in the Add Reference dialog. Assemblies that do not form part of the solution have been added usingthe
1
1426
by: Jeff Dege | last post by:
When I am building a project in Visual Studio 2005, I can create references to assemblies that were built by other projects. The problem is that I don't see how to create a reference that switches between the debug and release builds of the other project, when I switch between the debug and release configurations of my parent project. That is, when I'm building, running, and of course debugging a project, I want to use the debug...
3
3374
by: =?Utf-8?B?bG10dGFn?= | last post by:
We have developed a number of different applications (ASP.NET web site, Windows services, DLLs, Windows forms, etc.) in C# 2.0. We have developed and unit tested all these applications/components using Debug mode. Now we are ready to compile everything for release to production. However, we don’t know whether we should compile all the applications/components/assemblies using Release mode (or keep everything in Debug mode). We’ve...
0
8356
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8781
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8639
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6198
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4198
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4368
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2771
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2011
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1775
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.