You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This line solves the problem of installing many packages in the project net461 and select net45 lib as the nearest framework not selecting netstandard15.
@ravenpride , @ericnewton76 #400 was not enough to fix this problem.
Adding the package via NuGet to a Net Framework 4.6.1 project in Visual Studios 2017 results in a stupid number of DLLs in your bin/[Debug/Release]/ folder.
I have faced a problem of installing many packages (of netstandard15, not needed) in a project net461.
I opened an issue in nuget
I was adviced by @PatoBeltran in nuget team:
I did POC, by adding an empty group for net45, as given below:
View the details of the : solution
This line resolved the problem and installed ONE and only one package and avoided installation of the dependencies of netstandard15.
My Suggested solution:
You can modify the file CommandLine.nuspec by adding one and only one line to the dependencies section, as given below:
The dependencies section will become:
This line solves the problem of installing many packages in the project net461 and select net45 lib as the nearest framework not selecting netstandard15.
I tested the solution as described here
and it's working fine.
Note:
It's nice to replace all pre-release packages with its RTM release for .NETStandard1.5, e.g.
Let me know if any clarification is needed.
The text was updated successfully, but these errors were encountered: