【发布时间】:2017-06-06 00:21:02
【问题描述】:
我在 Visual Studios MacOS Preview 中创建了一个控制台应用程序(.Net Core)。在项目解决方案中,我看不到我的 program.cs 也没有其他东西可用,它说 Project not built in active configuration
而项目解决方案应该是这样的
我已经安装了.net core for macOS。还使用 Homebrew 配置完成。我已经在 osx 中安装了 openssl 和 openssl@1.1,所以当我尝试用 homebrew 重新安装 openssl 时,它说
Warning: openssl is a keg-only and another version is linked to opt.
Use `brew install --force` if you want to install this version
另一方面,确保 .net 核心工作正常。我刚刚在 Visual Studio Code 中编译了 .net core C# 应用程序。
【问题讨论】:
-
您更新到预览版 3 了吗?它仍然是一个预览版本,所以会出现错误。
-
@LexLi 是更新了,但这对我来说看起来不是错误。这是一些配置问题
标签: c# macos visual-studio xamarin .net-core