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

查看:174
本文介绍了无法在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函数工具仍在开发中.预计将在即将举行的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功能的Visual Studio 2017工具预览. 博客文章解释工具,要求,并提供下载链接.请注意,它仅适用于VS 15.3 Preview,不适用于早期版本.

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天全站免登陆