I'm trying to get the odata.net repo to build on VS2019. I've updated the build.ps1 file (weitzhandler/odata.net@3dbccef) with the appropriate paths and all, but I'm still getting the following error x5:
“The imported project Microsoft.Data.Tools.Schema.SqlTasks.targets was not found” since Visual Studio upgrade Ask Question Asked 2 years, 5 months ago. 'C:Program Files (x86)Microsoft Visual Studio2019CommunityMSBuildMicrosoftPortablev5.0Microsoft.Portable.CSharp.targets' was not found. Confirm that the path in the declaration is correct, and that the file exists on disk. Jan 28, 2015 I have 2 projects that make use of Angular in the solution. When I updated the Nuget package to the latest version it correctly updated and added the files to one project but added the files and deleted the files (instead of update) on the second project. 2014-12-12 2) warning MSB3644: The reference assemblies for framework '.NETFramework,Version=v4.5' were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed.
C:UsersHPsourcereposodata.nettoolsCustomMSBuildPortable.targets(17,3): error MSB4019: The imported project 'C:Program Files (x86)Microsoft Visual Studio2019CommunityMSBuildMicrosoftPortablev5.0Microsoft.Portable.CSharp.targets' was not found. Confirm that the path in the declaration is correct, and that the file exists on disk. [C:UsersHPsourcereposodata.netsrcMicrosoft.SpatialBuild.NetStandardMicrosoft.Spatial.NetStandard.csproj]
After checking, the Portable folder is completely missing. I only have 2019 installed on my machine.
Is there anyway I can get this to run on a VS-only machine while still maintain project backwards compatibility (so that it can still build in older versions of VS)?
Expected behavior
File build.ps1 should execute properly
Actual behavior
Old build paths not found
Environment data
Mac Microsoft.webapplication.targets Was Not Found Dead
msbuild /version output:
16.2.37902.0
Msbuild Install
OS info: Windows 10x64 (1903 - build 18362.356) VS 2019 (16.2.x)