Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GenerateDepsFile should honor ReferenceOutputAssembly="false" on ProjectReference #1020

Closed
eerhardt opened this issue Mar 21, 2017 · 1 comment

Comments

@eerhardt
Copy link
Member

Repo steps

Create a project with a ProjectReference that looks like:

<ProjectReference Include="..\Library\Library.csproj" ReferenceOutputAssembly="false" />

dotnet build the outer project.

Expected results

The build should succeed

Actual results

The build fails

C:\Program Files\dotnet\sdk\1.0.0\Sdks\Microsoft.NET.Sdk\build\Microsoft.NET.Sdk.targets(92,5): error : Cannot find project info for 'F:\DotNetTest\NoCompile\Library\Library.csproj'. This can indicate a missing project reference. [F:\DotNetTest\NoCompile\App\App.csproj]

Notes

We should look for ReferenceOutputAssembly metadata on ProjectReferences, and skip them when generating the deps.json file.

@rainersigwald
Copy link
Member

Duplicate of #939.

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

No branches or pull requests

2 participants