I have create an class Library dot net project (.NET Core 2.0) but I am always receiving an error message on BitBucket Pipeline.
My yml pipeline file were filled as showed below:
image: microsoft/dotnet:onbuild
pipelines:
default:
- step:
caches:
- dotnetcore
script: # Modify the commands below to build your repository.
- export PROJECT_NAME=ClassLibrary/ClassLibrary/ClassLibrary
- export TEST_NAME=ClassLibrary/ClassLibrary.Tests/ClassLibrary.Tests
- dotnet restore
- dotnet build $PROJECT_NAME
- dotnet test $TEST_NAME
I am receiving this error message on pipeline
Couldn't find 'project.json' in 'ClassLibrary/ClassLibrary/ClassLibrary'