Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Creating or opening project not working after install (Read 1988 times)
mat89
Newbies
*
Offline


Posts: 3
Joined: Mar 16th, 2021
Creating or opening project not working after install
Mar 16th, 2021 at 7:05pm
Print Post  
Hi together

I just installed Visual Studio 2019 and VisualMicro.
I also linked the Arduino IDE to the VisualMicro extension and can see boards from the Arduino IDE, so far so good.

Then I tried to open an existing Arduino project, but it never opens. In the left bottom corner I see there are running background tasks after opening an existing project, but the background tasks never ends and the sketch never opens.


I then closed Visual Studio an started it again. Then I tried to create a new Arduino project, but again, there is a background task running all the time and nothing else happens.


Versions:
Arduino IDE 1.8.5
Visual Studio: 2019 16.9.2
Windows: Windows 10 Pro (10.0.19041)

And idea what I could try? I already reinstalled Visual Studio a few times. 

Thanks in advance
« Last Edit: Mar 16th, 2021 at 7:11pm by mat89 »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Creating or opening project not working after install
Reply #1 - Mar 16th, 2021 at 9:14pm
Print Post  
Try running a visual studio repair. Does that help?
  
Back to top
WWW  
IP Logged
 
mat89
Newbies
*
Offline


Posts: 3
Joined: Mar 16th, 2021
Re: Creating or opening project not working after install
Reply #2 - Mar 17th, 2021 at 5:53pm
Print Post  
Hello

I now tried to repair the installation - still the same issue.
I also reinstalled visual studio multiple times...
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Creating or opening project not working after install
Reply #3 - Mar 17th, 2021 at 5:57pm
Print Post  
Thanks, the visual micro install will not affect this. The issue is visual studio attempting to open a c++ project. An arduino project is just a c++ project.

Can you try creating a new c++ project? Does that work okay?

Please also send the diagnostics output from help>about. It is possible that another extension is affecting vs.

Thanks
  
Back to top
WWW  
IP Logged
 
mat89
Newbies
*
Offline


Posts: 3
Joined: Mar 16th, 2021
Re: Creating or opening project not working after install
Reply #4 - Mar 17th, 2021 at 9:38pm
Print Post  
Hi Tim

Thanks for the hint.
I followed the installation procedure on your website 'https://www.visualmicro.com/forums/YaBB.pl?num=1615906409' I now also got the information that the workload 'Desktop Development with C++' is necessary. Unfortunately, this workload didn't got installed automatically for me so that was the issue.

Now I installed this workload and it look like it is working as expected.
I will give it a try in the next days.

Thanks and have a great day!
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Creating or opening project not working after install
Reply #5 - Mar 17th, 2021 at 9:41pm
Print Post  
Oh well done. We have seen two instances where the c++ workflow was not automatically installed. It seems to be a bug that has crept into the VS2019 installer.

We will report it to Microsoft and maybe add a big note to the web site for others.

Thanks for the post.
  
Back to top
WWW  
IP Logged
 
smh
Newbies
*
Offline


Posts: 1
Joined: May 17th, 2021
Re: Creating or opening project not working after install
Reply #6 - May 17th, 2021 at 4:10pm
Print Post  
I just had the same issue. My existing install of VS 2019 was only being used for python. When I added Visual Micro and tried to create a project, it did not do it (all it created was the folder). Only by chance did I find this thread. There was "no big note on the web site". I had to use the normal VS "create new project"--"Arduino Empty Project" and it popped up with the "Workloads" screen to install C++.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint