XLL Add-in C++ can't be created

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

XLL Add-in C++ can't be created
 
John Miller




Posts: 3
Joined: 2019-07-03
Hello,

This is my second full day with Add-in Express. I'm already impressed!

On day one I loaded Microsoft Office Home and Business 2019, Visual Studio 2019 and Add-in Express on a brand new Windows 10 computer.

I'm unable to create a new ADX XLL Add-in in C++. Although, I am able to build ADX XLL Add-ins in both BASIC and C#.

I get the following message when trying to create a C++ version:

Add-in Express for Microsoft Office and .NET
The project can't be created. Make sure you have .NET desktop development package installed in Visual Studio.

Am I missing a .NET development component that's specific to C++ or something else?

Thanks,
Posted 03 Jul, 2019 15:22:04 Top
Andrei Smolin


Add-in Express team


Posts: 18830
Joined: 2006-05-11
Hello John,

You should update your Visual Studio installation to add required components.


Andrei Smolin
Add-in Express Team Leader
Posted 04 Jul, 2019 09:06:57 Top
John Miller




Posts: 3
Joined: 2019-07-03
Thank you Andrei,

I've taken the following steps with unsuccessful results.

I modified my Visual Studio 2019 installation by checking all workgroups and checking all individual components. I ran the VS installation. I attempted to create an ADX XLL Add-in in C++, and received the same error message.

I removed my Visual Studio 2019 installation. I then reinstalled Visual Studio 2019 with all workgroups and all individual components (1,116 packages). I deleted the 'Add-in Express' folder from 'Program Files' and reinstalled 'Add-in Express'. I verified that I could still create XLLs in BASIC and C#. I attempted to create an ADX XLL Add-in in C++, and received the same error message.

What should I try next?

Thank you,
Posted 05 Jul, 2019 17:07:04 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi John,

Thank you for the bug report. We will fix it as soon as possible.
Please keep in mind, Add-in Express based managed C++ projects support '/clr:safe' projects only. Also, you will not able to support both x86 and x64 platforms in one project.
Posted 08 Jul, 2019 05:10:05 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi John,

I have just sent you the fix by email. Please check your inbox.
Posted 08 Jul, 2019 08:02:08 Top
John Miller




Posts: 3
Joined: 2019-07-03
Hello Sergey,

Thank you, the error message no longer appears.

And thanks to you and Andrei for your quick response to my issue.

John Miller
Posted 08 Jul, 2019 11:19:04 Top
Penn Ye




Posts: 18
Joined: 2016-06-05
I'm facing the same issue, please help me out with c++ project.
Posted 14 Nov, 2019 02:08:32 Top
Andrei Smolin


Add-in Express team


Posts: 18830
Joined: 2006-05-11
Hello Penn,

Could you please describe the issue so that we could understand the degree of "sameness"?


Andrei Smolin
Add-in Express Team Leader
Posted 14 Nov, 2019 02:21:54 Top
Penn Ye




Posts: 18
Joined: 2016-06-05
The project can't be created. Make sure you have .NET desktop development package installed in Visual Studio.

This message displayed when I try to create C++ addin in Visual Studio 2019.

I have already checked C++ Desktop Development when i installed VS 2019.

Screenshot is here:
https://imgur.com/a/lbvPJey

----
After installing VS 2017, it works now.
Maybe a bug in VS 2019?
Posted 14 Nov, 2019 21:48:07 Top
Andrei Smolin


Add-in Express team


Posts: 18830
Joined: 2006-05-11
Hello Penn,

As far as I understand there's a fix or workaround. Alas, due to an organizational issue I'll be able to provide any details on Monday only. I'm really sorry for the delay.


Andrei Smolin
Add-in Express Team Leader
Posted 15 Nov, 2019 08:45:01 Top