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 Relative path for proect's ForcedIncludeFiles (Read 5986 times)
CapnBry
Junior Member
**
Offline


Posts: 32
Joined: Nov 4th, 2011
Relative path for proect's ForcedIncludeFiles
Nov 19th, 2012 at 9:14pm
Print Post  
It seems that Visual Micro uses an absolute path for the "ForcedIncludeFiles" section in the Arduino vcxproj project file (for ...\Visual Micro\.projectname.vsarduino.h). This makes it difficult to work in a multi-user or multi-machine setup, as each user will change the name of the header file to match his machine and the project file is modified. This then shows up as a change and gets checked into source control each time and makes it difficult to determine when the project has actually been modified.

It would be nice if the path name was relative to the project directory if possible. It would also make moving the project to another directory easier I think (unless this is modified every time the project is loaded).
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Relative path for proect's ForcedIncludeFiles
Reply #1 - Nov 20th, 2012 at 11:30am
Print Post  
Okay thanks, I'll give that a try. In the meantime can you exclude the file from source control? It should be auto created/updated when required?
  
Back to top
IP Logged
 
CapnBry
Junior Member
**
Offline


Posts: 32
Joined: Nov 4th, 2011
Re: Relative path for proect's ForcedIncludeFiles
Reply #2 - Nov 21st, 2012 at 2:23pm
Print Post  
The file itself I can add to my ignore list, but the path to it is stored inside the project file. I suppose I could exclude all of the Visual Studio files, but I have different build configurations set up for different targets so I like having the project file having all the right preprocessor definitions in them. Have I mentioned how much I love having preprocessor definitions? :-D Yaaaaaay Visual Micro.

It isn't a big deal, I just look at the git diff and if it is only that line I don't add it to the commit list.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Relative path for proect's ForcedIncludeFiles
Reply #3 - Nov 21st, 2012 at 2:39pm
Print Post  
Thanks, Yes I'll add it to the list. Sounds good to have full support for source control.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint