dotnet run gives error 0x80008096 (on 3.0.100-preview-009726, 009728, 009730)

See original GitHub issue

When doing a “dotnet new WinForms” or “dotnet new Wpf”, followed by a “dotnet run” (or starting from VS) I get an error code -2147450730 (0x80008096)

Existing applications are also giving the same error, with 009726 the error is the same. The last version which worked was 009722!

dotnet --info:

.NET Core SDK (reflecting any global.json):
 Version:   3.0.100-preview-009728
 Commit:    ac9f27d723

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.17763
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\3.0.100-preview-009728\

Host (useful for support):
  Version: 3.0.0-preview-27104-01
  Commit:  410cba8501

.NET Core SDKs installed:
  2.1.202 [C:\Program Files\dotnet\sdk]
  2.1.403 [C:\Program Files\dotnet\sdk]
  2.1.500-preview-009335 [C:\Program Files\dotnet\sdk]
  3.0.100-preview-009728 [C:\Program Files\dotnet\sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.All 2.1.1 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 3.0.0-alpha1-10663 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.App 2.1.1 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 3.0.0-alpha1-10663 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.DesktopUI.App 3.0.0-alpha-27030-3 [C:\Program Files\dotnet\shared\Microsoft.DesktopUI.App]
  Microsoft.NETCore.App 2.0.9 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 3.0.0-preview-27104-01 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]

Don’t know if it’s related to #134, “does not work” can be anything. I think that one is just a version mismatch.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
Lakritzatorcommented, Nov 7, 2018

Fixed in 009736! 👍

1reaction
peterhuenecommented, Nov 6, 2018

Looks like Microsoft.DesktopUI.App is out of date and is referencing the older Microsoft.NETCore.App.

I’m going to dupe this to #134 and follow-up with the issue there. Thanks for reporting this!

Read more comments on GitHub >

github_iconTop Results From Across the Web

windows - .NET Core console app fails from task scheduler ...
This failure happens when actually triggered on it's schedule or by right-clicking the task within the Task Scheduler app and clicking 'Run'.
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