You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just update visual studio 2022 to latest version and my pipeline in azure Devops fails due to this error
##[error]The nuget command failed with exit code(1) and error(C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\bin\Microsoft.CSharp.CurrentVersion.targets(317,5): error MSB4019: The imported project "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\bin\Roslyn\Microsoft.CSharp.Core.targets" was not found. Confirm that the expression in the Import declaration "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\bin\Roslyn\Microsoft.CSharp.Core.targets" is correct, and that the file exists on disk. [C:\xxxModules.Permission.PermissionManager.Module.csproj]
The text was updated successfully, but these errors were encountered:
Microsoft.CSharp.Core.targets is found in another place C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Current\Bin\Roslyn, so seems the Roslyn path got wrong after update
I just update visual studio 2022 to latest version and my pipeline in azure Devops fails due to this error
##[error]The nuget command failed with exit code(1) and error(C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\bin\Microsoft.CSharp.CurrentVersion.targets(317,5): error MSB4019: The imported project "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\bin\Roslyn\Microsoft.CSharp.Core.targets" was not found. Confirm that the expression in the Import declaration "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\bin\Roslyn\Microsoft.CSharp.Core.targets" is correct, and that the file exists on disk. [C:\xxxModules.Permission.PermissionManager.Module.csproj]
The text was updated successfully, but these errors were encountered: