VEBuild.Msvc
1.0.3
dotnet add package VEBuild.Msvc --version 1.0.3
NuGet\Install-Package VEBuild.Msvc -Version 1.0.3
<PackageReference Include="VEBuild.Msvc" Version="1.0.3" />
<PackageVersion Include="VEBuild.Msvc" Version="1.0.3" />
<PackageReference Include="VEBuild.Msvc" />
paket add VEBuild.Msvc --version 1.0.3
#r "nuget: VEBuild.Msvc, 1.0.3"
#:package VEBuild.Msvc@1.0.3
#addin nuget:?package=VEBuild.Msvc&version=1.0.3
#tool nuget:?package=VEBuild.Msvc&version=1.0.3
ve.build.msvc
🚀 STATUS: v1.0.0 RC. The "All-in-One" MSVC Toolchain for VEBuild.
ve.build.msvc is a meta-package that aggregates all necessary components to build C++ projects on Windows using the Microsoft Visual C++ toolchain.
Instead of installing and configuring the compiler, linker, and project generator separately, this package provides a single entry point to set up a complete production-ready environment.
📦 What's Included?
Installing this package automatically pulls in the following dependencies:
| Package | Role | Description |
|---|---|---|
ve.build.cpp.msvc |
Compiler | Provides cl.exe support, C++20 Modules scanning, and flag translation. |
ve.build.link.msvc |
Linker | Provides link.exe / lib.exe support and Windows SDK discovery. |
ve.build.vcxprojgenerator |
Generator | Enables generation of Visual Studio 2022 solutions (.sln) and projects (.vcxproj). |
📦 Installation
This is usually the only package you need to reference for Windows development.
dotnet add package ve.build.msvc
⚡ Usage
This package exposes the .useMsvcToolchain() extension method on the HostBuilder.
One-Liner Setup
using ve.build.core;
using ve.build.msvc; // Import this namespace
return await new HostBuilder()
.project("my_app", p => p
.Type(ProjectType.EXE)
.Sources("src")
)
// 👇 Magic happens here
// Registers Compiler, Linker, and VS Generator in one go.
.useMsvcToolchain()
.build()
.run(args);
⚙️ What .useMsvcToolchain() does
When you call this method, it performs the following registration steps internally:
- Registers
MsvcTool: Sets up the C++ compiler provider (implementation ofICppTool). - Registers
MsvcLinker: Sets up the Linker/Librarian provider (implementation ofILinkTool) with auto-discovery of Windows SDK paths. - Registers
VcxprojGenerator: Sets up the Project Generator, enabling thedotnet run -- generatecommand.
This ensures that your build script can:
- Compile code (
dotnet run -- build) - Link executables
- Generate IDE files (
dotnet run -- generate)
...without any additional configuration code.
📝 Requirements
- OS: Windows x64/ARM64.
- Software: Visual Studio 2022 (Community/Pro/Ent) or Build Tools for Visual Studio 2022.
- Workload: "Desktop development with C++".
License
© 2025 VassalStudio. All rights reserved.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- VEBuild.Cpp.Msvc (>= 1.0.3)
- VEBuild.link.msvc (>= 1.0.3)
- VEBuild.VcxprojGenerator (>= 1.0.4)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.3 | 93 | 5/29/2026 |
| 1.0.2.4 | 96 | 5/22/2026 |
| 1.0.2.3 | 94 | 5/22/2026 |
| 1.0.2.2 | 95 | 5/22/2026 |
| 1.0.2.1 | 89 | 5/22/2026 |
| 1.0.2 | 97 | 5/22/2026 |
| 1.0.1.2 | 102 | 3/6/2026 |
| 1.0.1.1 | 95 | 3/6/2026 |
| 1.0.1 | 112 | 3/3/2026 |
| 1.0.0.9-rc | 106 | 3/2/2026 |
| 1.0.0.8-rc | 111 | 2/26/2026 |
| 1.0.0.6-rc | 119 | 2/25/2026 |
| 1.0.0.5-rc | 112 | 2/25/2026 |
| 1.0.0.4-rc | 112 | 2/17/2026 |
| 1.0.0.3-rc | 111 | 2/17/2026 |
| 1.0.0.2-rc | 126 | 12/27/2025 |
| 1.0.0-rc | 200 | 11/27/2025 |