Skip to content
This repository has been archived by the owner on Dec 18, 2017. It is now read-only.

Add support for including outputs from other project types #325

Closed
davidfowl opened this issue Jun 12, 2014 · 2 comments
Closed

Add support for including outputs from other project types #325

davidfowl opened this issue Jun 12, 2014 · 2 comments

Comments

@davidfowl
Copy link
Member

The idea behind this feature is to make other things (csproj, assemblies) visible to vNext via project.json. Today, project.json can only reference other things that have a project.json or nuget packages. This doesn't change that but it allows other project types to be seen as a project.json based project without opting into the new compilation model.

Scenarios

  1. Using a csproj as a project reference
  2. Packing output from other project types (csproj) into a single nupkg
{
  "frameworks": {
    "net45": {
      "dependencies": {
        "Newtonsoft.Json": "5.0.8"
      }
    },
    "win8": {
      "bin": {
        "assembly": "../ClassLibrary3.WindowsStore8/bin/{configuration}/ClassLibrary3.dll",
        "pdb": "../ClassLibrary3.WindowsStore8/bin/{configuration}/ClassLibrary3.pdb"
      }
    },
    "k10": {
      "dependencies": {
        "Newtonsoft.Json": "5.0.8"
      }
    }
  }
}

In the above example. We're building a single vnext class library with multiple outputs. The windows8 target framework will not be compiled but will instead use the pdb and dll specified for building the nuget package (kpm build)

@davidfowl davidfowl added this to the 1.0.0-alpha3 milestone Jun 24, 2014
@davidfowl davidfowl self-assigned this Jun 24, 2014
@davidfowl davidfowl changed the title Add support for exporting binaries from the project Add support for including outputs from other project types Jul 22, 2014
@borgdylan
Copy link

Would it be possible to support any buildable msbuild project instead of only csproj?

@davidfowl
Copy link
Member Author

I never finished writing up this feature but it's not tied to msbuild. I was just listing scenarios.

In fact we're not going to call msbuild at all but you'll be able to pick up outputs from those projects.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants