Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xunit.v3 error MSB4057 #4291

Open
alexey-tyulkin opened this issue Feb 13, 2025 · 1 comment
Open

xunit.v3 error MSB4057 #4291

alexey-tyulkin opened this issue Feb 13, 2025 · 1 comment

Comments

@alexey-tyulkin
Copy link

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
@Youssef1313
Copy link

Note: this is linked to microsoft/testfx#5041 which will be fixed in Microsoft.Testing.Platform 1.6.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants