NuGet/Home

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

Open

#1.850 aberto em 17 de dez. de 2015

Ver no GitHub
 (14 comments) (5 reactions) (0 assignees)HTML (292 forks)batch import
Priority:3Type:Bughelp wanted

Métricas do repositório

Stars
 (1.459 stars)
Métricas de merge de PR
 (Mesclagem média 464d 23h) (1 fundiu PR em 30d)

Description

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.

Guia do colaborador