Visual Studio Build Definition with ASP.NET Core 1.1 mvc& F# [英] Visual Studio Build Definition with ASP.NET Core 1.1 mvc & F#

查看:78
本文介绍了Visual Studio Build Definition with ASP.NET Core 1.1 mvc& F#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我正在用F#构建一个ASP.NET mvc核心1.1项目。我在&使用命令行工具(CLI)并且项目在没有Visual Studio IDE的情况下在本地构建。

但是当我尝试使用ASP.NET Core Preview在Visual Studio Team Services上创建构建定义时它给了我一个错误。


本地构建



在Visual Studio Team Services上构建。




这里有几个简单的问题:


>错误是由于F#构建定义不受支持,因为模板默认只显示C#模板吗?


>错误是由于ASP.NET Core的构建定义所致预览阶段& F#语言不支持?


>使用带有F#的ASP.Net Core的Visual Studio Team Services构建CI / CD管道的出路是什么?



问候


Rajat

解决方案

我建议您在构建定义中使用Hosted VS2017队列。


构建定义 - >选项 - >剂。


Hi,

I am building an ASP.NET mvc core 1.1 project in F#. I am in & out using command line tools(CLI) and the project is building locally without Visual Studio IDE.
But when I tried creating a build definition on Visual Studio Team Services using ASP.NET Core Preview it gives me an error.

Build Locally

Build on Visual Studio Team Services.

So few quick questions here:

> Is the error due to the fact that F# build definition is not supported as the template shows only C# template by default?

>Is the error due to build definition for ASP.NET Core in preview stage & not supported for F# language?

> What could be the way out for building the CI/CD pipeline using Visual Studio Team Services for ASP.Net Core with F#?

Regards

Rajat

解决方案

I would suggest you use the Hosted VS2017 queue in the build definition.

Build definition -> Options -> Agents.


这篇关于Visual Studio Build Definition with ASP.NET Core 1.1 mvc& F#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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