NuGet/Home

.targets/.props in build/ folder are not added to a (non-C#) CPS-based project upon package install

Open

#1850 aperta il 17 dic 2015

Vedi su GitHub
 (14 commenti) (5 reazioni) (0 assegnatari)HTML (292 fork)batch import
Priority:3Type:Bughelp wanted

Metriche repository

Star
 (1459 star)
Metriche merge PR
 (Merge medio 464g 23h) (1 PR mergiata in 30 g)

Descrizione

I have a CPS-based project type for a custom Language (not C# or VB). This project type reports the AssemblyReferences, DeclaredSourceItems, and UserSourceItems capabilities. I also created a NuGet package that just contains minimal .targets/.props in the build/ folder.

If I install this NuGet package to a C# Class Library project, the .targets/.props are successfully added to the .csproj.

However, if I install this NuGet package to my CPS project type, no .targets/.props are added to the project file (.sfproj).

I am using NuGet 3.3.0 both to create my package, and to install it.

Guida contributor