project-system icon indicating copy to clipboard operation
project-system copied to clipboard

Project build system support for ref assemblies (PCL bait-and-switch)

Open fubar-coder opened this issue 9 years ago • 3 comments

From @fubar-coder on 24 May, 2016

Copied from: dotnet/cli#3211

Steps to reproduce

You want to create a bait-and-switch NuGet package by specifying a build for the ref folder instead of the lib folder.

Expected behavior

A way to specify in the csproj/xproj/project.json that the build output is packaged to the ref, instead of the lib folder.

Actual behavior

No way to include it except by using packInclude (or similar means).

fubar-coder avatar Jul 22 '16 14:07 fubar-coder

From @davidfowl on 24 May, 2016

We're not going to be doing features like this as we're eventually moving to msbuild based projects. This kinda of feature has far reaching impact of things like tooling, nuget, intellisense, etc.

fubar-coder avatar Jul 22 '16 14:07 fubar-coder

From @fubar-coder on 24 May, 2016

That's why I wrote: "Project build system", not explicitly project.json. There should be a way to do this kind of stuff with msbuild based projects.

fubar-coder avatar Jul 22 '16 14:07 fubar-coder

From @davidfowl on 24 May, 2016

+1000 :smile:

fubar-coder avatar Jul 22 '16 14:07 fubar-coder