Hello All,
I'm new here today
Using latest build of ATMEL Studio 6.1.2674 with SP1 and the VisualMicro plugin for Arduino...
I -often- see the following error when trying to build or enter 'debug'...
Compiling 'ArduinoEx1' for 'Arduino Nano w/ ATmega328'
Binary sketch size: 4820 bytes (16% of a 30720 byte maximum) (1.00 secs)
System.Exception: Visual Micro: Unable to save new program settings file
C:\Users\Admin\Documents\Arduino\ArduinoEx1\Visual Micro\Compile.vmps.xml ---> System.IO.IOException: The requested operation cannot be performed on a file with a user-mapped section open.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at System.Xml.XmlDocument.Save(String filename)
at Visual.Micro.ProgramConfiguration.ProgramSettingsReader.Save()
--- End of inner exception stack trace ---
at Visual.Micro.ProgramConfiguration.ProgramSettingsReader.Save()
at Visual.Micro.Visual.Studio.Arduino.AddInApp.CompileDo(Project oProject, Boolean IsDebugStartCommand)
at Visual.Micro.Visual.Studio.Arduino.AddInApp.Compile(Project oProject, Boolean IsDebugStartCommand)
The problem will resolve itself after a while if I keep trying the same operation, or, try other buttons at random.
Any ideas?