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 Adding new classes to the shared code projects (Read 2530 times)
Evgeny Zhekaus
Junior Member
**
Offline


Posts: 38
Joined: Sep 19th, 2018
Adding new classes to the shared code projects
Sep 28th, 2018 at 7:59pm
Print Post  
Hi,
Why I can’t add class into the library solution? The corresponding menu items (e.g. Add New Arduino Class and Header) are disabled or don’t exist.
Also it would be nice, if it will be possible to add new classes into selected project of the current solution. I mean when I have a few shared code projects in the solution, I want be able to add new classes right into corresponding shared code project (sub-project). Currently new classes are created in the main project only, whatever project I select. It makes me produce superficial steps of organizing code chunks.
« Last Edit: Sep 28th, 2018 at 8:00pm by Evgeny Zhekaus »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Adding new classes to the shared code projects
Reply #1 - Oct 1st, 2018 at 3:37pm
Print Post  
Use the standard Visual Studio commands to add classes or cpp or h or whatever is needed. The menu options in shared projects are more limited but you can do exactly the same via the standard vs commands.
  
Back to top
IP Logged
 
Evgeny Zhekaus
Junior Member
**
Offline


Posts: 38
Joined: Sep 19th, 2018
Re: Adding new classes to the shared code projects
Reply #2 - Oct 2nd, 2018 at 8:56am
Print Post  
Tim@Visual Micro wrote on Oct 1st, 2018 at 3:37pm:
Use the standard Visual Studio commands to add classes ...

Yeah, yeah, this is exactly what I'm doing. I just come up with a little improvement.
Smiley
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Adding new classes to the shared code projects
Reply #3 - Oct 2nd, 2018 at 12:45pm
Print Post  
It's a pain in the backside to add menu items for shared projects and what is there isn't blogged or tweeted much so I have to get on with my normal job  Smiley
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint