MS Project Addin - x64
-
Wednesday, May 23, 2012 1:26 PM
Hi all,
I have created MSProject addin. I have used "Setup" project to create installer for Addin.
My installer is working fine on x86 machine (32 Bit).
I want to use this addin on x64 enviornment also.
For that I have change Platform targeted to x64 in Addin Project as well as in Setup project.
For troubleshooting I have referred article : http://support.microsoft.com/kb/95693
Note: I have unchecked checkbox "Register for COM interop" while building project.
I have used article : http://blogs.msdn.com/b/vsto/archive/2010/04/09/deploying-com-add-ins-for-64-bit-office-using-visual-studio-saaid-khan-for-nathan-halstead.aspx for build configuration.
Problem: I am not able to see Add in "Com-Add Ins", When I am adding that addin using "ADD" button on "Com-Add Ins" dialog. I am getting is not valid project addin. I am not getting any error message while loading.
Could anyone tells us whats the problem ?
Thanks for help.
All Replies
-
Thursday, May 24, 2012 4:50 AMModerator
Hi Banng,
Thanks for posting in the MSDN Forum.
I would recommend you confirm two things:
- Whether Office is 64-bit?
- Whether platform is 64-bit?
There are several combinations, different combination need different solution.
Have a good day,
Tom
Tom Xu [MSFT]
MSDN Community Support | Feedback to us
-
Thursday, May 24, 2012 5:52 AM
Hi Tom_Xu MSFT,
Thanks for the reply.
1. I am using MSproject-2007 (sp2) 32-bit.
2. Machine i m using is Windows server 2008 - 64 bit.
Could you please tell me how to go about this ?
Thanks again!
- Edited by Banng Thursday, May 24, 2012 5:56 AM
-
Thursday, May 24, 2012 2:00 PMHi Tom_Xu,
I am able to resolve the issue.
Only problem currently I am facing is, I am getting pop up as
“Publisher cannot be verified” are you sure, You want to install customization.
This is while loading addin.
How can I resolve this ?
Thanks -
Thursday, May 24, 2012 2:18 PMtry %programfiles% as described here http://social.msdn.microsoft.com/Forums/en/vsto/thread/0d3ab2da-779e-4735-afd0-0f4a784c60a4
-
Tuesday, May 29, 2012 9:40 AM
Hi Tom_Xu MSFT,
I have tried various permuation and combination to get it work.
But is there any standard way to for Addin
1. MSproject-2007 (sp2) 32-bit.
2. 64-bit machine
What all I know is to make all project in solution specifically "64" bit.
also make set up project TargetPlatform as "X64".
Please let me know next steps.
Thanks!
-
Tuesday, May 29, 2012 9:46 AM
no, your add-in code should be anycpu and your installer target platform should match your office bitness (x86 here). To avoid publisher not verified window on first start after installation you can either make your plugin compile against .net 4.0 and install it into %programfiles% or you can add custom action to installer to add entry to inclusion list for vsto- Marked As Answer by Tom_Xu_WXModerator Tuesday, June 05, 2012 7:28 AM

