程序“ [13492] dotnet.exe”已退出,代码为

编程入门 行业动态 更新时间:2024-10-08 13:38:17
本文介绍了程序“ [13492] dotnet.exe”已退出,代码为-2147450749的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

在尝试构建和运行hello world dotnetcore控制台应用程序时,该应用程序将关闭,没有任何异常。在调试输出上,我看到以下内容。

When trying to build and run a hello world dotnetcore console app the app closes without any exceptions. On the debug output I see the following.

程序'[13492] dotnet.exe'已退出,代码为-2147450749(0x80008083)

The program '[13492] dotnet.exe' has exited with code -2147450749 (0x80008083).

我的project.json

My project.json

{ "version": "1.0.0-*", "buildOptions": { "emitEntryPoint": true }, "dependencies": { "Microsoft.NETCore.App": { "version": "1.0.0-*", "type": "platform" }, "NuGet.CommandLine": "3.4.3" }, "frameworks": { "netcoreapp1.0": { "imports": "dnxcore50" } } }

my program.cs

my program.cs

public class Program { public static void Main(string[] args) { Console.WriteLine("help me"); Console.ReadLine(); } }

我正在使用最新的VStudio更新3。

I am using the latest, VStudio update 3.

推荐答案

我确实有@Lex Li和@DavidG建议的global.json。问题是RC2的一些剩余位。我卸载了所有核心组件,然后重新安装并重新启动。之后,事情又恢复了。谢谢大家的其他解决方案!

I did have a global.json as @Lex Li and @DavidG proposed. The problem was some leftover bits from RC2. I uninstalled all core components, reinstalled, and rebooted. After that things worked again. Thanks everyone for your other solutions !

更多推荐

程序“ [13492] dotnet.exe”已退出,代码为

本文发布于:2023-11-12 20:43:26,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1582487.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:代码   程序   dotnet   exe

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!