Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Dotnet error error MSB4019

Nishantha Herath October 1, 2018

I just started with bitbucket pipeline CI .

When try to build a dotnet application gives error " error MSB4019: The imported project "/usr/share/dotnet/sdk/2.0.0/Microsoft/VisualStudio/v10.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." 

I tried with  "image: microsoft/dotnet:2.0.0-sdk" and "image: microsoft/dotnet:sdk" both gives same error. 

Please help

1 answer

0 votes
Philip Hodder
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 4, 2018

Hello Nishantha,

You may need to install some dependencies before you build your dotnet applications.

You could also try debug this locally with Docker.

Thanks,

Phil

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events