运行 从源代码中创建 .NET Core 应用程序的能力是否被移除?

Was the ability to run a .NET Core app from source code removed?

在现在的 .NET Core 的早期版本中,使用 dnx 工具链,可以直接从源代码 运行 应用程序,而无需编译为磁盘上的 DLL。此功能也出现在 Azure 上,允许您在服务器上编辑代码并将这些更改反映在实时站点中。

新的 dotnet CLI run 命令似乎会自动创建熟悉的 binobj 文件夹,其中包含已编译的 DLL,以及来自 Visual Studio 到 Azure 现在不再包含 C# 源,只包含 DLL。

是否不再可以使用新的 CLI 和其他工具来 运行 .NET Core 代码而不在磁盘上创建 DLL?

矮个大卫福勒 response:

Dynamic compilation is gone in RC2. It only exists for views now. There are no plans to bring it back.

为什么?

Architectural challenges and changes require to implement it on both .NET Framework and .NET Core. We did it with dnx and there were some problems (like some things being completely broken with in memory assemblies) that we chose to just avoid.