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.

Correct Startup project has been filtered out

See original GitHub issue

We have several projects, 2 are relevant: Domain.csproj Web.csproj

Domain contains the migrations, and the DbContext class. Web contains the startup code.

To add a migration is (from within the domain project): dotnet ef --startup-project ../web migrations add …

However the ‘Add Migration’ dialog does not present the Web project as an option.

Startup project list:

Migrations project list:

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
lxallncommented, Feb 7, 2022

@seclerp yes, adding the .Design nuget package worked fine.

0reactions
seclerpcommented, Feb 7, 2022

Closing this for now, please track #58 for detection logic improvements

Read more comments on GitHub >

github_iconTop Results From Across the Web

Incorrectly prompting me to update solution filter
Right click the solution->Save As Solution Filter->Switch to Solution Filter. Debug/F5 the project, observe the Solution Filter. Actual results: No prompt pops ...
Read more >
Load a subset of projects - Visual Studio (Windows)
In this article. Open a filtered solution; Toggle unloaded project visibility; Load project dependencies; Solution filter files; See also.
Read more >
Why is "Set as Startup" option stored in the suo file and not the ...
@Oliver: Right-click Solution -> Set StartUp Projects... -> Multiple startup projects. One-click starts multiple. – Anton. Jul 10, 2013 at 21:20.
Read more >
ASP.NET CORE: Error – Unable to start debugging. The ...
Right click on the Visual Studio 2015 Shortcut · Select the Shortcut tab · Click on Advanced · Check the box to “Run...
Read more >
How To Filter And Select Startup Ideas - LinkedIn
One of the challenges with ideas is figuring out how to “filter” them. ... Here's an example idea: Some time ago, I had...
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