AmoxiDu
V2EX  ›  问与答

不懂就问: VisualStudio 右键菜单上的发布,在命令行如何调用?

  •  
  •   AmoxiDu · Jul 25, 2022 · 2448 views
    This topic created in 1582 days ago, the information mentioned may be changed or developed.

    迫于构建自动化发布脚本,求教有没有办法用命令行取代界面操作。 程序为 C#.NET 的客户端(Winform/WPF)。 Snipaste_2022-07-25_17-25-21.png

    5 replies  •  2022-07-26 14:53:25 +08:00
    AmoxiDu
    AmoxiDu
    OP
    Jul 25, 2022 via iPhone
    1
    可以用命令行实现与右键发布功能同等效果即可。
    ysc3839
    ysc3839
    Jul 25, 2022
    2
    大概是用 msbuild 编译 sln 文件,应该有个 Publish 的选项。
    boris93
    boris93
    Jul 25, 2022 via iPhone
    3
    看看 dotnet publish
    frisktale
    frisktale
    Jul 26, 2022
    5
    framework 不知道,core 的话用 dotnet publish 命令就行
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4837 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 41ms · UTC 01:28 · PVG 09:28 · LAX 17:28 · JFK 20:28
    ♥ Do have faith in what you're doing.