Skip to content

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

Merged
Jakub JareÅĄ (nohwnd) merged 5 commits into
microsoft:rel/17.14from
nohwnd:error-on-unsupported-tfms-and-add-native
May 29, 2025
Merged

Jakub JareÅĄ (nohwnd) merged 5 commits into
microsoft:rel/17.14from
nohwnd:error-on-unsupported-tfms-and-add-native

Conversation

@nohwnd

Copy link
Copy Markdown
Member

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

Comment thread src/package/Microsoft.NET.Test.Sdk/Microsoft.NET.Test.Sdk.nuspec Outdated
@nohwnd
Jakub JareÅĄ (nohwnd) enabled auto-merge (squash) May 29, 2025 16:09
@nohwnd
Jakub JareÅĄ (nohwnd) merged commit 490850a into microsoft:rel/17.14 May 29, 2025
Jakub JareÅĄ (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
Jakub JareÅĄ (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 Oct 24, 2026
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