builds ok, won't run:Visual Studio cannot debug ... .dll is not an

G

Guest

hi,

i'm having problems running something in vs.net

(it builds ok with no errors or warnings)

scenario:

- c# dll class library is used to log events to perf mon/counters
- interop is used by vb6/com+ to call the dll
- winform test harness with simple buttons to call methods on dll
- the dll works fine on a production box and has done for ages

the company that developed this has left and now i get to look after it :]

when i loaded it, it asked me if i wanted to upgrade from 1.0 -> 1.1 to which
i said 'yes'

it builds ok (the two projects are side by side in one solution)

however, when you hit f5 to debug/run, you get the following cryptic message

"visual studio cannot debug because the debug target
'E:\blah\blah\perfmon.dll' is not an EXE file"

well that's got to be one of the more annoying messages i've ever seen
"a dll is not an EXE"? really!!??

still, this doesn't help me get the thing running

i've looked in google groups but to no avail

can anyone help with this?

thanks
ag
 
G

Guest

don't know what was causing the problem but this fixed it

- deleted all files relating to both projects
- made sure there was no gac reference
- went through registry and deleted any references to the dll
- ran reg clean
- urinated outside microsoft campus
- got code from vss
- loaded and ran
- works

yay for me
 
L

Landi

- urinated outside microsoft campus
Damn that's some good morning laugh but not the best thing to say if you
ever want to be an MVP.

Landi
 

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