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

GetProjectsReferencingProjectJson has wrong "ProjectJson" metadata for projectname.project.json #79

Open
nkolev92 opened this issue Apr 22, 2020 · 0 comments

Comments

@nkolev92
Copy link
Contributor

The code today:

<ItemGroup Condition="'$(ResolveNuGetPackages)' == 'true'">
  <_ProjectReferencingProjectJsonFile Include="$(MSBuildProjectFullPath)">
    <ProjectReferences>@(ProjectReference)</ProjectReferences>
    <ProjectJson>$(MSBuildProjectDirectory)\project.json</ProjectJson>
  </_ProjectReferencingProjectJsonFile>
</ItemGroup>

The ProjectJson is hard-coded to project.json, but it might have been [projectname].project.json in reality.

(Mentioned internally in bug 149651 and also by @onovotny.)

Moved from: NuGet/Home#1863

cc @jasonmalinowski @clairernovotny

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

1 participant