Crash in Visual Studio 2010

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

Crash in Visual Studio 2010
Crash in Visual Studio 2010 
Velja Radenkovic




Posts: 39
Joined: 2010-12-23
At some point ADD In express started crashing after build action in visual studio with message "AddinExpress.Projects.Common.Registrator error: the wizard has fired an exception. ". Any help is welcome.




Detailed technical information follows: 
---
(Inner Exception)
Date and Time:         12/23/2010 12:14:33 PM
Machine Name:          VELJA-DESKTOP
IP Address:            188.2.33.123
Current User:          VELJA-DESKTOPelja

Application Domain:    DefaultDomain
Assembly Codebase:     file:///C:/Program Files/Add-in Express/Add-in Express for .NET/Bin/Packages/VS2005/AddinExpress.Wizard.dll
Assembly Full Name:    AddinExpress.Wizard, Version=6.2.3051.2005, Culture=neutral, PublicKeyToken=4416dd98f0861965
Assembly Version:      6.2.3051.2005

Exception Source:      mscorlib
Exception Type:        System.ArgumentException
Exception Message:     The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))
Exception Target Site: Object reference not set to an instance of an object.

---- Stack Trace ----



(Outer Exception)
Date and Time:         12/23/2010 12:14:33 PM
Machine Name:          VELJA-DESKTOP
IP Address:            188.2.33.123
Current User:          VELJA-DESKTOPelja

Application Domain:    DefaultDomain
Assembly Codebase:     file:///C:/Program Files/Add-in Express/Add-in Express for .NET/Bin/Packages/VS2005/AddinExpress.Wizard.dll
Assembly Full Name:    AddinExpress.Wizard, Version=6.2.3051.2005, Culture=neutral, PublicKeyToken=4416dd98f0861965
Assembly Version:      6.2.3051.2005

Exception Source:      AddinExpress.Wizard
Exception Type:        System.Exception
Exception Message:     The 'RegisterAssembly' function failed.
Exception Target Site: DoAfterBuild

---- Stack Trace ----
   AddinExpress.Projects.Common.Registrator.DoAfterBuild(scope As vsBuildScope, action As vsBuildAction)
       AddinExpress.Wizard.dll: N 0431 (0x1AF) IL 


Posted 23 Dec, 2010 05:31:58 Top
Eugene Astafiev


Guest


Hi Velja,

What OS and Visual Studio version do you use? Please note that you can install a fresh build of http://www.add-in-express.com/downloads/adxnet.php.

Are you able to reproduce the issue with a newly created add-in project?
Posted 23 Dec, 2010 05:40:39 Top
Velja Radenkovic




Posts: 39
Joined: 2010-12-23
Hello,

What actions 'RegisterAssembly' function performs after build? It also fails when I try to build setup project I created from add in project using context menu item.
I will check with fresh install and new project as soon as I can. For this moment I have to aid this somehow and build my project.

Thanks,
Velja
Posted 23 Dec, 2010 05:52:46 Top
Velja Radenkovic




Posts: 39
Joined: 2010-12-23
OS is windows XP 32 bit
Visual studio 2010

New project works fine. I added all references to new project and it still works. Maybe the fastest would be to recreate project?
Posted 23 Dec, 2010 06:16:15 Top
Eugene Astafiev


Guest


Hi Velja,

It performs the http://msdn.microsoft.com/en-us/library/aa671654%28v=vs.71%29.aspx procedure. Could you please answer my questions first?
Posted 23 Dec, 2010 06:21:04 Top
Velja Radenkovic




Posts: 39
Joined: 2010-12-23
I answered above. Sorry for confusion.
Posted 23 Dec, 2010 06:51:42 Top
Eugene Astafiev


Guest


Hi Velja,

Do you have any applied code in the add-in module ctor? Do you use any mixed mode libraries (for example, the http://www.add-in-express.com/products/mapi-store-events.php component)?
Posted 23 Dec, 2010 07:08:54 Top
Velja Radenkovic




Posts: 39
Joined: 2010-12-23
Recreating project from scratch worked. It compiled and installs well in Outlook.


Other info that may help:

I removed all code from Constructor and it is still crashing.

I am not aware of mixed mode libraries. I use Interop assembly I created from Redemption and Interop assembly I created from another x64 COM. They seem to work well now.

If you need any other info please ask. I will try to follow the thread for a while.
Posted 23 Dec, 2010 07:34:29 Top
Eugene Astafiev


Guest


Hi Velja,

May I ask you to remark (comment) all the code in the add-in module ctor including the InitializeComponent sub? Does it help?
Posted 23 Dec, 2010 07:46:37 Top
Velja Radenkovic




Posts: 39
Joined: 2010-12-23
Hello. I already did that and posted above.

I found that changing platform to x64 causes this crash. On "all platforms" it compiles fine and on x64 it is causing crash.

I don't need x64 since it starts by default as x64 on x64 platform.
Posted 23 Dec, 2010 07:50:36 Top