Closed
Description
openedon Oct 16, 2016
We are temporarily using the short tfm to exchange with NuGet's Nominate Restore in #524 to workaround two issues:
- TargetFrameworkMoniker is not available until first restore. This results in default TFM NET Framework 4.0 always being sent.
- NuGet should use target framework in generated props/targets that matches the TF in the Project File. So e.g. if the Project File has TF
netcoreapp10
, we exchange canonical TFM.NETCoreApp,Version=v1.0
that NuGet processes tonetcoreapp1.0
, which is different from what is in the file. One solution would be for NuGet to filter by canonical TFM instead of TF.
Once these are resolved, revert back to using the full TargetFrameworkMoniker.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment