Skip to content

Make the warning error, and restore previous props so we attempt to run #15078

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

Merged

Conversation

nohwnd
Copy link
Member

@nohwnd nohwnd commented May 28, 2025

Description

Add targets so we don't fallback on package restore on unsupported tfms, and don't end up restoring wrong tfm by accident. Add props back in so we attempt to run via dotnet test.

Related issue

Related #15069

@nohwnd nohwnd enabled auto-merge (squash) May 29, 2025 16:09
@nohwnd nohwnd merged commit 490850a into microsoft:rel/17.14 May 29, 2025
7 checks passed
nohwnd added a commit to nohwnd/vstest that referenced this pull request Jun 3, 2025
…un (microsoft#15078)

* Make the warning error, and restore previous props so we get errors when user suppresses

* Update src/package/Microsoft.NET.Test.Sdk/Microsoft.NET.Test.Sdk.nuspec

* Correct file count, because we are adding more props

* Wrong edit
nohwnd added a commit that referenced this pull request Jun 5, 2025
* Warning on unsupported tfms (#15072)

* Add warning when restoring old TFM

* revert

* Revert "revert"

This reverts commit 81c7638.

* Make the warning error, and restore previous props so we attempt to run (#15078)

* Make the warning error, and restore previous props so we get errors when user suppresses

* Update src/package/Microsoft.NET.Test.Sdk/Microsoft.NET.Test.Sdk.nuspec

* Correct file count, because we are adding more props

* Wrong edit
This was referenced Jul 21, 2025
This was referenced Aug 19, 2025
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

Successfully merging this pull request may close these issues.

2 participants