vs 2012 .NET 4.0 Debuggin issue

Add-in Express™ Support Service
That's what is more important than anything else

vs 2012 .NET 4.0 Debuggin issue
 
wehbi




Posts: 76
Joined: 2013-10-31
Hi all,

this must be the thousandth post about this issue, sorry!
I searched, but there is no solution that suits for me.
I simply want use .Net 4.0 in my Add-In Express project. When I change my target framework to 4.0 debugging is not working, so I tried to change the host configuration to v4.0.30319 now Outlook does not start anymore, its stucking at the loading screen.
If I use .Net 3.5 and set the host configuration to v2.0.50727 everything works fine.

What can I do to make my project run on .Net 4.0 with enabled debugging.

Thanks for your help and cheers,
wehbi
Posted 31 Oct, 2013 07:43:17 Top
Andrei Smolin


Add-in Express team


Posts: 18821
Joined: 2006-05-11
Hello Wehbi,

Try re-registering your project. If this doesn't help, disable all Outlook add-ins. To do this, set LoadBehavior=0 in {HKLM and HKCU}\Software\Microsoft\Office\Outlook\Addins\{an add-in}.


Andrei Smolin
Add-in Express Team Leader
Posted 31 Oct, 2013 08:16:50 Top
wehbi




Posts: 76
Joined: 2013-10-31
Hi Andrei,

after deactivating all add-ins it finally works.
Why does this happen?

Anyway, thank you very much!
wehbi
Posted 31 Oct, 2013 08:53:45 Top
Andrei Smolin


Add-in Express team


Posts: 18821
Joined: 2006-05-11
Wehbi,

If a .NET version is specified in a .config file of an Office application, all add-ins of this Office application use this .NET version. I suppose some add-in(s) can't work with .NET 4.


Andrei Smolin
Add-in Express Team Leader
Posted 31 Oct, 2013 09:08:52 Top