You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When referencing a lokal project "B.csproj" which is in a sibling directory nuget-inspector resolves it to a package B at nuget.org - which clearly is not the same.
Minimal example
<!-- MyProject.sln -->
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "A", "A\A.csproj", "{450DF022-8D0B-4415-9CE0-9276EDAA556A}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "B", "B\B.csproj", "{5E680340-6469-443E-A56D-D6B3936EAC16}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{450DF022-8D0B-4415-9CE0-9276EDAA556A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{450DF022-8D0B-4415-9CE0-9276EDAA556A}.Release|Any CPU.Build.0 = Release|Any CPU
{5E680340-6469-443E-A56D-D6B3936EAC16}.Release|Any CPU.ActiveCfg = Release|Any CPU
{5E680340-6469-443E-A56D-D6B3936EAC16}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
The text was updated successfully, but these errors were encountered:
georg-eckert-zeiss
changed the title
nuget-inspector detects lokal project reference as NuGet package
nuget-inspector detects local project reference as NuGet package
Jul 22, 2024
This issue probably is the root cause of #53, because if projects as mistaken for packages, of course no such package exists in any registry to resolve metadata for.
When referencing a lokal project "B.csproj" which is in a sibling directory
nuget-inspector
resolves it to a packageB
at nuget.org - which clearly is not the same.Minimal example
No simply run
nuget-inspector --project-file=MyProject/A/A.csproj --with-details --verbose --json="dev/ni-test-results/results.json"
And you get
Best regards,
Georg
The text was updated successfully, but these errors were encountered: