如何使KUDU使用MSBuild 15 [英] How do you get KUDU to use MSBuild 15

查看:82
本文介绍了如何使KUDU使用MSBuild 15的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Microsoft.Net.Compilers is only supported on MSBuild v15.0 and above

对于KUDU,无论自动检测工具是什么,它总是选择14

whatever the auto detect tooling is for KUDU, it always selects 14

有没有办法强迫它选择15个?

is there a way for force it to select 15?

推荐答案

为您的Web应用程序添加应用程序设置:

Add an app-setting for your Web App:

MSBUILD_PATH的值为%MSBUILD_15_DIR%\msbuild.exe

这将由默认的部署脚本获取.

This will be picked up by the default deploy script.

这篇关于如何使KUDU使用MSBuild 15的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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