Repository navigation
add C++ Project and C++ ARM/ARM64 Desktop application PackageReference support - #67
mingkuang-Chuyu wants to merge 7 commits into
Conversation
|
targetFramework matching order For example, if the following 2 paths exist in a package:
If we use the v142 toolset (14.23.28105 vs2019), then If we use the v141 toolset (14.13.26128 vs2017), then |
| <!-- The items in _NuGetContentItems need to go into the appropriately-named item group, but the names depend upon the items | ||
| themselves. Split it apart. --> | ||
| <CreateItem Include="@(_NuGetContentItems)" Condition="'@(_NuGetContentItems)' != ''"> | ||
| <CreateItem Include="@(_NuGetContentItems)" AdditionalMetadata="PrecompiledHeader=NotUsing" Condition="'@(_NuGetContentItems)' != ''"> |
There was a problem hiding this comment.
The PrecompiledHeader is unique to C++ projects, and this option reduces the generality of the asset. Because we don't know if the project has precompiled headers enabled. And we don't know the name of the precompiled header file.
For other projects adding PrecompiledHeader, nothing will happen.
So we can add “PrecompiledHeader=NotUsing”.
|
@mingkuang-Chuyu Are these changes still needed? This PR has been open for a while. |
|
@MiYanni 2 years is too much to say "… for a while."! 😂 Also, I think In fact, I do want to know what's the current status!! |
|
C++/CLI .NET Core are the only types slated to get PackageReference support: NuGet/Home#8195 C++ native is something not planned right now: Voicing your concern here is the right approach: https://developercommunity.visualstudio.com/t/use-packagereference-in-vcxproj/351636. I can't really make that decision myself. Refer to any updates in that issue. |
|
Based on the discussion, I believe the best course of action at the moment is to close this PR. It sounds like the best place to help out is by following the links that @nkolev92 provided. If these changes could be utilized in the future, the PR can be reopened at any time. |
|
@MiYanni I hope to merge as soon as possible. Your(MS) work efficiency is very high! |
|
Is there any ETA on this feature? It is sorely needed. |
Home issue
NuGet/Home#8874
As we all know, packages.xml easily leads to wasted space and a large number of IO copy operations. So I hope that nuget can support VC++ to support PackageReference style.
New features