question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Missing closure of project references leads to crash in GenerateDepsFile

See original GitHub issue

Repro steps

  • Make new projects with following P2P reference graph
    • ConsoleApp (.NET Core) -> ClassLibrary1 (.NET Standard) -> ClassLibrary2 (.NET Standard)
  • Add reference to nuget package in ClassLibrary2 (say Newtonsoft.Json)
  • build

Expected result

Actual result

3>ConsoleApp -> C:\...\bin\Debug\netcoreapp1.0\ConsoleApp.dll
3>C:\...\Microsoft.NET.Sdk.targets(77,5): error MSB4018: The "GenerateDepsFile" task failed unexpectedly.
3>C:\...\Microsoft.NET.Sdk.targets(77,5): error MSB4018: System.Exception: Could not find valid a SingleProjectInfo for project 'C:\...\ClassLibrary2.csproj'

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
srivatsncommented, Dec 15, 2016

The error message here was improved. However since we are doing transitive P2Ps now we shouldn’t get into this situation. Closing this issue. @rocifier if you see a repro for the crash mentioned above please file a separate issue.

1reaction
RainingNightcommented, Nov 23, 2016

+1

Read more comments on GitHub >

github_iconTop Results From Across the Web

c# - .NET Core project reference issues - "Cannot find ...
NET Framework)', the following error appears: "Cannot find project info for 'XXX.csproj'. This can indicate a missing project reference." Below ...
Read more >
Doxygen Manual: Changelog
When upgrading the Doxyfile (using doxygen -u) the existing values of DOT_FONTNAME and DOT_FONTSIZE will be migrated. Refactoring and cleanup. Dependency ...
Read more >
Xamarin
Our app is crashing when it's a release arm only build and is deployed on a x86_64 emulator (API 33 emulator). There are...
Read more >
Recent changes
Recent changes. This page lists all modifications and evolutions done in PlantUML. V1.2023.10 (12 Jul, 2023). Exception error when adding note to timing ......
Read more >
coNCePTuaL User's Guide
This document presents a simple, special-purpose language called coNCePTuaL. coN-. CePTuaL is intended for rapidly generating programs that measure the ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found