V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
shaolude
V2EX  ›  程序员

VS 构建工具

  •  
  •   shaolude · Nov 5, 2020 · 1712 views
    This topic created in 2001 days ago, the information mentioned may be changed or developed.

    不安装 visual studio 。只安装 VS 构建工具,可以免费使用吗?在公司使用会不会涉及商业许可。

    2 replies    2020-11-05 18:38:09 +08:00
    kalluwa
        1
    kalluwa  
       Nov 5, 2020   ❤️ 1
    不会,不过还是建议 MINGW64

    refer to: https://social.msdn.microsoft.com/Forums/en-US/0daefd5d-8d5a-499c-bd16-c3e7aba68c4d/is-msbuild-free-for-commercial-use?forum=msbuild

    >>>Do we need to have VS license to use MSBuild?

    You do not need to have VS license to use MSBuild. In the Visual Studio 2012 and before, msbuild.exe comes with .NET SDK, but just with the Framework. You can grab it by .NET SDK. Starting with Visual Studio 2013, the 2013 version of MSBuild will ship as a part of Visual Studio instead of the .NET Framework. But fortunately you can still download it separately as part of the Microsoft Build Tools 2013. So you can use it without install VS, of course, you do not need to have VS license.

    你需要特别注意,不要使用到相关文件:
    If you just use this build tool without using VS-related stuff, do not need a VS license. If you use something about VS(etc. dll), you need a VS license
    shaolude
        2
    shaolude  
    OP
       Nov 5, 2020 via Android
    @kalluwa 多谢,至少有个说法了。不是不愿意用 MINGW,是因为我要用一些 boost 库,而能找得到的一些参考资料都是用 MSVC 编译的。主要不能用 VS,寻思着能不能用 VS code+构建工具,既然构建工具也危险,干脆就不用了。PS:我是测试,不是开发,暂时先放弃一些吧
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3252 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 44ms · UTC 13:11 · PVG 21:11 · LAX 06:11 · JFK 09:11
    ♥ Do have faith in what you're doing.