无法在 Visual Studio 2017 中加载迁移的 Azure 函数项目 [英] Unable to load migrated Azure functions project in Visual Studio 2017

查看:34
本文介绍了无法在 Visual Studio 2017 中加载迁移的 Azure 函数项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 Visual Studio 2015 中开发了一个 Azure Functions 项目(一个具有 .funproj 文件扩展名的项目).现在我想将它迁移到 Visual Studio 2017,但是当我尝试时,VS 没有加载项目.

I have developed an Azure Functions project in Visual Studio 2015 (a project with a .funproj file extension). Now I want to migrate it to Visual Studio 2017 but when I try, VS does not load the project.

为什么迁移失败,如何手动完成?

Why is the migration failing and how can I complete it manually?

推荐答案

适用于 Visual Studio 2017 的 Azure Functions 工具仍在进行中.预计它们将在即将举行的 Build 活动中公布.

Azure Functions tooling for Visual Studio 2017 is still work in progress. They are expected to be announced during upcoming Build event.

观看此 github 问题 了解状态.

更新:适用于 Azure Functions 的 Visual Studio 2017 工具预览版现已可供下载.博文解释工具、要求,并提供下载链接.请注意,它仅适用于 VS 15.3 预览版,不适用于早期版本.

UPDATE: The Preview of Visual Studio 2017 Tools for Azure Functions are now available for download. The blog post explains the tools, requirements, and has a link to the download. Note that it only works in VS 15.3 Preview, not in earlier versions.

据我所知,本身没有可用的迁移工具,因此您必须从一个空白项目开始,然后将脚本转换为静态类并将 function.json 转换为正确的绑定.

As far as I know, there's no migration tooling available per se, so you'd have to start from a blank project and then convert your script to static class and function.json to proper bindings.

这篇关于无法在 Visual Studio 2017 中加载迁移的 Azure 函数项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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