xoofx/UnityNuGet

Placeholder files from dotnet/runtime packages cause warnings

Rabadash8820 opened this issue · 8 comments

Please see the conversation over at dotnet/runtime#83710. Apparently, many dotnet/runtime packages (e.g., System.Reflection.Emit) include a placeholder _._ file under different framework folders in the lib folder of the nupkg. This indicates that the package has nothing to add in those frameworks; all functionality is already present in the framework binaries. Unfortunately, UnityNuGet (or the Editor itself, I'm not sure which) is removing this placeholder file (maybe treating it as a hidden asset), but leaving a .meta file. This leads to Console warnings about .meta files with no associated folder. These warnings are quite distracting, seeming to appear every time the project is opened. I'm also concerned now that UnityNuGet is falling back to the wrong version of these NuGets, rather than referencing nothing like other NuGet clients would.

This issue has been automatically marked as stale because it has not had recent activity.
It will be closed in 14 days if no further activity occurs.
Thank you for your contributions.

If you think this issue should stay open, please remove the Stale label or comment on the issue.

I'm not sure if this Issue has been addressed in the latest UnityNuGet versions, but if so then I think that the fix should be acknowledged by a developer here before this Issue is closed.