Debugging a Snap in VS2003 with framwork 2.0 installed

D

Driez

I recently installed .Net Framework 2.0 on my computer. I have
developed a snap in c# using a library from sourceforge
(http://sourceforge.net/projects/mmclibrary/) on Visual Studio 2003
When I run my MMC project in debug mode from Visual Studio 2003 the mmc
starts up but crahes immediately. An hourglass appears and then the MMC
crashes. I have set up my project settings to start the program mmc.exe
with a command line argument of MySnapIn.msc I took out the command
line argument so that only the MMC will start. When I run the project
the MMC will start and I have to load the registered Snap In. When I do
an Add/Remove Snapin the list starts to populate but then the MMC
crashes. I do a load of the file MySnapIn.msc and the mms crashes.

When I run MMC.exe from Start>Run in windows and do a Add/Remove snap
in everything is OK. Also double clicking on MySnapIn.msc is fine. It
seems only when I run the MMC from Visual Studio 2003 this error
occurs. I uninstalled .Net Framework 2.0 and all my errors went away. I
do need .Net Framework 2.0 but it seems I cannot debug my Snap in any
more. Any help to solve this would be appreciated
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top