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

Generate nuget packages fails on non-Windows #4936

Open
ViktorHofer opened this issue Mar 15, 2024 · 0 comments
Open

Generate nuget packages fails on non-Windows #4936

ViktorHofer opened this issue Mar 15, 2024 · 0 comments

Comments

@ViktorHofer
Copy link
Member

ViktorHofer commented Mar 15, 2024

When doing build.sh --pack to generate nuget packages in addition to building the repository, at least one nuspec fails to build.

/vmr/.dotnet/sdk/9.0.100-preview.2.24103.2/Sdks/NuGet.Build.Tasks.Pack/buildCrossTargeting/NuGet.Build.Tasks.Pack.targets(221,5): error NU5019: File not found: 'netcoreapp3.1\testhost.exe'. [/vmr/src/vstest/src/package/Microsoft.TestPlatform.TestHost/Microsoft.TestPlatform.TestHost.csproj]

This is related to testhost not being an .exe on non-Windows. We should fix that and then protect that path on CI to not regress again.

Ideally this repository would stop using nuspecs and just use the normal NuGet Pack task which would make things much easier to condition on for different build modes (i.e. source-build vs VMR vs repo build).

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

1 participant