-
Notifications
You must be signed in to change notification settings - Fork 867
Remove unnecessary dependencies. #3853
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
Conversation
Fixes restoring on .NET 10 SDK Preview.
the change seems fine. i will run it through our internal build/test system tomorrow. Edit: Dry-run build id 4c328e0e-ae43-4fa0-9cd8-9935d9d05efa |
seems like removing this affects the net45 target framework. |
@GarrettBeatty fixed and verified locally. |
thanks ill rerun the tests in our system tomorrow |
<PackageReference Include="Microsoft.CSharp" Version="4.4.1" /> | ||
</ItemGroup> | ||
<ItemGroup Condition="'$(TargetFramework)' == 'net45'"> | ||
<Reference Include="Microsoft.CSharp" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
did we want to make this use the same version as above (4.4.1)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The reference is provided by the framework, not a Nuget package.
The PR looks good to me, will approve it after |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DRY_RUN-cc6a6789-65eb-4275-92fd-72cbd7b38819
passed.
Description
This PR removes two unnecessary dependencies from non-shipping projects. In one case the dependency was entirely removed, and in the other it was restricted only to .NET Standard 2.0.
Motivation and Context
When building with the .NET 10 SDK, I am getting
NU1510
warnings-as-errors because of unnecessary dependencies.Testing
N/A
Screenshots (if appropriate)
Types of changes
Checklist
License