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 Toggle hidden files doesn't work on French Windows (Read 1222 times)
PBY
Newbies
*
Offline


Posts: 8
Joined: May 22nd, 2019
Toggle hidden files doesn't work on French Windows
May 22nd, 2019 at 7:24am
Print Post  
Hi, 
When trying to do the "Toggle hidden files", I got this error:

Error during processing of the command. Please review or post the stack trace in the www.visualmicro.com forumLa conversion de la chaîne "15.0" en type 'Double' n'est pas valide. (Visual.Micro.Visual.Studio.Arduino.Helper.StandardAddItemShowAllFiles)
System.InvalidCastException: La conversion de la chaîne "15.0" en type 'Double' n'est pas valide. ---> System.FormatException: Input string was not in a correct format.
   at Microsoft.VisualBasic.CompilerServices.Conversions.ParseDouble(String Value, NumberFormatInfo NumberFormat)
   at Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value, NumberFormatInfo NumberFormat)
   --- End of inner exception stack trace ---
   at Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value, NumberFormatInfo NumberFormat)
   at Visual.Micro.Visual.Studio.Arduino.AddInApp.IsShowingAllFiles(Project oProject)
   at Visual.Micro.Visual.Studio.Arduino.AddInApp.ShowAllFilesToggle()
   at Visual.Micro.Visual.Studio.Arduino.AddInApp.ExecCmd(String commandName)


In French, decimal separator is the comma, not the point. But the version of VS is in InvariantCulture (15.0), therefore the parsing failed. You should also use your parsing with CultureInfo.InvariantCulture
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Toggle hidden files doesn't work on French Windows
Reply #1 - May 22nd, 2019 at 11:22am
Print Post  
Thanks very much for the report! This is resolved in 1905.22 available here

https://www.visualmicro.com/forums/YaBB.pl?board=VS_ARDUINO_EXT_RELEASES

It will also be published to the gallery over the next 24 hours.

Thanks again.
  
Back to top
WWW  
IP Logged
 
PBY
Newbies
*
Offline


Posts: 8
Joined: May 22nd, 2019
Re: Toggle hidden files doesn't work on French Windows
Reply #2 - May 22nd, 2019 at 1:37pm
Print Post  
I tried the new version, but it doesn't resolve the issue, the error message is just a bit different:

Error during processing of the command. Please review or post the stack trace in the www.visualmicro.com forumInput string was not in a correct format. (Visual.Micro.Visual.Studio.Arduino.Helper.StandardAddItemShowAllFiles)
System.FormatException: Input string was not in a correct format.
   at System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt)
   at Visual.Micro.Visual.Studio.Arduino.AddInApp.IsShowingAllFiles(Project oProject)
   at Visual.Micro.Visual.Studio.Arduino.AddInApp.ShowAllFilesToggle()
   at Visual.Micro.Visual.Studio.Arduino.AddInApp.ExecCmd(String commandName)
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Toggle hidden files doesn't work on French Windows
Reply #3 - May 22nd, 2019 at 2:48pm
Print Post  
Sorry about that. The problem was that vs passes the version number as a string with decimal point not command. So it is now handled as a string and should not cause an issue.

1905.22.2
https://www.visualmicro.com/forums/YaBB.pl?board=VS_ARDUINO_EXT_RELEASES
  
Back to top
WWW  
IP Logged
 
PBY
Newbies
*
Offline


Posts: 8
Joined: May 22nd, 2019
Re: Toggle hidden files doesn't work on French Windows
Reply #4 - May 22nd, 2019 at 3:10pm
Print Post  
Works fine now. Thanks
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Toggle hidden files doesn't work on French Windows
Reply #5 - May 22nd, 2019 at 6:13pm
Print Post  
The 19.5.22 release is now published to the gallery. Over the next few weeks we will be releasing a new way to "toggle hidden files" which is more efficient and optionally provides capability to use custom or modified cores. It was this pre-work that caused the issue.

Thanks for the report.
« Last Edit: May 22nd, 2019 at 6:13pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint