Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build.ps1 references src\Nerdbank.GitVersioning.sln which was moved out of src #912

Closed
KalleOlaviNiemitalo opened this issue Mar 29, 2023 · 1 comment

Comments

@KalleOlaviNiemitalo
Copy link

build.ps1 fails:

$ pwsh
PowerShell 7.3.3
PS C:\Projects\foreign\dotnet\Nerdbank.GitVersioning> ./build.ps1
MSBUILD : error MSB1009: Project file does not exist.
Switch: C:\Projects\foreign\dotnet\Nerdbank.GitVersioning\src\Nerdbank.GitVersioning.sln
Write-Error: Build failure
Exception: C:\Projects\foreign\dotnet\Nerdbank.GitVersioning\build.ps1:33
Line |
  33 |              throw "dotnet build failed"
     |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | dotnet build failed

It references $PSScriptRoot\src\Nerdbank.GitVersioning.sln here:

$msbuildCommandLine = "dotnet build `"$PSScriptRoot\src\Nerdbank.GitVersioning.sln`" /m /verbosity:$MsBuildVerbosity /nologo /p:Platform=`"Any CPU`" /t:build,pack"

but src\Nerdbank.GitVersioning.sln was moved to Nerdbank.GitVersioning.sln in commit 3c38b4d.

@AArnott
Copy link
Collaborator

AArnott commented Mar 29, 2023

I still have a build.ps1 script in this repo? 🤣

Nice catch. I should probably fix that. Feel free to send a PR if you get to it first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants