AdamsLair / duality

a 2D Game Development Framework
https://adamslair.github.io/duality
MIT License
1.41k stars 288 forks source link

[WIP] Migrated projects to packagereference #720

Closed Barsonax closed 5 years ago

Barsonax commented 5 years ago

Migration went pretty smooth but noticed some build errors: image

Seems it does not copy some references to the build output folder for some reason. Not sure why. I tested it with a .NET framework console app and it works correctly in that case so it might be that the portable target is causing issues here.

ilexp commented 5 years ago

Looked into this a bit and didn't find a way to make it work. There were two issues:

Overall I'm not sure the new PackageReference style is fully supported for old / PCL style projects. We may need to defer this until switching to .NET Standard (see #573). As far as issue #718 goes, we might have more luck by investigating nuget pack-style options.

Unless you still have some options to try or want to investigate further, I'd close this PR without merge.

Barsonax commented 5 years ago

Nope I don't have a solution for this other than switching to net standard which is another issue.

So this PR can be closed as its main purpose was to check if this was a feasible path.