fsprojects / fsprojects/Paket

Can't build simple roslyn code fix

Open
#3,680 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

I've attached an archive with a quite simple project. There're no actual code apart from the attribute. "dotnet build" on AnalyzerTest.NuGet.csproj succeeds while on AnalyzerTest.Paket.csproj it fails attempting to get an older version of System.Composition.AttributeModel assembly.

I'm using release version of .Net Core 3.

AnalyzerTest.zip

Thank you!

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

Extract AnalyzerTest.zip and run dotnet build on AnalyzerTest.NuGet.csproj and AnalyzerTest.Paket.csproj to reproduce the difference. Compare the dependency resolution for System.Composition.AttributeModel between the two projects and identify why the Paket build requests an older assembly; done means the Paket project builds successfully without that incorrect request.

Written by the indexing model from the issue text.

Assessment

Domain
build-system, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.