debugging shared add-in
-
Monday, March 14, 2011 11:11 AM
Hi,
I have developed a shared add-in in Visual Studio 2010. Previously the project is targeted for .Net Framework 4.0. After a while, the debugging is not working. I found that this will be fixed by installing the add-in using Setup project provided by Visual Studio.
Now, I have changed the target framework of my shared add-in's project to .Net Framework 2.0. Again, the debugging is not working. I installed the shared add-in many times and verified the registry keys and it is found that everything is fine. But the debugging is not working.
After a while, I have changed the target .Net Framework to 4.0 and now debugging is working fine now.
I want to know that, is there any issue with .Net Framework 2.0 in debugging the code of a shared add-in?
Thanks in advance,
Surya.
All Replies
-
Tuesday, March 15, 2011 7:08 AMModerator
If you have installed SP1 to VS 2010, yes, there is an issue that I have reported to Microsoft Connect and it is currently under investigation:
VS 2010 SP1 breaks add-in debugging targetting .NET Framework 2.0 rather than .NET Framework
https://connect.microsoft.com/VisualStudio/feedback/details/650694/vs-2010-sp1-breaks-add-in-debugging-targetting-net-framework-2-0-rather-than-net-framework-4-0#details
MZ-Tools: Productivity add-ins for Visual Studio: http://www.mztools.com. My blog about developing add-ins: http://msmvps.com/blogs/carlosq/- Proposed As Answer by Carlos J. QuinteroMVP, Moderator Tuesday, March 15, 2011 7:08 AM
- Edited by Carlos J. QuinteroMVP, Moderator Tuesday, March 15, 2011 7:09 AM fix
-
Tuesday, March 15, 2011 7:21 AM
Hi Carlos,
Thanks for your answer.
SP1 is not installed to VS 2010 on my computer. But still the debugging is not working for target framework 2.0.
Thanks,
Surya
-
Wednesday, March 16, 2011 5:25 AM
Hi Surya,
Thanks for your post.
As far as I know, shared addin is not used in Visual Studio,
which program do you expect to develop the addin for?
If it is excel or something, I suggest to post another thread at the matched forum as
http://social.msdn.microsoft.com/Forums/en-US/exceldev/threads
Hope you can get more information there.
Ziwei Chen [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.

-
Wednesday, March 16, 2011 9:51 AM
Hi Victor_Chen,
I am developing the add-in for Word application. I need a common add-in that runs both on Word 2003 and Word 2007.
As the Shared add-in type of project is under "Extensibility" template of Visual Studio 2010, I have posted here.
Thanks,
Surya
-
Wednesday, March 16, 2011 6:56 PMModerator
Hello,
Even if the problem is not caused by SP1 of Visual Studio (then it is a different cause with the same effect), can you try the trick explained here:
http://blog.tabsstudio.com/2011/03/16/debugging-add-ins-for-tabs-studio-in-vs-2010-sp1/
MZ-Tools: Productivity add-ins for Visual Studio: http://www.mztools.com. My blog about developing add-ins: http://msmvps.com/blogs/carlosq/- Marked As Answer by Victor_Chen Tuesday, March 22, 2011 9:50 AM

