fsprojects / fsprojects/Paket

Running "paket pack" fails if the project file uses wildcards for compile includes

Open
#2,889 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug crash msbuild proj sdk: verbose sdk
Dominant language
F#
Stars
2.1k
Forks
528
Avg merge
1d 12m
Merged PRs (30d)
54

Description

Description

Using <Compile Include="*.cs" /> in the .csproj file leads to paket runtime error ArgumentException: Illegal characters in path. when running paket pack

It might be related to https://github.com/fsprojects/Paket/issues/1462

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure with a .csproj containing and run paket pack, confirming the reported ArgumentException. Read the handling related to issue #1462 and trace how wildcard compile includes reach packaging; done means paket pack completes without the illegal-path error.

Written by the indexing model from the issue text.

Assessment

Tech stack
fsharp
Domain
build-system, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.