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.

No executable found matching command "dotnet-migrate" - VS2017

See original GitHub issue

Steps to reproduce

Open VS2015 solution (NLog.Web.AspNetCore.sln, (https://github.com/NLog/NLog.Web/blob/e52d77e96fb23785990af910ef2c8d6883efcac2/NLog.Web.AspNetCore.sln) in VS2017 RC

It needs migration

image

reload project and got a upgrade dialog:

image

Press, “OK”

Expected behavior

Upgrades to new format

Actual behavior

Fails. Reinstall VS2017 didn’t help.

Overview
Project	Path	Errors	Warnings	Messages
NLog.Web.AspNetCore	NLog.Web.AspNetCore\NLog.Web.AspNetCore.xproj	2	1	3
Solution and projects
NLog.Web.AspNetCore
Message
NLog.Web.AspNetCore\NLog.Web.AspNetCore.xproj: Could not read post-migration report at 'C:\Users\j.verdurmen\AppData\Local\Temp\yctk2ww2.npi'.
NLog.Web.AspNetCore\NLog.Web.AspNetCore.xproj: Failed to migrate XProj project NLog.Web.AspNetCore. 'dotnet migrate --skip-backup -s -x "X:\nlog\NLog.Web\NLog.Web.AspNetCore\NLog.Web.AspNetCore.xproj" "X:\nlog\NLog.Web\NLog.Web.AspNetCore" -r "C:\Users\j.verdurmen\AppData\Local\Temp\yctk2ww2.npi" --format-report-file-json' exited with error code 1.
NLog.Web.AspNetCore\NLog.Web.AspNetCore.xproj: No executable found matching command "dotnet-migrate"

Environment data

.NET Command Line Tools (1.0.0-preview2-1-003177)

Product Information:
 Version:            1.0.0-preview2-1-003177
 Commit SHA-1 hash:  a2df9c2576

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.14393
 OS Platform: Windows
 RID:         win10-x86

image

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
andegrecommented, Jun 1, 2017

Why is it so hard to tell where the installer is for this CLI? I installed VS2017, obviously doesn’t work. Where’s the installer to get the CLI RC3?

0reactions
304NotModifiedcommented, Feb 14, 2017

Thanks for the support!

Read more comments on GitHub >

github_iconTop Results From Across the Web

DotNet CLI Tool fails with "No executable found matching ...
DotNet CLI Tool fails with "No executable found matching command "dotnet-migrate-2017" · As an aside: do you need a global.json file? Generally ...
Read more >
no executable found matching dotnet-migrate
NET Core was installed. I'm still getting this error when I try to open it in VS 2017 15.8.1. It prompts to do...
Read more >
How to fix error — “dotnet : No executable found matching ...
NET Core Web API 2.0 projects with EF Core 2.0, you may encounter this error: “dotnet : No executable found matching command “dotnet-ef” ......
Read more >
Fix "No executable found matching command dotnet-ef ...
How to fix the "No executable found matching command dotnet-ef" error in Visual Studio 2017 when using Entity Framework Core 2.x with ASP....
Read more >
Troubleshooting the dotnet ef command for EF Core ...
... when attempting to use EF Core migrations at the command line. The most common one is. No executable found matching command "dotnet-ef" ......
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