mirror of
https://github.com/zed-industries/zed.git
synced 2026-11-19 23:20:18 +01:00
2c114f7df6
Edit: This PR adds docs for a slimmer build tools only installation for compiling Zed on Windows. The disk space required is 7 GB for the builds tools vs 8GB with the editor. <details> <summary>Old description</summary> Fixes the incorrect Visual Studio configuration faced by many people. #29899 #29901 I have added the required workload in Visual Studio. Can someone please confirm the minimum config required to compile on Windows? https://github.com/zed-industries/zed/blob/c8f56e38b11096e5b036a9c5fee5790a9903204c/docs/src/development/windows.md?plain=1#L20-L32 After installing the Desktop C++ build tools as [outlined in the rustup website](https://rust-lang.github.io/rustup/installation/windows-msvc.html#walkthrough-installing-visual-studio-2022), I have this config now: ```json { "version": "1.0", "components": [ "Microsoft.VisualStudio.Component.CoreEditor", "Microsoft.VisualStudio.Workload.CoreEditor", "Microsoft.VisualStudio.Component.Roslyn.Compiler", "Microsoft.Component.MSBuild", "Microsoft.VisualStudio.Component.TextTemplating", "Microsoft.VisualStudio.Component.VC.CoreIde", "Microsoft.VisualStudio.Component.VC.Tools.x86.x64", "Microsoft.VisualStudio.Component.Windows11SDK.26100", "Microsoft.VisualStudio.Component.VC.Redist.14.Latest", "Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Core", "Microsoft.VisualStudio.ComponentGroup.WebToolsExtensions.CMake", "Microsoft.VisualStudio.Component.VC.CMake.Project", "Microsoft.VisualStudio.Component.VC.ASAN", "Microsoft.VisualStudio.Workload.NativeDesktop", "Microsoft.VisualStudio.Component.VC.Runtimes.x86.x64.Spectre" ], "extensions": [] } ``` </details> Release Notes: - N/A