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
ManagedCodeConventions allows target and prop files to exist at the root of build directory. However, it assumes the tfm for these files is '.NetFramework Version = 0.0`. Consequently these files do not get installed in projects that are incompatible with the .net tfm (such as UAP)
The text was updated successfully, but these errors were encountered:
The right fix for this would be to resolve the tfm as Any framework. cc @davidfowl@anurse
pranavkm
changed the title
ManagedCodeConventions resolves the MsBuild files in the root of build directory as NET00 tfm
ManagedCodeConventions resolves MsBuild files in the root of build directory as NET00 tfm
Jul 17, 2015
I would actually suggest moving to build\any\... for these, since the optional two-layer folder structure has been the reason NuGet has to update the server before packages can be uploaded for a new framework, even though the server doesn't really care. Isn't the idea of the Managed Code Conventions 2.0 to require a sub-folder, even if that sub-folder is just any?
@anurse I think this fix was mainly to get old packages working again, not for the new any convention. We should support build/any/id.targets.
Should we ignore TFM sub folders if files exist in the root, or should we ignore the root if tfm folders exist? It is messy to support both conventions, but I think we've already decided to do that here.
ManagedCodeConventions allows target and prop files to exist at the root of
builddirectory. However, it assumes the tfm for these files is '.NetFramework Version = 0.0`. Consequently these files do not get installed in projects that are incompatible with the .net tfm (such as UAP)The text was updated successfully, but these errors were encountered: