|
Marco Trachsler
Posts: 18
Joined: 2011-12-20
|
Hello
If have been switched from VS 2010 Professional to VS 2013 Professional. In VS 2013 I have two issues, they I have not in VS 2010. I'm using the newest version of Add-in Express (7.4.4067).
1. If an exception occurs in an office application VS 2013 does not break, if I use VS 2010 and the exception occurs it breaks.
2. If I make changes in the code and I run an office application from VS 2013 the new code is not used, I must always unregister and register the add-in and then the new code is used. But in VS 2010 I have never must unregister and register the add-in if I have made changes on the code it always have used the right code.
What can I do that this things works in VS 2013?
Best Regards
Marco Trachsler |
|
Posted 15 Jan, 2014 04:47:25
|
|
Top
|
|
Andrei Smolin
Add-in Express team
Posts: 18816
Joined: 2006-05-11
|
Hello Marco,
Have you modified the project properties? Say, have you switched to using .NET 2.0-3.5?
Did you install VS 2013 on the same machine? Or you have (had) VS 2010 and VS 2013 on different machines?
Have you ever installed your add-in using an installer? If so, please uninstall it, then unregister the project, and register the project anew.
Andrei Smolin
Add-in Express Team Leader |
|
Posted 15 Jan, 2014 06:34:22
|
|
Top
|
|
nwein
Posts: 577
Joined: 2011-03-28
|
Just throwing an idea out there for question 1 - could it be that your exceptions settings are different in 2010 vs 2013? i.e. if you go to Debug > Exceptions menu could it be that you have set all exceptions to throw in VS2010 and in 2013 they are only if user-unhandled? |
|
Posted 15 Jan, 2014 11:46:40
|
|
Top
|
|
Marco Trachsler
Posts: 18
Joined: 2011-12-20
|
@nwein: Thankt you for your answer, it works now :)
@Andrei: No I haven't modified the project properties (I still using .NET 3.5).
Yes VS 2010 and VS 2013 are on the same machine installed.
Yes I have my add-in installed with an installer but for a long time ago (before I installed VS 2013) and I have also deinstalled the add-in with the installer. I have unregister and register the project but it works not. |
|
Posted 16 Jan, 2014 01:51:14
|
|
Top
|
|
Andrei Smolin
Add-in Express team
Posts: 18816
Joined: 2006-05-11
|
Thank you, Nir!
Hi Marco,
Mmm, does it work or not?
Andrei Smolin
Add-in Express Team Leader |
|
Posted 16 Jan, 2014 04:01:36
|
|
Top
|
|
Marco Trachsler
Posts: 18
Joined: 2011-12-20
|
Question 1: works now.
Question 2: works not. |
|
Posted 16 Jan, 2014 04:11:54
|
|
Top
|
|
Andrei Smolin
Add-in Express team
Posts: 18816
Joined: 2006-05-11
|
Hi Marco,
What sort of changes don't work for you? If you add showing a message box to the AddinInitialize event of the add-in module, rebuild your add-in and start the host application, will the message box show up? does the same occur for a newly created add-in project? What is the host application and its version?
Please confirm that you open the same project in VS2010 and 2013, not a copy of the project files.
Andrei Smolin
Add-in Express Team Leader |
|
Posted 16 Jan, 2014 08:10:16
|
|
Top
|
|
Marco Trachsler
Posts: 18
Joined: 2011-12-20
|
Hello Andrei,
Every sort of changes in the code don't work.
Yes the message box shows up on start of the add-in, if I make it so.
In newly created add-in project with VS 2013 everything works right.
The host application is an office application (such as Word 2013 64 bit).
Yes, I open the same project in VS 2010 and VS 2013, it's not a copy.
Best Regards
Marco Trachsler |
|
Posted 17 Jan, 2014 00:29:03
|
|
Top
|
|
Andrei Smolin
Add-in Express team
Posts: 18816
Joined: 2006-05-11
|
Hi Marco,
I would like to access your PC remotely. Is this possible? If yes, I suggest using TeamViewer; in this case you'll need to send me your session ID and password. You can find the support email address in {Add-in Express installation folder}\readme.txt. Please make sure your email contains a link to this topic.
I'll be able to access your PC within the next 2 hours.
Andrei Smolin
Add-in Express Team Leader |
|
Posted 17 Jan, 2014 06:51:28
|
|
Top
|
|