xunit.v3 error MSB4057
Open
Nobody has claimed this yet.
bug
- Dominant language
- F#
- Stars
- 2.1k
- Forks
- 528
- Avg merge
- 1d 12m
- Merged PRs (30d)
- 54
Description
Paket produces an error in the xunit.v3 project.. Script to reproduce
# create xunit3 project
dotnet new install xunit.v3.templates
dotnet new xunit3
dotnet build
# Build succeeded
# install paket
dotnet new tool-manifest
dotnet tool install paket
dotnet tool restore
# Restore was successful.
dotnet paket convert-from-nuget
dotnet paket install
dotnet build
#Restore complete (0.9s)
# .... failed with 1 error(s) (0.3s)
# ....\.nuget\packages\xunit.v3.core\1.1.0\buildTransitive\xunit.v3.core.targets(30,70): error MSB4057: The target "_IncludeGenerateAutoRegisteredExtensionsIntoCompilation" does not exist in the project.
# Build failed with 1 error(s) in 1.6s
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Run the PowerShell reproduction with xunit.v3.templates, then inspect .nuget\packages\xunit.v3.core\1.1.0\buildTransitive\xunit.v3.core.targets at line 30 and the Paket convert-from-nuget/install behavior. Done means the converted project restores and dotnet build succeeds without MSB4057.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- fsharp, powershell
- Domain
- build-system, testing-qa, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100