您可以从命令行调用“慢猎豹"吗? [英] Can you call Slow Cheetah from the command line?

查看:78
本文介绍了您可以从命令行调用“慢猎豹"吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可以从命令行调用慢猎豹"吗?我希望添加一个构建后事件,以针对各种不同的环境转换我的配置文件.

Can you call Slow Cheetah from the command line? I am looking to add a post build event to transform my config file for a variety of different environments.

欢呼 迪

推荐答案

我遇到了一个问题

    AssemblyFile="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v12.0\Web\Microsoft.Web.Publishing.Tasks.dll"

更改为

    AssemblyFile="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\Web\Microsoft.Web.Publishing.targets"

使它可以更动态地运行,而不必更改版本.

Allows it to run more dynamically without having to ever change the version.

这篇关于您可以从命令行调用“慢猎豹"吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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