fsprojects / fsprojects/Paket

Error parsing project reference in project file

Open
#4,193 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
F#
Stars
2.1k
Forks
528
Avg merge
1d 12m
Merged PRs (30d)
54

Description

Description

if including the below snippet in the project file. paket will emit a warning. It is from a dotnet perspective valid

Repro steps

include a project reference with a wildcard in a project file that uses paket


<ItemGroup>
    <ProjectReference Include="../src/*.csproj" />
  </ItemGroup>

run botnet paket update

Expected behavior

That the update completes with no warnings

Actual behavior
Unable to parse project. /xxx/src/*.csproj:
      Could not find file '/xxx/src/*.csproj'.
Broken project dependency: '/xxx/tests/xxxTests.csproj' -> '/xxx/src/*.csproj
Known workarounds

Specify the absolute path of the included project

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

No source file or test is named in the issue. Reproduce the case with a project file containing the wildcard ProjectReference, then run paket update and trace the project-reference parsing path. Done means the update completes without warnings for this valid reference.

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
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.