Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
 
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
1807.1 - Hot fix to resolve a VS2017 15.6+ intellisense bug (Read 391 times)
Visual Micro
Administrator
*****
Offline



Posts: 9493
United Kingdom
1807.1 - Hot fix to resolve a VS2017 15.6+ intellisense bug
Jul 1st, 2018 at 5:06pm
 
This release resolves a bug in the latest Visual Studio 2017 release which caused intellisense to fail and prevented the project property pages from being viewed.

The problem is specific to each configuration (such as Release or Debug) but might affected all configurations.

When new Arduino projects are created the <PlatformToolset> in the project file is now populated with a value that VS 2017 updated 15.6+ is happy with. Users of older visual studio versions are unaffected.

How to fix existing project - Existing project might suffer from this problem.

Do one of the following:-

1) Delete the visual studio .vcx files from your project folder then use "File>Open>Arduino Project" to re-open the project which recreates the .vcx files with the <PlatformToolset> correctly populated. If you have a large list of sources in your project option 2) below might be a better alternative than setting up a new project.

2) Edit the [project_name].vcxproj file with a text editor and ensure there is a <PlatformToolset> in every <PropertyGroup Condition="'$(Configuration) like the following example. The order of properties is unimportant.


<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
    <ConfigurationType>Application</ConfigurationType>
    <UseDebugLibraries>false</UseDebugLibraries>
    <PlatformToolset>v141</PlatformToolset>
    <WholeProgramOptimization>true</WholeProgramOptimization>
    <CharacterSet>MultiByte</CharacterSet>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
    <ConfigurationType>Application</ConfigurationType>
    <PlatformToolset>v141</PlatformToolset>
    <UseDebugLibraries>true</UseDebugLibraries>
    <CharacterSet>MultiByte</CharacterSet>
  </PropertyGroup>

Back to top
 
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print