vs 2003 c# addin - debug problem after install vs 2005 beta 2

G

Guest

hi all,

i created a com addin for word / excel / powerpoint using c# and vs2003. -
now i had to install vs 2005 beta2. - there are only one problem:

i cannot debug my addin any more.

when starting word (from vs 2003) i get this error:

attachting to process "" not possible.

(i translated the error message from german.) the quotation marks are
empty!

other applications (e.g. web applications) i can debug!

any ideas?

thank you!

ingo
 
A

Alex

you can fix it by telling word etc to use the previous version of the
.NET CLR:


Create winword.exe.config in the same folder as the executable and put
this in it:
<configuration>
<startup>
<requiredRuntime version="v1.1.4322" safemode="false" />
</startup>
</configuration>

Same thing goes for powerpoint etc.

That seems like a dangerous practice.

What happens if two MS-Word add-ins want to use different runtime versions?


Best wishes,
Alex.
 

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