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 permanent changes in .vcxproj file, and thus several commits in git (Read 1180 times)
Andreas E
Junior Member
**
Offline


Posts: 29
Joined: Mar 7th, 2017
permanent changes in .vcxproj file, and thus several commits in git
May 28th, 2017 at 6:44pm
Print Post  
Hi, 

I'm using VS2017 and Visual Micro.

In my solution I set up several projects, but with only one of them I get permanent changes reported in git and thus mess up the repository w/ several commits.

I looked at the differen *.vcxproj files, but only in the project in question, there is a line as follows:
Code
Select All
$(ProjectDir)..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\Extensions\02oghilb.30b\Micro Platforms\visualmicro\ide\libraries;
 


It is located in the section
Code
Select All
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> 


under 
Code
Select All
<AdditionalIncludeDirectories> 


Everything else is fine.

This line is changed permanently (probably with each compile). All other configuration in this file stays unchanged.

Can you give me a hint on how to determine the cause or how to change my configuration.

Please find attached to .vcxproj files, the button_rotenc is fine, the sensor_display gives the problem. 
Regards
Andreas
  

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


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: permanent changes in .vcxproj file, and thus several commits in git
Reply #1 - May 28th, 2017 at 6:47pm
Print Post  
Thanks, 

Set your project to use the "arduino 1.6/1.8" option and not the visual micro app option, see if that helps?
  
Back to top
WWW  
IP Logged
 
Andreas E
Junior Member
**
Offline


Posts: 29
Joined: Mar 7th, 2017
Re: permanent changes in .vcxproj file, and thus several commits in git
Reply #2 - May 29th, 2017 at 5:53am
Print Post  
That helped, after recompiling for "Release" and "Debug" there's now only the path 
Code
Select All
$(ProjectDir)..\..\..\..\..\..\..\Program Files (x86)\Arduino\libraries 


used. When I again see a change in the vcxproj file, I'll further invetigate on the reason.
Thanks for quick answer
Regards Andreas
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: permanent changes in .vcxproj file, and thus several commits in git
Reply #3 - May 29th, 2017 at 4:47pm
Print Post  
Thanks for the update. I will look into why the visual micro option causes this issue
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint