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

编程入门 行业动态 更新时间:2024-10-26 19:32:44
本文介绍了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#

本文发布于:2023-11-05 07:22:07,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1560245.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:Definition   ASP   Build   Visual   Studio

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!