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
Hot Topic (More than 8 Replies) VS2022 toolbars not configurable, project not loading (Read 2949 times)
g-tape
Junior Member
**
Offline


Posts: 14
Joined: Jul 21st, 2022
VS2022 toolbars not configurable, project not loading
Jul 22nd, 2022 at 6:56pm
Print Post  
Using VS2022 Pro, still having VMicro on MS (AS7...) working beautifully. On VS22, the toolbars don't show up unless "manual all" is selected, and even then the options for a certain toolbar will not show up.

"Open an Arduino project" appears to do nothing, nothing shows up in Solution Explorer. The "action center" icon on bottom left shows "project loaded successfully", however nothing shows up.

I am confused, since everything worked seamlessly in AS7. Bugs? Not a stable release? Anyone else encountering issues?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: VS2022 toolbars not configurable, project not loading
Reply #1 - Jul 22nd, 2022 at 8:00pm
Print Post  
The extension has been available in Visual Studio for a long time and is stable. I suggest we stick to this thread to understand what you have installed and what you are opening.

It's not clear if the extension is installed correctly. Please show the "Copy Info" in help about so that we can see what is installed.

"Tool bars manual" simply means you have manual control over the visibility of the entire tool bar.  Does not relate to indvidual items on tool bars. Project specific items do not appear if Visual Micro is either not configured/installed correctly or an Arduino project is not open.

I suggest we look first at what is installed.

  
Back to top
WWW  
IP Logged
 
g-tape
Junior Member
**
Offline


Posts: 14
Joined: Jul 21st, 2022
Re: VS2022 toolbars not configurable, project not loading
Reply #2 - Jul 22nd, 2022 at 9:13pm
Print Post  
About the toolbars: I understand the purpose of the "manual all" and "auto all".

I am definitely thinking something is not right, and I don't believe it's VMicro, as I have it installed and working in Microchip Studio, on the same PC. Here's the "copy info" content:

Microsoft Visual Studio Professional 2022 (3)
Version 17.2.6
VisualStudio.17.Release/17.2.6+32630.192
Microsoft .NET Framework
Version 4.8.04161

Installed Version: Professional

Visual C++ 2022   00476-80000-00000-AA576
Microsoft Visual C++ 2022

Arduino IDE for Visual Studio by Visual Micro   22.0
Visual Micro is an Arduino Compatible IDE for Visual Studio 2022. For more information and forum please visit www.visualmicro.com.

Azure App Service Tools v3.0.0   17.2.393.26812
Azure App Service Tools v3.0.0

C# Tools   4.2.0-4.22281.5+8d3180e5f00d42f0f0295165f756f368f0cbfa44
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Microsoft JVM Debugger   1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines

NuGet Package Manager   6.2.1
NuGet Package Manager in Visual Studio. For more information about NuGet, visit https://docs.nuget.org/

Visual Basic Tools   4.2.0-4.22281.5+8d3180e5f00d42f0f0295165f756f368f0cbfa44
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
« Last Edit: Jul 22nd, 2022 at 9:15pm by g-tape »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: VS2022 toolbars not configurable, project not loading
Reply #3 - Jul 22nd, 2022 at 11:16pm
Print Post  
Can you see an Extensions> vMicro menu. If so please give screen shot.

Thanks
  
Back to top
WWW  
IP Logged
 
g-tape
Junior Member
**
Offline


Posts: 14
Joined: Jul 21st, 2022
Re: VS2022 toolbars not configurable, project not loading
Reply #4 - Jul 26th, 2022 at 2:11pm
Print Post  
Hi Tim, I saw your post, I have the screenshot, just need to put it on the web somewhere so I can integrate it into the post.
  
Back to top
 
IP Logged
 
g-tape
Junior Member
**
Offline


Posts: 14
Joined: Jul 21st, 2022
Re: VS2022 toolbars not configurable, project not loading
Reply #5 - Jul 26th, 2022 at 2:42pm
Print Post  
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2145
Joined: Feb 13th, 2019
Re: VS2022 toolbars not configurable, project not loading
Reply #6 - Jul 26th, 2022 at 3:02pm
Print Post  
Thanks for the screenshot.

Can you also attach an image of the whole IDE with solution explorer open, and the project expanded?
  
Back to top
 
IP Logged
 
g-tape
Junior Member
**
Offline


Posts: 14
Joined: Jul 21st, 2022
Re: VS2022 toolbars not configurable, project not loading
Reply #7 - Jul 26th, 2022 at 4:14pm
Print Post  
Whole IDE below.

There's no VS project file, VMicro gives an error when "open a new Arduino project" (see second image).










  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2145
Joined: Feb 13th, 2019
Re: VS2022 toolbars not configurable, project not loading
Reply #8 - Jul 26th, 2022 at 4:53pm
Print Post  
Thanks for the images, it appears you are in Folder View from the Solution Explorer.

If you close the folder (File > Close Folder), then go to File > Open > Arduino Project, and locate your INO, does this then open the project correctly?
  
Back to top
 
IP Logged
 
g-tape
Junior Member
**
Offline


Posts: 14
Joined: Jul 21st, 2022
Re: VS2022 toolbars not configurable, project not loading
Reply #9 - Jul 26th, 2022 at 11:07pm
Print Post  
After loading the project I get a popup in the left bottom corner - see first image. The interface looks like in the second image after that.



  
Back to top
 
IP Logged
 
g-tape
Junior Member
**
Offline


Posts: 14
Joined: Jul 21st, 2022
Re: VS2022 toolbars not configurable, project not loading
Reply #10 - Jul 26th, 2022 at 11:28pm
Print Post  
Trying the suggestion found here:

https://www.visualmicro.com/forums/YaBB.pl?num=1467646643/1

I was counting on the fact that the C++ extension was automatically installed based on the thread below, however this is not the case. The C++ extension was not automatically installed.

https://www.visualmicro.com/forums/YaBB.pl?num=1615906409

I will post an update as soon as I can install the C++ extension and try again.
« Last Edit: Jul 26th, 2022 at 11:30pm by g-tape »  
Back to top
 
IP Logged
 
g-tape
Junior Member
**
Offline


Posts: 14
Joined: Jul 21st, 2022
Re: VS2022 toolbars not configurable, project not loading
Reply #11 - Jul 26th, 2022 at 11:35pm
Print Post  
...getting somewhere. I was only able to partially install the C++ option, due to some firewall issues (will complete it tomorrow). So far, I am seeing some updates, opening a .ino project works, however the cpp files are not in the project explorer yet.

I will keep you posted tomorrow, after I fully install the C++ option.

  
Back to top
 
IP Logged
 
g-tape
Junior Member
**
Offline


Posts: 14
Joined: Jul 21st, 2022
Re: VS2022 toolbars not configurable, project not loading
Reply #12 - Jul 27th, 2022 at 2:33pm
Print Post  
Thank you for the support, this investigation and your guidance helped to bring this to successful resolution.

Here's what I had to do to solve this:

- installed the Desktop Development with C++ (it was not automatically installed when I installed VMicro)
- opened the .ino project file normally, with VMicro - this is the only way I could get the toolbars to show up and stay there, not disappear within 1 second
- added all the project files (.cpp) to the project, in the Solution Explorer (since the project was first time opened in VS, and there was no .sln file)

That's it, hopefully someone will find this helpful.
Thank you again for your help, Tim!
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: VS2022 toolbars not configurable, project not loading
Reply #13 - Jul 27th, 2022 at 3:11pm
Print Post  
If you switch the "vMicro>Tool bar>Auto visibility" OFF then you have "normal" visual studio tool bar mode where you control visiblity by right clicking the tool strip area and hiding or showing bars. VS will remeber the selection.

You mentioned some firewall issues install the C++ for VS. It should auto install when you install the extension. VS should also recheck they are installed when you open/create a C++ or arduino project.  The installation is controlled by VS. We will retest thanks.

fyi: The docs are also here, first steps can be useful https://www.visualmicro.com/page/User-Guide.aspx?doc=index

Thanks for the update.
« Last Edit: Jul 27th, 2022 at 7:48pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
g-tape
Junior Member
**
Offline


Posts: 14
Joined: Jul 21st, 2022
Re: VS2022 toolbars not configurable, project not loading
Reply #14 - Jul 28th, 2022 at 2:58pm
Print Post  
Thank you for the Auto visibility tip. Regarding the install, I am not sure why that (C++) didn't get triggered. I had firewall issues installing VS Pro, C++, VMicro... Anyways, the firewall issues were on my side.

Just so you can have a more complete picture, here's my initial setup: Microchip Studio (basically AS7) with VMicro installed and running.
On top of that I installed Team Explorer 2022, then VS Pro 2022, then the VMicro extension for VS Pro 2022.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: VS2022 toolbars not configurable, project not loading
Reply #15 - Jul 28th, 2022 at 3:47pm
Print Post  
Which microcontrollers have you got?
  
Back to top
WWW  
IP Logged
 
g-tape
Junior Member
**
Offline


Posts: 14
Joined: Jul 21st, 2022
Re: VS2022 toolbars not configurable, project not loading
Reply #16 - Aug 2nd, 2022 at 12:54pm
Print Post  
Using ESP32 and Arduino Nano at this point.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: VS2022 toolbars not configurable, project not loading
Reply #17 - Aug 2nd, 2022 at 12:57pm
Print Post  
Ok, that should be working fine in Vs2022?
  
Back to top
WWW  
IP Logged
 
g-tape
Junior Member
**
Offline


Posts: 14
Joined: Jul 21st, 2022
Re: VS2022 toolbars not configurable, project not loading
Reply #18 - Aug 2nd, 2022 at 8:36pm
Print Post  
Yes, they have been working great so far!
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint