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 RELEASE: Visual Micro 2.0 for Visual Studio VS2017/VS2019/2022 (Read 545 times)
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2127
Joined: Feb 13th, 2019
RELEASE: Visual Micro 2.0 for Visual Studio VS2017/VS2019/2022
Nov 25th, 2022 at 3:10pm
Print Post  
NOTE - Visial Micro 2.0 is a free and compatible update for existing Visual Studio 2017 / 2019 or 2022 licences. In short, re-activation is not required as a result of installing Visual Micro 2.0

First install of Visual Micro 2.0 will add as much of the Microsoft Linux workload as it needs and no more. Microsoft are improving the installer all the time, if intellisense fails, please use "Tools>Get Tools" to complete installation of the linux workload. Visual Studio 2022 is prefered because the installer is more reliable and faster.

To install, download and then right click Open With > Visual Studio Version Selector.

Download the Visual Micro 2.0 extension for Visual Studio 2022 (.vsix)
Download the Visual Micro 2.0 extension for Visual Studio 2017/2019 (.vsix)

Release Notes;

This update will replace an existing Visual Micro installation. Uninstalling and reinstalling older releases is fully supported. Either version of Visual Micro can be installed.

Older Visual Micro projects will continue to work in the new version, but will not benefit from the new intellisense system. Projects created in the new version will not work in the old version. Existing Visual Micro users will not notice any changes in 2.0 unless the new project type is used.
This update will replace an existing Visual Micro installation. Uninstalling and reinstalling older releases is fully supported. Either version of Visual Micro can be installed.

Visual Micro 2.0 is a compatible update for all current users of Visual Micro. It shares the same license and does not prevent return to older versions of Visual Micro (except for the format of new .vcxproj files created with 2.0). The only difference will come when opening new projects, in this case the Microsoft Visual Studio Linux Workload is used for the new project (.vcxproj), instead ot the standard Microsoft VC++ Workload. This change relates entirely to intellisense, the build process is unaffected. Existing projects will continue to use the VC++ intellisense system. We will release an optional "auto convert" to update the .vcxproj file of existing older projects.

Finalised Release
  • Intellisense: Major improvements for new Linux projects resolving a wide range of intellisense issues for all boards
  • File>New/Open Arduino project now use the newer Microsoft Linux project type instead of the older VC++ project type. This means that only te smaller Linux C++ workfload is required to be installed. The C++ desktop workload is no longer required except for use with older projects.
  • Serial Monitor: Improved for high volumes of data to prevent freezing/crashing.
  • Serial Monitor: Button Highlights fixed to work accross all Windows Versions/VS Themes
  • Board Manager: Fix ensuring all dependant monitors and discoverers are installed as needed (e.g. Teensy Board Manager Package)
  • Board Manager: Teensy Package now available at the top of the Auto-Discovery List
  • Teensy: Fix ensuring ports are discovered and Serial Monitor works when using Board Manager Package
  • Open Arduino Project: Fix ensuring all files are rediscovered correctly when using File > Open > Arduino Project (or vMicro > Open Existing Arduino Project)
  • Fix: Opening and closing a project without making changes caused save dialog to appear
  • Changing board options has immediate affect on intellisense.
  • Intellisense uses the actual code. In Visual Micro 1x releases the intellisense was not fully GCC compatible. For some boards, this provided a less than ideal experiene. Please let us know if you 
    intellisense in Visual Micro 2.0 to be less than excellent!
  • Using a new intelligent intellisense engine,  previously "Unknown to Visual Micro" architecures are now fully supported. Previous to the 2.0 release, support for some less well known (or very new) architecures was weak.
  • Platform specific plugins, such as for Teensy, have been implemented. This means that packages, such as Arduino 2.0 and Teensy for Arduino 2.0, can provide architecure specific menu suggestions for users of Visual Micro. An example being the different security and debugger options for Teensy 2x, 3x and 4x. This combined with support for "extended board properties" provides a simplerwayt to access some of the more advanced features of Teensy.
  • Serial debugger in tutorial mode: Default breakpoint example trace message changed from 1hz to 4hz.
  • First Use After Installation: Defaults to "Arduino 2" IDE (If using Arduino 1.x the location can still be filled in on the IDE Locations screen)
  • Teensy: Fix to use correct GDB and Security tools across all Teensy Installations (Hardware Folder or Board Manager Package)


Visual Micro can be uninstalled or reinstalled using "Extensions>Extension Manager". Installing Visual Micro 2.0 does not prevent roll back to earlier versions.
« Last Edit: Dec 8th, 2022 at 6:01pm by Tim@Visual Micro »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12070
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Finalised Release: Visual Micro 2.0 for Visual Studio VS2017/VS2019/2022
Reply #1 - Nov 27th, 2022 at 4:03am
Print Post  
OLDER V2.0 HISTORY

  • Fix: When opening projects for the first time the source files were not automatically added to the project. In that case, users had to click "Show all files" and then right click "Include" files or folders. Hw to include existing files is a useful system to know but that should not be required when opening existing Arduino code!!
  • Intellisense: Set the standard cpp and c language based on the currently hardware.


RC2
  • Resolves intellisense error for boards that use empty compiler variables (such as Teensy)
    File>New/Open Arduino project now use the newer Microsoft Linux project type instead of the older VC++ project type. This means that only te smaller Linux C++ workfload is required to be installed.
  • The C++ desktop workload is no longer required except for use with older projects.
  • Double click serial monitor to resume scrolling.



RC1
  • Visual Micro 2.0 is fully compatible with the existing 1x version of Visual Micro.
  • The 2.0 release contains significant improvements to intellisense. When creating new projects (.vcxproj), the Mrosoft Linux workload is used instead of the Microsoft VC++ (desktop c++) workload.
  • We will provide a converter for older project formats but they are still fully supported. If you would like to try the new project type then remove the .vcxproj from the project folder and then use "File>Open>Arduino Project" which will create a new project for you.
  • If Visual Studio has been installed without any workloads, Visual Studio will prompt to install the Linux workload. In some IDE's there is still need to complete Linux workload installation the first time a Visual Micro project is opened. If VS does not prompt to install a workload and intellisense is not working. Use "Tools>Get Tools" to install the remainder of the Linux workload.
  • Visual Micro 2.0 applies the real underlying sources to intellisense, the Microsoft Linux workload is  used because it understands the unerlying Gcc language.
  • When working in the new project format, Visual Micro queries the compiler of the selected board so that intellisense has a complete picture of all underlying toolchain and platform sources.


NOTE - Visial Micro 2.0 is a free and compatible update for existing Visual Studio 2017 / 2019 or 2022 licences. In short, re-activation is not required as a result of installing Visual Micro 2.0

This update will replace an existing Visual Micro installation. Uninstalling and reinstalling older releases is fully supported. Either version of Visual Micro can be installed.

Older Visual Micro projects will continue to work in the new version, but will not benefit from the new intellisense system. Projects created in the new version will not work in the old version. Existing Visual Micro users will not notice any changes in 2.0 unless the new project type is used.

It is a relatively simple job to manually convert an existing project to the new format. Raise a forum thread if you need to do this prior to the release of an auto-converter. In most cases the project file does not contain any useful information other than selected board and debugger.
« Last Edit: Nov 27th, 2022 at 4:12am by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint