Could not load file or assembly Microsoft.DotNet.ProjectModel
See original GitHub issueWhen 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:
- Created 7 years ago
- Comments:9 (5 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for working through the issue with me. You are the best!
GitHub Selfies
It works now. Thanks! 👍