I
IvoCz
Guest
I installed VS 2019 pro.
When I open existing project in vs2019, I cannot build project. The project works and builds correctly in VS2017.
When I open in VS2019 the project (just now clearly created and working in VS2017), project does not load (in vs2019) and this warning appears.
C:\Users\ik.CEBIA\source\repos\WebApplication1\WebApplication1\WebApplication1.csproj : error : The tools version "15.0" is unrecognized. Available tools versions are "12.0", "14.0", "2.0", "3.5", "4.0". C:\Users\ik.CEBIA\source\repos\WebApplication1\WebApplication1\WebApplication1.csproj
When I manually change (in .csproj file)
<Project ToolsVersion="15.0"
to
<Project ToolsVersion="14.0"
Then when trying to reload project, only appears info, that migration is needed.
Unsupported
This version of Visual Studio is unable to open the following projects. The project types may not be installed or this version of Visual Studio may not support them.
For more information on enabling these project types or otherwise migrating your assets, please see the details in the "Migration Report" displayed after clicking OK.
- WebApplication1, "C:\Users\ik.CEBIA\source\repos\WebApplication1\WebApplication1\WebApplication1.csproj"
Non-functional changes required
Visual Studio will automatically make non-functional changes to the following projects in order to enable them to open in Visual Studio 2015, Visual Studio 2013, Visual Studio 2012, and Visual Studio 2010 SP1. Project behavior will not be impacted.
- WebApplication1, "C:\Users\ik.CEBIA\source\repos\WebApplication1\WebApplication1.sln"
When I try to create completely new project in VS2019 (c#/Windows/WEB/ASP.net web application/MVC), only this error appears:
The tools version "15.0" is unrecognized. Available tools versions are "12.0", "14.0", "2.0", "3.5", "4.0".
When I open VS2019 development command prompt and type: msbuild /version, I get this:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional>msbuild /version
Microsoft (R) Build Engine version 16.0.461+g6ff56ef63c for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.
15.9.21.664
The version 15.9.21.664 is strange.
When I open in VS2019 any existing project, it cannot be built in VS2019.
Output:
1>------ Rebuild All started: Project: ZTP_vin, Configuration: Debug Any CPU ------
2>------ Rebuild All started: Project: ZTP_vin_cs, Configuration: Debug Any CPU ------
========== Rebuild All: 0 succeeded, 2 failed, 0 skipped ==========
Warnings:
Warning Could not find rule set file "ManagedMinimumRules.ruleset". ZTP_vin C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.VisualBasic.CurrentVersion.targets 133
Warning The target "CollectReferencedNuGetPackages" does not exist in the project. ZTP_vin D:\AAA_data\AAA_VB\ZTP_vin\ZTP_vin\ZTP_vin.vbproj
Warning The referenced component 'System' could not be found. ZTP_vin_cs
Warning Could not create output directory ''. Exception has been thrown by the target of an invocation. ZTP_vin_cs
Warning The referenced component 'Microsoft.CSharp' could not be found. ZTP_vin_cs
Warning The referenced component 'Microsoft.VisualBasic' could not be found. ZTP_vin_cs
Warning The referenced component 'System.Xml.Linq' could not be found. ZTP_vin_cs
Warning The referenced component 'System.Xml' could not be found. ZTP_vin_cs
Warning Could not find rule set file "ManagedMinimumRules.ruleset". ZTP_vin_cs C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.CSharp.CurrentVersion.targets 133
My environment:Win 10 pro, 1809 (build 17763.404)
VS2015, VS2017, VS2019 - pro
Continue reading...
When I open existing project in vs2019, I cannot build project. The project works and builds correctly in VS2017.
When I open in VS2019 the project (just now clearly created and working in VS2017), project does not load (in vs2019) and this warning appears.
C:\Users\ik.CEBIA\source\repos\WebApplication1\WebApplication1\WebApplication1.csproj : error : The tools version "15.0" is unrecognized. Available tools versions are "12.0", "14.0", "2.0", "3.5", "4.0". C:\Users\ik.CEBIA\source\repos\WebApplication1\WebApplication1\WebApplication1.csproj
When I manually change (in .csproj file)
<Project ToolsVersion="15.0"
to
<Project ToolsVersion="14.0"
Then when trying to reload project, only appears info, that migration is needed.
Unsupported
This version of Visual Studio is unable to open the following projects. The project types may not be installed or this version of Visual Studio may not support them.
For more information on enabling these project types or otherwise migrating your assets, please see the details in the "Migration Report" displayed after clicking OK.
- WebApplication1, "C:\Users\ik.CEBIA\source\repos\WebApplication1\WebApplication1\WebApplication1.csproj"
Non-functional changes required
Visual Studio will automatically make non-functional changes to the following projects in order to enable them to open in Visual Studio 2015, Visual Studio 2013, Visual Studio 2012, and Visual Studio 2010 SP1. Project behavior will not be impacted.
- WebApplication1, "C:\Users\ik.CEBIA\source\repos\WebApplication1\WebApplication1.sln"
When I try to create completely new project in VS2019 (c#/Windows/WEB/ASP.net web application/MVC), only this error appears:
The tools version "15.0" is unrecognized. Available tools versions are "12.0", "14.0", "2.0", "3.5", "4.0".
When I open VS2019 development command prompt and type: msbuild /version, I get this:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional>msbuild /version
Microsoft (R) Build Engine version 16.0.461+g6ff56ef63c for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.
15.9.21.664
The version 15.9.21.664 is strange.
When I open in VS2019 any existing project, it cannot be built in VS2019.
Output:
1>------ Rebuild All started: Project: ZTP_vin, Configuration: Debug Any CPU ------
2>------ Rebuild All started: Project: ZTP_vin_cs, Configuration: Debug Any CPU ------
========== Rebuild All: 0 succeeded, 2 failed, 0 skipped ==========
Warnings:
Warning Could not find rule set file "ManagedMinimumRules.ruleset". ZTP_vin C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.VisualBasic.CurrentVersion.targets 133
Warning The target "CollectReferencedNuGetPackages" does not exist in the project. ZTP_vin D:\AAA_data\AAA_VB\ZTP_vin\ZTP_vin\ZTP_vin.vbproj
Warning The referenced component 'System' could not be found. ZTP_vin_cs
Warning Could not create output directory ''. Exception has been thrown by the target of an invocation. ZTP_vin_cs
Warning The referenced component 'Microsoft.CSharp' could not be found. ZTP_vin_cs
Warning The referenced component 'Microsoft.VisualBasic' could not be found. ZTP_vin_cs
Warning The referenced component 'System.Xml.Linq' could not be found. ZTP_vin_cs
Warning The referenced component 'System.Xml' could not be found. ZTP_vin_cs
Warning Could not find rule set file "ManagedMinimumRules.ruleset". ZTP_vin_cs C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.CSharp.CurrentVersion.targets 133
My environment:Win 10 pro, 1809 (build 17763.404)
VS2015, VS2017, VS2019 - pro
Continue reading...