Skip to content

xunit.v3 error MSB4057 #4291

@alexey-tyulkin

Description

@alexey-tyulkin

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions