首页 > 其他分享 >wix 构建前事件

wix 构建前事件

时间:2022-09-27 09:46:22浏览次数:55  
标签:BeforeBuild 项目 构建 Build wix Events 事件

提问

如何在构建wix项目前自动构建引用项目

回答

加入 BeforeBuild命令,不要用项目属性中的Build Events

  <Target Name="BeforeBuild">
    <Exec Command="dotnet publish ..\ChangeLog.CommunityToolkit\ChangeLog.CommunityToolkit.csproj -c Release -r win-x64 -p:PublishSingleFile=true -p:PublishTrimmed=true --self-contained true" />
  </Target>

标签:BeforeBuild,项目,构建,Build,wix,Events,事件
From: https://www.cnblogs.com/wuhailong/p/16733427.html

相关文章