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
Hot Topic (More than 8 Replies) VS Build Button Inactive (Read 7669 times)
hauwarea
Junior Member
**
Offline


Posts: 34
Location: Perth Western Australia
Joined: Apr 9th, 2017
VS Build Button Inactive
Oct 7th, 2017 at 5:34am
Print Post  
I have VS (Visual Micro) 2015 v. 14.0.25431.01 Update 3 (supposed to be) running on Windows 10 Home.  I am trying to build an Arduino sketch but the build button is inactive (greyed-out).

There is an error message displayed:
"We were unable to automatically populate your Visual Studio Team Services accounts.   
The following error was encountered: TF400813: Resource not available for anonymous access. Client authentication required."

How do I get rolling?
Thanks
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: VS Build Button Inactive
Reply #1 - Oct 7th, 2017 at 11:51am
Print Post  
The error is not connected to visual micro and can be ignored.

Visual micro build will disable if a valid arduino project is not being edited.

A valid arduino project is one where the folder, project and an .ino all have the same name such as Sketch1.

  
Back to top
IP Logged
 
hauwarea
Junior Member
**
Offline


Posts: 34
Location: Perth Western Australia
Joined: Apr 9th, 2017
Re: VS Build Button Inactive
Reply #2 - Oct 8th, 2017 at 2:07am
Print Post  
Thank you.
  
Back to top
 
IP Logged
 
hauwarea
Junior Member
**
Offline


Posts: 34
Location: Perth Western Australia
Joined: Apr 9th, 2017
Re: VS Build Button Inactive
Reply #3 - Oct 18th, 2017 at 3:33am
Print Post  
I get the same problem here
https://1drv.ms/i/s!ArMxdUYEh9fKhRP1IW09k_qac7Rm
I get a message 'There are no usable controls in this group.'  Undecided
  
Back to top
 
IP Logged
 
hauwarea
Junior Member
**
Offline


Posts: 34
Location: Perth Western Australia
Joined: Apr 9th, 2017
Re: VS Build Button Inactive
Reply #4 - Oct 18th, 2017 at 3:37am
Print Post  
Here are the files
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: VS Build Button Inactive
Reply #5 - Oct 18th, 2017 at 11:59pm
Print Post  
Did you install C++ for VS 2015? It's an option in the Visual Studio install.

Make sure you have the project open with code open then show screen shot of ide with build menu displayed
« Last Edit: Oct 19th, 2017 at 12:00am by Tim@Visual Micro »  
Back to top
IP Logged
 
hauwarea
Junior Member
**
Offline


Posts: 34
Location: Perth Western Australia
Joined: Apr 9th, 2017
Re: VS Build Button Inactive
Reply #6 - Oct 19th, 2017 at 1:08am
Print Post  
Tim@Visual Micro wrote on Oct 18th, 2017 at 11:59pm:
Did you install C++ for VS 2015? It's an option in the Visual Studio install.


Everything worked okay until the day of the first post in this thread - so I assume I did.  If I did not, how do I install it now?

Tim@Visual Micro wrote on Oct 18th, 2017 at 11:59pm:
Make sure you have the project open with code open then show screen shot of ide with build menu displayed


My problem is that the project won't open  Undecided

BTW: other projects open okay - it's just this one being recalcitrant.  Cry
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: VS Build Button Inactive
Reply #7 - Oct 19th, 2017 at 1:29am
Print Post  
Delete or move the vcxproj and other non code files then reopen with file,open Arduino project.
  
Back to top
IP Logged
 
hauwarea
Junior Member
**
Offline


Posts: 34
Location: Perth Western Australia
Joined: Apr 9th, 2017
Re: VS Build Button Inactive
Reply #8 - Oct 19th, 2017 at 6:34am
Print Post  
In the folder now are the INO and the SLN files and four folders (.vs, _vm, debug and  quarantine (which is where I put the other stuff)).  I open VS/VCM and click on the project as listed and get the same result - 'There are no usable controls in this group.'
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: VS Build Button Inactive
Reply #9 - Oct 19th, 2017 at 12:36pm
Print Post  
Quote:
I open VS/VCM and click on the project as listed and get the same result


What project? I asked you to delete and recreate.

Maybe you are confused with the wrong solution.

Please delete the .sln and the vcxproj and then reopen using the instructions I have given above (File>Open>Arduino Project>.ino)


Quote:
There are no usable controls in this group


This is a visual studio message and it normally refers to c# projects. C++ and arduino projects do not use "controls"

Delete all files expect your  source code and then use File>Open>Arduino Project>.Ino

I suspect you have saved a c# windows projects or some other non standard c++ project into the solution. I am guessing because no one else has this issue.
« Last Edit: Oct 19th, 2017 at 12:36pm by Tim@Visual Micro »  
Back to top
IP Logged
 
hauwarea
Junior Member
**
Offline


Posts: 34
Location: Perth Western Australia
Joined: Apr 9th, 2017
Re: VS Build Button Inactive
Reply #10 - Oct 19th, 2017 at 10:34pm
Print Post  
Tim@Visual Micro wrote on Oct 19th, 2017 at 12:36pm:
Delete all files expect your  source code and then use File>Open>Arduino Project>.Ino


It's the 'Arduino Project' step I missed.  As usual  Undecided solution right under my nose.

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