我正在用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#
发布评论