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.

PMC: dotnet exec needs a managed .dll or .exe extension

See original GitHub issue

Sometimes on VS2017 (haven’t figured out why yet), the NuGetPackageRoot property goes missing on the new .NET Core projects. This results in the following error.

dotnet exec needs a managed .dll or .exe extension. The application specified was ‘bin\Debug\netcoreapp1.0\ConsoleApp1.runtimeconfig.json’

I’ve mitigated this in the feature work nightly builds, but we should try to get to the bottom of it.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

8reactions
bricelamcommented, Jan 3, 2017

You can probably add the following inside a PropertyGroup to make it work on the NuGet releases.

<NuGetPackageRoot>$(USERPROFILE)\.nuget\packages\</NuGetPackageRoot>
0reactions
haefelecommented, Dec 17, 2016

I’m running into the same issue, is there a workaround?

Read more comments on GitHub >

github_iconTop Results From Across the Web

dotnet exec needs a managed .dll or .exe extension while ...
dotnet exec needs a managed .dll or .exe extension while adding Entity Framework Core (1.1.0) Migrations ... I'm having the same issue. Could...
Read more >
dotnet exec needs a managed .dll or .exe extension while ...
[Solved]-dotnet exec needs a managed .dll or .exe extension while adding Entity Framework Core (1.1.0) Migrations-entityframework core.
Read more >
EF Core tools reference (Package Manager Console)
As mentioned earlier, the tools have to execute application code at design time. To do that, they need to use the .NET Core...
Read more >
Install Entity Framework Core
directly from Package Manager Console (PMC) within Visual Studio. Install EF Core Tools for dotnet CLI. If you want to execute EF Core...
Read more >
Package Manager Console Commands
The commands that you execute to manage migrations from the ... The migration files will be placed in a folder name Migrations by...
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