通过 VS Online 将 .Net Core 应用程序发布到 Azure 发布后的“运行时"文件夹 [英] 'runtimes' Folder after Publishing a .Net Core App to Azure Publish Via VS Online

查看:21
本文介绍了通过 VS Online 将 .Net Core 应用程序发布到 Azure 发布后的“运行时"文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

与我的所有项目文件一起发布的runtimes"文件夹的目的是什么?我有一个 VS Online 帐户,并通过那里配置了构建/部署过程.runtimes"文件夹肯定不是源代码管理或我的项目文件夹中存在的文件夹.

What is the purpose of the 'runtimes' folder that gets published along with all my project files? I have a VS Online account, and have the build/deploy process configured through there. The 'runtimes' folder is certainly not a folder that exists in source control or my project folder.

'runtimes' 文件夹内容:

'runtimes' folder contents:

示例内容:

谢谢,
德鲁

推荐答案

之所以存在这些问题,是因为您将应用程序构建为自包含应用程序,而不是依赖于安装在执行它的机器上的框架的应用程序.文档可以在 https://docs.microsoft.com/en 上找到-us/dotnet/articles/core/deploying/ 描述可用于控制此输出的各种选项.

These exist because you are building your application as a self contained application as opposed to one that is dependent upon the framework being installed on the machine executing it. Documentation can be found at https://docs.microsoft.com/en-us/dotnet/articles/core/deploying/ describing the various options that can be used to control this output.

这篇关于通过 VS Online 将 .Net Core 应用程序发布到 Azure 发布后的“运行时"文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆