csproj中的PreBuild事件命令的PreBuild [英] PreBuild for PreBuild Event Command in csproj

查看:139
本文介绍了csproj中的PreBuild事件命令的PreBuild的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以在csproj文件中指定在执行构建前事件中执行的exe之前应先执行它吗?

Can I specify in csproj file that the exe being executed in prebuild events should be built before executing it?

推荐答案

您可以通过Visual Studio做到这一点,而Visual Studio实际上将实际上编辑您的.csproj文件.

You can do it through Visual Studio which will actually edit your .csproj file in fact.

右键单击该项目,然后选择"Project Dependencies",然后选择需要在该项目之前构建的项目.通过选择构建订单"标签进行验证.

Right click on the project and select Project Dependencies and select the project which you need to build before this project. Verify it by selecting the Build order tab.

这篇关于csproj中的PreBuild事件命令的PreBuild的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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