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

Clean - build -pack fails #17312

Closed
KevinRansom opened this issue Jun 14, 2024 · 0 comments
Closed

Clean - build -pack fails #17312

KevinRansom opened this issue Jun 14, 2024 · 0 comments
Assignees
Labels
Milestone

Comments

@KevinRansom
Copy link
Member

KevinRansom commented Jun 14, 2024

A clean follow by the command build -pack it fails because the nuspec is hard coded to release builds. I am astonished I haven't seen this before, it has been like it for more than a few years.

build -pack
fails

C:\kevinransom\fsharp\.dotnet\sdk\9.0.100-preview.3.24204.13\Sdks\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.t
argets(221,5): error : Could not find a part of the path 'C:\kevinransom\fsharp\artifacts\bin\fsc\Release\net8.0'. [C:\
kevinransom\fsharp\src\Microsoft.FSharp.Compiler\Microsoft.FSharp.Compiler.fsproj]

Build FAILED.

C:\kevinransom\fsharp\.dotnet\sdk\9.0.100-preview.3.24204.13\Sdks\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.t
argets(221,5): error : Could not find a part of the path 'C:\kevinransom\fsharp\artifacts\bin\fsc\Release\net8.0'. [C:\
kevinransom\fsharp\src\Microsoft.FSharp.Compiler\Microsoft.FSharp.Compiler.fsproj]
    0 Warning(s)
    1 Error(s)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

No branches or pull requests

2 participants