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.

Could not load file or assembly Microsoft.DotNet.ProjectModel

See original GitHub issue

When trying to run this on Windows 10, it crashes. (And yes, I’ve installed, re-installed and re-re-installed .NET Core 1.0)

Console output:

C:\Dev\Git\DotNetCoreKoans>dotnet restore
log  : Restoring packages for C:\Dev\Git\DotNetCoreKoans\project.json...
log  : Restoring packages for tool 'Microsoft.DotNet.Watcher.Tools' in C:\Dev\Git\DotNetCoreKoans\project.json...
log  : Lock file has not changed. Skipping lock file write. Path: C:\Dev\Git\DotNetCoreKoans\project.lock.json
log  : C:\Dev\Git\DotNetCoreKoans\project.json
log  : Restore completed in 2079ms.

C:\Dev\Git\DotNetCoreKoans>dotnet watch run
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.DotNet.ProjectModel, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The system cannot find the file specified.
   at Microsoft.DotNet.Watcher.Tools.Program.<>c__DisplayClass3_0.<MainInternal>b__0()
   at Microsoft.Extensions.CommandLineUtils.CommandLineApplication.Execute(String[] args)
   at Microsoft.DotNet.Watcher.Tools.Program.MainInternal(String[] args, CancellationToken cancellationToken)
   at Microsoft.DotNet.Watcher.Tools.Program.Main(String[] args)

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
NotMyselfcommented, Jul 26, 2016

Thanks for working through the issue with me. You are the best!

selfie-1 GitHub Selfies

1reaction
arntjcommented, Jul 26, 2016

It works now. Thanks! 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't publish .NET Core Web Application (could not load ...
Create a new .Net Core Web Application. · Right Click References and select Manage NuGet Package. · Search for Microsoft.DotNet.ProjectModel under ...
Read more >
dotnet ef throws Could not load file or assembly Microsoft. ...
Try uninstalling the old versions of .Net Core rc2 and the Tooling Preview 1. Then delete the cache.
Read more >
Could Not Load File Or Assembly 'System.Runtime, ...
Could Not Load File Or Assembly 'System.Runtime, Version=6.0.0.0 · Right-click on the project and select Properties. · In the Properties window, ...
Read more >
System.IO.FileNotFoundException: 'Could not load file or ...
I have an application in .net core. the application was running fine, ... System.IO.FileNotFoundException: 'Could not load file or assembly.
Read more >
Cannot load file or assembly 'System.Runtime'
The system cannot find the file specified. Here is the log: Assembly manager loaded from: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.
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