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

chore: Remove NuGet.Frameworks dependency from test projects #9276

Merged
merged 8 commits into from
Nov 16, 2023

Conversation

filzrev
Copy link
Contributor

@filzrev filzrev commented Oct 7, 2023

This Draft PR is intended to execute CI tests.
It'll be merged to main branch when Microsoft.NET.Test.Sdk v17.9 is released.

What's included in this PR

  • Update Microsoft.NET.Test.Sdk package to 17.9.0 (preview)
  • Remove NuGet.Frameworks reference from test projects
  • Remove ModuleInitializer temporary workaround (It's required when preview version of .NET SDK installed)

Background
Latest vstest packages (v17.9) remove dependency on Nuget.Frameworks
So NuGet.Frameworks package will not be needed in the future.

Note: v17.9 seems to be released on Feb '24.

@codecov
Copy link

codecov bot commented Oct 7, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (a7b919b) 71.38% compared to head (a5ce82e) 71.39%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9276      +/-   ##
==========================================
+ Coverage   71.38%   71.39%   +0.01%     
==========================================
  Files         561      561              
  Lines       23961    23961              
  Branches     4163     4163              
==========================================
+ Hits        17105    17108       +3     
+ Misses       5762     5759       -3     
  Partials     1094     1094              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@yufeih yufeih force-pushed the main branch 2 times, most recently from 8896961 to 750b554 Compare November 8, 2023 05:35
@yufeih
Copy link
Contributor

yufeih commented Nov 16, 2023

Merge this to avoid dependabot using private NuGet feed. It's OK to use preview releases just for tests.

@yufeih yufeih marked this pull request as ready for review November 16, 2023 08:52
@yufeih yufeih merged commit 0a19218 into dotnet:main Nov 16, 2023
7 checks passed
@yufeih yufeih added the engineering Makes the pull request to appear in the "Engineering" section of the next release note label Nov 20, 2023
p-kostov pushed a commit to ErpNetDocs/docfx that referenced this pull request Jun 28, 2024
…t#9276)

* chore: fix NuGet.Frameworks package version

* chore: remove NuGet.Frameworks dependency from test projects

* chore: update test sdk version

* chore: remove NuGet.config file that is used for NuGet.Frameworks

---------

Co-authored-by: Yufei Huang <yufeih@live.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
engineering Makes the pull request to appear in the "Engineering" section of the next release note
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants