Nifty addin not working in Visual studio 2019

benny.deswert
Enthusiast
Enthusiast

Nifty addin not working in Visual studio 2019

benny.deswert
Enthusiast
Enthusiast

Hi all.

I made some add-ins over the years using the nifty-inventor template.

I recently had to upgrade to visual studio 2019 at work and I can't start any new add-ins.

Even without changing anything it wont work.

When running debug for the first time, I still get the notification that the add in is blocked and I need to activate in the add-in manager. But the add-in is never in the list.

I don't know enough about Visual studio to start looking for the problem. There are no errors.

Opening and building an existing add-in still works fine. But exporting one as a template and making a new project with it gives me the same problem. So I think it must be a project specific setting that changes when it's used as a template?

Or an Inventor problem that doesn't show the add-in preventing me to activate it?

Any ideas on how to start looking for the problem?

Thx

 

*EDIT* I installed visual studio 2017 to try it out, and everything works fine there. Even opening a project started in 2017, changing something in 2019 and rebuilding works. I really don't know where to start looking.

0 Likes
Reply
Accepted solutions (1)
506 Views
1 Reply
Reply (1)

benny.deswert
Enthusiast
Enthusiast
Accepted solution

Well, please kill me.

Apparently you can't use a space in the project name when you create it.

So basicly it was a fluke in 2017. And up to this point, I never made an add-in with a space.

I  hope this helps out someone else so you don't waste ceveral hours like I did.

0 Likes