Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/unix/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
.net core .NET核心:更改生成过程以执行脚本_.net Core - Fatal编程技术网

.net core .NET核心:更改生成过程以执行脚本

.net core .NET核心:更改生成过程以执行脚本,.net-core,.net Core,如何指导构建过程在.NET核心解决方案中的特定项目之前或之后运行cmd或PowerShell命令/脚本 我希望无论构建环境如何(Visual Studio、dotnet命令或TFS builder),都能执行此命令。是扩展点。在提问之前,我没有看到文档页面。只链接答案是个坏主意,因为链接最终会消失。也无法对内容进行上下投票,因为内容可能会发生变化。请总结链接中的基本项目,并将其作为答案。

如何指导构建过程在.NET核心解决方案中的特定项目之前或之后运行
cmd
PowerShell
命令/脚本


我希望无论构建环境如何(Visual Studio、
dotnet
命令或TFS builder),都能执行此命令。

是扩展点。在提问之前,我没有看到文档页面。

只链接答案是个坏主意,因为链接最终会消失。也无法对内容进行上下投票,因为内容可能会发生变化。请总结链接中的基本项目,并将其作为答案。