-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Remove unnecessary placeholders in .nuspec's #18214
Conversation
Can you explain what changed such that we don't need it anymore? |
These 2 packages contain executables & don't place anything in their It looks like what happened was we handled this nuget error differently in the 2 branches, and since 3.0 merges up to 3.1/master, and 3.0 has hardcoded We could just change the TFMs in 3.0 to match 3.1/master, and use the same workaround in all 3 branches. Or given that we're already in a weird-ish state, we could take this PR, then resolve the auto-merge PR in favor of 3.1. |
@@ -13,6 +13,5 @@ | |||
<file src="$OutputBinary$" target="analyzers\dotnet\cs\" /> | |||
<file src="$OutputSymbol$" target="analyzers\dotnet\cs\" /> | |||
<file src="$PackageIcon$" target="" /> | |||
<file src="$NetStandard13PlaceholderFile$" target="lib\netstandard1.3" /> |
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.
It's hard to tell in GitHub. Are you deleting the _._
files?
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.
Yes
Definitely want to hear from the EF team here. |
The code being deleted was added by build team only during release/3.0 and now it is being removed.
|
I believe we started needing these placholders due to a recent Nuget update. I don't know why we decided to change the TFMs in 3.1, but that's what led to the disparity between the 2 workarounds.
The following as added in 3.1, which handled the placeholder for |
I'm going to guess that changing the TFM in 3.1 wasn't the right thing to do :-/ |
I seem to remember a conversation in one of the GitHub PRs where the resolution for the tool was to move forward. Of course, that may have been the wrong call and we should definitely do the Right Thing:tm: going forward. (@ajcvickers may have been out when we had that conversation.) So, @aspnet/efteam does the latest and greatest |
Yes. But that doesn't have anything to do with the target framework of dotnet-ef. We should target the same same framework as the tools that ship as part of the SDK. It's reasonable to say that you need the 3.1 SDK to use dotnet-ef 3.1. The target frameworks of the |
tactics approved |
@bricelam is there work necessary in the |
Seems fine. Filed #18316 to double-check that everything is working as expected. |
Merging since |
In release/3.0, we needed placeholder files for
NetStandard1.3
andNetCoreApp2.1
in these 2 nuspecs, but that's not the case in release/3.1 or master. Their existence caused nuget package validation to fail.@dougbu @Pilchie do you think it's worth taking this for 3.1-preview1? I lean towards waiting for preview2, since it doesn't block the build, and the effect on customers is minimal (an extra empty file in these 2 nupkg's).