Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

pipelines:
default:
- step:
image: microsoft/dotnet:sdk
name: Tests
caches:
- dotnetcore
script:
- 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]

and

  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

/opt/atlassian/pipelines/agent/build/"ProjectSolutionName"/"ProjectName".csproj

 

ONLY THIS helped me

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...

124 views 1 9
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