Custom CPS projects require AssemblyReferences project capability in order to restore. #8071
Labels
Functionality:Restore
Partner:Project-System
Priority:2
Issues for the current backlog.
Product:VS.Client
Style:PackageReference
Type:Bug
Milestone
Our custom project systems are built on CPS and use a project SDK to import our targets. We also import the Microsoft common targets. Ours are not .NET project types, but full-on custom projects which produce domain-specific (non-assembly) artifacts. While we do require support for the
ProjectReferences
capability and need to see project references in the dependencies tree in Solution Explorer, we have no notion of assembly references. However, without declaring theAssemblyReferences
project capability, our project does not perform a NuGet restore automatically when we create the project with our template wizard nor does it restore an existing project when opened. With theAssemblyReferences <img width="1535" alt="Untitled" src="https://user-images.githubusercontent.com/1080656/56930757-b40c8680-6a92-11e9-9f75-530eb41f86e1.png">
project capability in place, along with imports for the corresponding XAML rules files, everything works fine.This leads to confusion for our customers that see dependencies that don't apply. Please see the attached screenshot.
The text was updated successfully, but these errors were encountered: