dotnet / dotnet/NuGet.BuildTasks

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

Open
#79 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PowerShell
Stars
47
Forks
65
PR merge metrics
No merged PRs in 30d

Description

The code today:

```

<_ProjectReferencingProjectJsonFile Include="$(MSBuildProjectFullPath)">
@(ProjectReference)
$(MSBuildProjectDirectory)\project.json

```

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: https://github.com/NuGet/Home/issues/1863

cc @jasonmalinowski @clairernovotny

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.