Simon@Visual Micro wrote on Jan 2
nd, 2024 at 5:16pm:
I have installed the newest version (2024_0102_2200) and am sorry to report that the problem
has not yet been resolved. Immediately upon opening an existing project I see the following output:
*Linux/FolderOnly intelli - System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.ThrowHelper.ThrowKeyNotFoundException()
at Visual.Micro.Utils.CompilerStringReplacer.replaceFromMapping(String src, Dictionary`2 map, String leftDelimiter, String rightDelimiter, Boolean doubleEscape, Boolean useShortPaths)
at Visual.Micro.Utils.CompilerStringReplacer.formatAndSplit(String src, Dictionary`2 dict, Boolean recursive, Boolean bDoubleQuotedArgs, Boolean clearUnused, Boolean shortPaths, Boolean escapeStrings)
at Visual.Micro.Utils.MCUPreferencesMap.getMergeAndEmpty(String pName)
at Visual.Micro.MiroAppAPI.SketchCompilerArduino.getCommandFromRecipe(String recipe, String avrBasePath, List`1 includePaths, String sourceName, MCUPreferencesMap properties)
at tForIntellisense(FileInfo codeFile, MCUPreferencesMap boardPreferences, List`1 includePaths, List`1 extraCmdParams, SketchBuilder lsketch)
at llisense(SketchBuilder lsketch, Board brd, String srcFilename)
at Visual.Micro.Visual.Studio.Arduino.AddInApp._RefreshIntellisenseOfSketch(Object oProject, SketchBuilder sk)
Although the startup message above refers to "Linux/FolderOnly," this is an ordinary Arduino project that was created by VisualMicro.
Attempts to build the solution result in the same errors previously reported. I have attached the verbose build output from this most recent attempt.
I noticed a previous suggestion (in another thread) to try switching to "Visual Micro - No IDE" I can report that when I attempt this, Visual Studio prompts me with a "Connect to Linux" box that says "This project uses remote builds, and a remote machine is required to host the builds and debug. Please enter the remote machine details below." Since I do not have linux hosts configured for remote builds, I was not able to proceed further.
Fortunately, rolling back to version 2023.1103.2200 once again restores functionality.
thanks,
Craig