Support additional target frameworks such as for Xamarin, UWP, etc
See original GitHub issueThe current SDK is missing what should be static reference info for its property groups. That makes using multi-targeting much harder and puts more useless info in the csproj.
For example: https://github.com/onovotny/Zeroconf/blob/367c63d21dacf841c204b13ea178fdce174bb93b/Zeroconf/Zeroconf.csproj#L3
All of those property groups should be in the SDK (with the possible exception of the TargetPlatformMinVersion attribute for UAP, but even there it can default to 10.0.10240 easily).
What should be in the SDK:
- All “inbox” TFM’s
- All PCL profiles with standard aliases (portable-net45+win8+wpa81+wp8), etc. Bonus points for parsing and allowing any order of matching frameworks (via NuGet core logic in task?)
- All installable frameworks (wp8, win, wpa, sl, uap, all Xamarin tfms)
Those property groups should include the appropriate LanguageTargets
that point to the correct version to ensure a proper build. For a user, it should “just work”.
I think it’s ok that some TFM’s cannot be built with dotnet build
, but require msbuild
so that it picks up the correct MSBuildExtension paths for built-in targets. Bonus points for an error/warning if the appropriate targets is missing telling the user to install foobar SDK to get it. Clearly some of these builds will only work on Windows too, but that’s ok.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:97
- Comments:17 (5 by maintainers)
Top GitHub Comments
Any updates on this?
@xperiandri are you serious?