Jump to content

CI/CD TFSVC build fails


Recommended Posts

Hi,

We are switching to new devops server. SDK installed

DevOps server: 2020

MSBuild tools: 2019

version: 16.0

Architecture: x64

/p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=false /p:SkipInvalidConfigurations=true /p:OutDir="$(build.artifactstagingdirectory)" /p:TargetFrameworkSDKToolsDirectory="C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\netfx 4.8 tools"

VS ASP.net project Target .net framework: 4.8.1

Fails with error ...

csproj(1901,3): Error MSB4019: The imported project "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\WebApplications\Microsoft.WebApplication.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.

Please suggest

Link to comment
Share on other sites

  • James changed the title to CI/CD TFSVC build fails

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...