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 Portable Arduino Wizard fails to start (Read 296 times)
Steven Bennett
Junior Member
**
Offline


Posts: 38
Location: High Bentham
Joined: Nov 2nd, 2022
Portable Arduino Wizard fails to start
Jun 18th, 2025 at 10:41am
Print Post  
Tried to open the Portable Arduino Wizard and just got the following error message, any suggestions please:

Toolchain reload complete
Error during processing of the command. Please review or post the stack trace in the www.visualmicro.com forumObject variable or With block variable not set. (Visual.Micro.Visual.Studio.Arduino.Helper.SolutionNewPortableSolution)
System.NullReferenceException: Object variable or With block variable not set.
   at Microsoft.VisualBasic.CompilerServices.Symbols.Container..ctor(Object Instance)
   at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateCall(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack, Boolean IgnoreReturn)
   at Visual.Micro.Visual.Studio.Arduino.AddInApp.ExecCmd(String commandName)
« Last Edit: Jun 18th, 2025 at 10:41am by Steven Bennett »  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2722
Joined: Feb 13th, 2019
Re: Portable Arduino Wizard fails to start
Reply #1 - Jun 18th, 2025 at 10:42am
Print Post  
Thanks for the report.

Can you confirm if you are using VS2017 / VS2019/  VS2022?

Also have you configured an IDE previously on the IDE Locations screen?
  
Back to top
IP Logged
 
Steven Bennett
Junior Member
**
Offline


Posts: 38
Location: High Bentham
Joined: Nov 2nd, 2022
Re: Portable Arduino Wizard fails to start
Reply #2 - Jun 18th, 2025 at 11:24am
Print Post  
VS2022 with the latest updates.  I don't understand your second question but I have been using VM on VS with ESP32 et cetera without problems if that answers it?
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2722
Joined: Feb 13th, 2019
Re: Portable Arduino Wizard fails to start
Reply #3 - Jun 18th, 2025 at 11:34am
Print Post  
Thanks for confirming, can you attach the information as a text file from Visual Studio > Help > About Visual Studio?
  
Back to top
IP Logged
 
Steven Bennett
Junior Member
**
Offline


Posts: 38
Location: High Bentham
Joined: Nov 2nd, 2022
Re: Portable Arduino Wizard fails to start
Reply #4 - Jun 18th, 2025 at 11:40am
Print Post  
Microsoft Visual Studio Community 2022 (2)
Version 17.13.6
VisualStudio.17.Release/17.13.6+35931.197
Microsoft .NET Framework
Version 4.8.09032

Installed Version: Community

Visual C++ 2022   00482-90000-00000-AA857
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.

ASP.NET and Web Tools   17.13.124.35287
ASP.NET and Web Tools

Azure App Service Tools v3.0.0   17.13.124.35287
Azure App Service Tools v3.0.0

C# Tools   4.13.0-3.25167.3+73eff2b5de2ad38ec602c0a9e82f9125fb85992b
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

GitHub Copilot   17.13.444.19527
GitHub Copilot is an AI pair programmer that helps you write code faster and with less work.

Linux Core Dump Debugging   1.0.9.35825
Enables debugging of Linux core dumps.

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

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

TypeScript Tools   17.0.31211.2001
TypeScript Tools for Microsoft Visual Studio

Visual Basic Tools   4.13.0-3.25167.3+73eff2b5de2ad38ec602c0a9e82f9125fb85992b
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Visual C++ for Linux Development   1.0.9.35825
Visual C++ for Linux Development

Visual Studio IntelliCode   2.2
AI-assisted development for Visual Studio.

Visual Studio Spell Check Everywhere   VSSpellCheckEverywhere
An extension that enables spell checking within any Visual Studio file editor or tool window that uses WPF text boxes.
https://GitHub.com/EWSoftware/VSSpellChecker

Visual Studio Spell Checker   VSSpellChecker
An editor extension that checks the spelling of comments, strings, and plain text as you type or interactively with tool windows.
https://GitHub.com/EWSoftware/VSSpellChecker
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2722
Joined: Feb 13th, 2019
Re: Portable Arduino Wizard fails to start
Reply #5 - Jun 23rd, 2025 at 12:06pm
Print Post  
Thanks for all the help diagnosing and testing this issue.

The root cause was the duplicate package in the https://drazzy.com/package_drazzy.com_index.json index, however further stability has also been added along this journey, as well as improved error logging to the output window.

The latest release (25.0606.04) available from the top of the board below resolves this (which you already have installed):
https://www.visualmicro.com/forums/YaBB.pl?board=VS_ARDUINO_EXT_RELEASES
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint