简体   繁体   中英

Does MonoDevelop support custom targets in project (csproj) files?

For example adding this to a csproj

<Target Name="BeforeBuild">
      <Exec Command="foo.exe arg1 arg2"  />
</Target>

For me it seems to be ignoring them

You can turn it on in the options screen

设置

MD supports MSBuild projects by mapping them into its old internal build engine, which can't support arbitrary MSBuild constructs like this.

There is experimental support to use MSBuild/xbuild as the build engine, and you can enable this in MD Preferences.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM