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 System.NotSupportedException: The given path's format is not supported (Read 7710 times)
Roland Rutsaert
Junior Member
**
Offline


Posts: 11
Location: Belgium
Joined: Apr 22nd, 2013
System.NotSupportedException: The given path's format is not supported
Jul 4th, 2014 at 6:43am
Print Post  
Hi,

Thanks for your quick reply.

I have changed my Sketchbook to c:\users\Roland\documents\Arduino

I have compiled and uploaded the program QRPNano (which has always worked fine) with the Arduino IDE without any problem.

When I try to compile it with Visual Studio I get the following messages:

ide.versionLTEQ=149
ide.exe=arduino.exe
ide.hosts=atmel
ide.url=http://arduino.cc/en/Main/Software
vm.debug=true
software=ARDUINO
ide.appid=arduino10x
location.sketchbook=C:\Users\Roland\Documents\Arduino\
build.board=AVR_NANO328
vm.boardsource.path=c:\Arduino 1.0.5 r2\hardware\arduino
vm.platformname.name=avr
build.arch=AVR
vm.runtime.compiler.showwarnings=false

System.NotSupportedException: The given path's format is not supported.
   at System.Security.Util.StringExpressionSet.CanonicalizePath(String path, Boolean needFullPath)
   at processing.app.SketchCompiler.CreateFileTimeListXml(String fileType, DirectoryInfo folder, String outputPath)
   at processing.app.SketchCompilerArduino.compileLibrary(DirectoryInfo outputPath, DirectoryInfo libraryFolder, List`1 includePaths)
   at processing.app.SketchCompilerArduino.compileLibraries(List`1 includePaths)
   at processing.app.SketchCompilerArduino.compile(SketchBuilder lsketch, String primaryClassName, Boolean verbose, Boolean isDebug)
   at Visual.Micro.Visual.Studio.Arduino.AddInApp.CompileDo(Project oProject, Boolean IsDebugStartCommand)
   at Visual.Micro.Visual.Studio.Arduino.AddInApp.Compile(Project oProject, Boolean IsDebugStartCommand)

I do not understand what goes wrong. It used to work fine before I did the reinstallation with the latest releases.

I would appreciate your help.

Thanks in advance

Roland
« Last Edit: Jul 12th, 2014 at 3:52pm by Tim@Visual Micro »  
Back to top
 
IP Logged
 
Cygnus
Newbies
*
Offline


Posts: 1
Joined: Jul 11th, 2014
Re: System.NotSupportedException: The given path's format is not supported
Reply #1 - Jul 11th, 2014 at 11:31am
Print Post  
Same issue over here.
Visual Micro Beta installed with Arduino 1.5.7

Trying to build the Arduino Solar Meter (codeplex.com) results in this error message:
Code (C++)
Select All
Compiling 'Solarmeter' for 'Arduino Mega w/ ATmega2560 (Mega 2560)'
System.NotSupportedException: The given path's format is not supported.
   at System.Security.Util.StringExpressionSet.CanonicalizePath(String path, Boolean needFullPath)
   at System.Security.Util.StringExpressionSet.CreateListFromExpressions(String[] str, Boolean needFullPath)
   at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList)
   at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String[] pathList, Boolean checkForDuplicates, Boolean needFullPath)
   at System.IO.FileInfo.Init(String fileName, Boolean checkHost)
   at System.IO.FileInfo..ctor(String fileName)
   at processing.app.SketchCompiler.CreateFileTimeListXml(String fileType, DirectoryInfo folder, String outputPath)
   at processing.app.SketchCompilerArduino.compileLibrary(DirectoryInfo outputPath, DirectoryInfo libraryFolder, List`1 includePaths)
   at processing.app.SketchCompilerArduino.compileLibraries(List`1 includePaths)
   at processing.app.SketchCompilerArduino.compile(SketchBuilder lsketch, String primaryClassName, Boolean verbose, Boolean isDebug)
   at Visual.Micro.Visual.Studio.Arduino.AddInApp.CompileDo(Project oProject, Boolean IsDebugStartCommand)
   at Visual.Micro.Visual.Studio.Arduino.AddInApp.OnBeforeCommandEvent(String sGuid, Int32 ID, Object CustomIn, Object CustomOut, Boolean& CancelDefault) 

« Last Edit: Jul 12th, 2014 at 3:51pm by Tim@Visual Micro »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Installation issue
Reply #2 - Jul 11th, 2014 at 5:38pm
Print Post  
Sorry for all the messing about with this library issue. The beta is now available which will have a version number of 1407.10

http://visualmicro.com/downloads/Beta/ArduinoForVisualStudio.msi

Thanks
  
Back to top
IP Logged
 
Roland Rutsaert
Junior Member
**
Offline


Posts: 11
Location: Belgium
Joined: Apr 22nd, 2013
Re: Installation issue
Reply #3 - Jul 12th, 2014 at 11:34am
Print Post  
Hello,

Thanks I will try that out.

In the meantime Atmel Studio announces 2 upgrades
Atmel ARM GNU Toolchain and Atmel Software Framework

Do you advise me to do these upgrades or denie them ?

Best rerards

Roland
  
Back to top
 
IP Logged
 
Roland Rutsaert
Junior Member
**
Offline


Posts: 11
Location: Belgium
Joined: Apr 22nd, 2013
Re: Installation issue
Reply #4 - Jul 12th, 2014 at 12:17pm
Print Post  
Hello,

Good news !!  It works  !!

I have compiled and uploaded a few sketches with core libraries and they uploaded without any problem.

I have stored my (homemade) user libraries on an external disc during the installation period. Now i want to install them back so that i can run my good old sketches again.

Can you advise me the correct location ( file ) where i have to install my core and user libraries?

Please also answer my message concerning the Atmel Studio upgrades.

Hopefully we can start working again.
Your help is much appreciated.

Thanks

Roland
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Installation issue
Reply #5 - Jul 12th, 2014 at 2:50pm
Print Post  
Good to hear that.

Please try to ask new questions in new threads so that other users benefit from clear messages (when possible)

Thanks
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint