How do I get rid of this warning? We are using msbuild14 for our project. I still keep getting this:
Sensor C#
error 04-Jan-2017 10:45:47 WARN: ***********************************************************************************
error 04-Jan-2017 10:45:47 WARN: * Use MSBuild 14 to get the best analysis results *
error 04-Jan-2017 10:45:47 WARN: * The use of MSBuild 12 or the sonar-scanner to analyze C# projects is DEPRECATED *
error 04-Jan-2017 10:45:47 WARN: ***********************************************************************************
We updated Tools Version in .csproj files to "14.0":
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{EE69EACD-320A-49F7-AB2E-BCEFC05932C0}</ProjectGuid>
<OutputType>WinExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>ConfigMonitor</RootNamespace>
<AssemblyName>ConfigMonitor</AssemblyName>
<TargetFrameworkVersion>v4.5.1</TargetFrameworkVersion>
<TargetFrameworkProfile>
</TargetFrameworkProfile>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
Let me know if anyone can help fix this.
Regards,
Subhi.