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 VisualMicro for VS does not add .ino file (Read 3612 times)
CWA
Newbies
*
Offline


Posts: 7
Joined: May 15th, 2017
VisualMicro for VS does not add .ino file
May 15th, 2017 at 11:57pm
Print Post  
Using the menubar item to create a new Arduino project in VS2017 Professional with vMicro pro creates a new project, but does not create an empty <name>.ino file yet it gets added to the solution. 
« Last Edit: Jul 11th, 2017 at 1:31am by Tim@Visual Micro »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: VisualMicro for VS does not add .ino file
Reply #1 - May 16th, 2017 at 3:38pm
Print Post  
You should not have spaces in an Arduino project name.

For Visual Micro to work the project name, the containing folder and a .ino file must all have the same name.

Visual Studio must have C++ installed

Finally please say what you clicked to create the project. Did you use "file>new>project>c++>arduino" or file>new>arduino project



« Last Edit: May 16th, 2017 at 3:39pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
CWA
Newbies
*
Offline


Posts: 7
Joined: May 15th, 2017
Re: VisualMicro for VS does not add .ino file
Reply #2 - May 16th, 2017 at 4:31pm
Print Post  
Tim@Visual Micro wrote on May 16th, 2017 at 3:38pm:
You should not have spaces in an Arduino project name.

For Visual Micro to work the project name, the containing folder and a .ino file must all have the same name.

Visual Studio must have C++ installed

Finally please say what you clicked to create the project. Did you use "file>new>project>c++>arduino" or file>new>arduino project





There are no spaces. There is an underscore. 

I clicked on the toolbar item "vMicro" then "New Arduino Project. The pupup requests a new project name, and that's it.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: VisualMicro for VS does not add .ino file
Reply #3 - May 16th, 2017 at 7:07pm
Print Post  
That's very strange. When I look at your screen shot it shows a project and solution without an underscore, with spaces. 

1)
If you close the solution and create a project called Test1. Does that create correctly and does it compile?

2)
If you close the solution and create a project using file>new>project>visual c++>arduino project. Does that create and build correctly?

3)
What is the name of the physical folder your thread test project has been created in?

Thanks
  
Back to top
WWW  
IP Logged
 
CWA
Newbies
*
Offline


Posts: 7
Joined: May 15th, 2017
Re: VisualMicro for VS does not add .ino file
Reply #4 - May 16th, 2017 at 8:13pm
Print Post  
You are right. The project has a space in the name. Apologies.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: VisualMicro for VS does not add .ino file
Reply #5 - May 16th, 2017 at 8:16pm
Print Post  
Okay but I just created a project with a space in the name and it created correctly using the menu item you used.

Whilst the arduino ide and some tool chains don't like spaces visual micro handles them because visual studio allows them in the standard file>new wizard.

So I am still confused how the problem happened? Can you replicate the issue?
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint