Closed varndellwagglebee closed 1 year ago
Hi, @varndellwagglebee 👋 Thank you for your issue, but unfortunately, this problem seems unrelated to our action, as the Error states there is a lack of .csproj file in your project, and it is the root cause of your issue. Probably while committing you unintentionally deleted it.
Now I'm going to close this issue, If you have any additional questions feel free to ping me.
The project file is there. But not seeing it.
@varndellwagglebee, could you provide me with a public repo to be able to reproduce your error?
@varndellwagglebee, sorry, but I don't have access to this repository.
I invited you to repository.
Hi, @varndellwagglebee 👋 I investigated your repository and found that you made a mistake in the build command:
1) you should consider changing name of the solution in the build command from hyperbee.sln
to Hyperbee.sln
After that change dotnet build
will start work normally.
This is not the issue of the action, just a typo in your code.
Thank you for all your help.
Thank you for all your help.
Sorry to do this here, but may I please look at your repo too? I'm having a similar problem with my CI/CD action and was hoping I could look at one that is working.
Description: MSBuild version 17.4.0+18d5aef85 for .NET MSBUILD : error MSB1009: Project file does not exist. Switch: ./hyperbee.sln Error: Process completed with exit code 1.
Task version: GitHub actions
Platform:
Runner type:
Repro steps:
Project structure:
.github/workflows src/hyperbee src/hyperbee.messaging.PubNub src/Hyperbee.api.core src/hyperbee.data.abstractions src/hyperbee.data.couchbase src/hyperbee.migrations.Couchbase tests hyperbee.sln
WorkFlow: name: Build and Unit Test
on: workflow_dispatch:
env: BRANCH_NAME: ${{ github.head_ref || github.ref_name }} LPOINT: ${{ secrets.NUGET_SOURCE_LPOINT}} USE_PACKAGE_PRERELEASE: 'false' ALLOW_PRODUCTION_PUSH: 'false'
jobs: build-test: runs-on: ubuntu-latest
Expected behavior: To be able to build the solution file
Actual behavior: MSBuild version 17.4.0+18d5aef85 for .NET MSBUILD : error MSB1009: Project file does not exist. Switch: ./hyperbee.sln Error: Process completed with exit code 1.