It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Pipeline MSBUILD : error MSB1009: Project file does not exist. Edited

Iv created a AWS Serverless Application with tests in dotnet core and trying to run the test project as part of the pipeline but getting the error "MSBUILD : error MSB1009: Project file does not exist."


Here is my bitbucket-pipelines.yml

- step:
image: microsoft/dotnet:sdk
name: Tests
- dotnetcore
- export TEST_NAME=AWSLambda1.Tests/AWSLambda1.Tests.csproj
- dotnet test $TEST_NAME



1 answer

Anyone else having the same problem?

I'm having the same issue just calling a .sln in the Project File.

I have tried both:

  Project File:  SubDir\Projfile.sln

  Working Subdirectory:  [blank]


  Project File:  Projfile.sln

  Working Subdirectory:  Subdir   (with and without trailing \)

Did it work at all?

I finally got it to work by referring to the .sln  file , instead of the .proj file



ONLY THIS helped me

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket Pipelines

What We Learned When We Researched Open Source Vulnerabilities in 7 Popular Coding Languages

...hey are a part of us, shaping how we interact with the world around us. The same holds true for programming languages when we think about how different kinds of vulnerabilities raise their heads in t...

1,031 views 0 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you