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
Locked Topic Visual Studio 2015 Community - error value does not fall within expected range (Read 5224 times)
Jules
Newbies
*
Offline


Posts: 3
Joined: Aug 6th, 2015
Visual Studio 2015 Community - error value does not fall within expected range
Aug 6th, 2015 at 8:24pm
 
Hi
I have real issues. I have Visual Studio 2015 Community installed running on 64bit Windows 10 Pro
I also have the visualmicro extension installed and Arduino IDE 1.65
Visual Studio sees my Arduino Mega 2560, I can open the serial monitor etc, see the various libraries and examples but as soon as I try to open an existing Arduino project from my sketches folder or create a new one, Visual Studio gives an error message of

error: value does not fall within expected range

I really just expected it to work. Please could somebody help as I am rapidly wasting my evening with this. Ulitmately the Arduino IDE  is clunky but it does just install and work
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual Studio 2015 Community - error value does not fall within expected range
Reply #1 - Aug 6th, 2015 at 9:01pm
 
Hi,

First question is to find out if you installed C++ with your Visual Studio 2015?
  
Back to top
WWW  
IP Logged
 
gelius59
Junior Member
**
Offline


Posts: 82
Location: Ukraine
Joined: Oct 6th, 2012
Re: Visual Studio 2015 Community - error value does not fall within expected range
Reply #2 - Aug 7th, 2015 at 7:26am
 
Here is an excerpt from Help.
“Typical installation. It also means that in previous versions, many components that were installed by default now are considered Custom components”
If you choose Typical installation that can not install the required components of C ++
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual Studio 2015 Community - error value does not fall within expected range
Reply #3 - Aug 7th, 2015 at 9:28am
 
To prove you have a valid Visual Studio C++ install please try to create a standard Visual Studio C++ project

File>New>Project>Win32Project>Empty

This is what Visual Micro is attempting to do when you see the error

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


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual Studio 2015 Community - error value does not fall within expected range
Reply #4 - Aug 7th, 2015 at 9:39am
 
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint