azure - 如何将 .props 文件添加到 C# 项目?

标签 azure visual-studio-2013 azure-webjobs

我正在尝试设置 Azure Web 作业的持续交付,并遇到 this post来自 Azure 博客。步骤之一是将 .props 文件添加到 Web 作业应用程序的属性中。

我在添加 .props 文件时遇到困难。我的网络搜索表明 props 文件仅适用于 C++ 项目。但我认为博文中的 Web 作业项目是用 C# 构建的。

最佳答案

根据我对本文的理解,添加一个新的文本 och xml 文件并将其命名为 WebJobs.props 就足够了。另请查看屏幕截图,说明应如何编辑它。这是该文件的另一个示例。 https://github.com/davidebbo-test/WebAppWithWebJobsVS/commit/15e7579075312d620fe42a8746503ba82adf5305

关于azure - 如何将 .props 文件添加到 C# 项目?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30993880/

相关文章:

c# - 无法连接到 Redis 服务器;创建断开的多路复用器

sql-server - 当数据库名称不在 url 中时,Microsoft SQL JDBC Spring 启动配置不起作用

Azure:通过 ARM 模板将角色分配给存储容器

javascript - Components.classes 错误 - VS 2013 中的 FireFox 附加组件(扩展)

debugging - Visual Studio 中的并行 watch 与 watch && 汽车与本地人

azure - 如何扩展 Azure Webjobs

azure - 使用非管理员/Microsoft 帐户登录 Azure AD 时出现错误 AADSTS90093

c# - 自动生成 View 模型

c# - Azure Function 无法启动,错误为 "Method x in type y from assembly z does not have an implementation."

azure-devops - 使用 VSO 在同一个 sln 中部署 azure 网站和 webjobs - 错误 - 只能有一个