Installing from VS Code Marketplace
The easiest way to install DotNET Build Buddy is directly from the Visual Studio Code Marketplace.Open VS Code Extensions
Open Visual Studio Code and click on the Extensions icon in the Activity Bar on the left side, or press
Ctrl+Shift+X (Windows/Linux) or Cmd+Shift+X (macOS).Install the Extension
Find “DotNET Build Buddy” in the search results and click the Install button.
Publisher: DotNET-Build-Buddy
Installing from VSIX File
If you have a.vsix file (for example, from a pre-release or custom build), you can install it manually.
Download the VSIX File
Obtain the
.vsix file from your source (GitHub releases, internal distribution, etc.).Open Extensions View
Press
Ctrl+Shift+X (Windows/Linux) or Cmd+Shift+X (macOS) to open the Extensions view.Install from VSIX
Click the
... (More Actions) button at the top of the Extensions view and select “Install from VSIX…”Navigate to your downloaded .vsix file and select it.Building from Source
Developers who want to contribute or customize the extension can build it from source.Prerequisites
Before building from source, ensure you have:- Node.js version 20.x or higher
- npm (comes with Node.js)
- Git for cloning the repository
- VS Code version 1.74.0 or higher
Build Steps
Install Dependencies
xml2js and glob.Compile the Extension
src/ to JavaScript in the out/ directory.Package the Extension (Optional)
To create a This creates a
.vsix file for distribution:.vsix file in the project root that you can install using the Installing from VSIX File method above.Development Workflow
When developing the extension:Verifying Installation
After installation, verify that DotNET Build Buddy is working correctly:Open a .NET Workspace
Open a folder that contains .NET source files (
.cs, .fs, or .vb) or existing project files.Verify Commands are Available
Press
Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (macOS) to open the Command Palette.Type “DotNET Build Buddy” to see available commands:- DotNET Build Buddy: Generate Solution File
- DotNET Build Buddy: Update Project Files
- DotNET Build Buddy: Refresh All .NET Files
Activation Events
DotNET Build Buddy activates automatically when VS Code detects any of the following files in your workspace:**/*.cs- C# source files**/*.fs- F# source files**/*.vb- VB.NET source files**/*.csproj- C# project files**/*.fsproj- F# project files**/*.vbproj- VB.NET project files**/*.sln- Solution files
If you open a folder without any .NET files, the extension will remain inactive to conserve resources. Simply add a .NET file to activate it.
Troubleshooting Installation
Extension doesn't activate
Extension doesn't activate
Symptoms: No activation message appears, commands are not availableSolutions:
- Ensure your workspace contains at least one .NET-related file (
.cs,.fs,.vb, or project files) - Check the Extensions panel to verify the extension is installed and enabled
- Reload VS Code with
Ctrl+R(Windows/Linux) orCmd+R(macOS) - Check for error messages in the Developer Console (
Help > Toggle Developer Tools)
Installation fails from Marketplace
Installation fails from Marketplace
Symptoms: Error message during installation, installation hangsSolutions:
- Check your internet connection
- Verify you have the minimum required VS Code version (1.74.0 or higher)
- Try restarting VS Code and attempting the installation again
- Check VS Code’s output panel for detailed error messages
Build from source fails
Build from source fails
Symptoms: Compile errors, missing dependenciesSolutions:
- Ensure you have Node.js 20.x or higher:
node --version - Delete
node_modulesfolder andpackage-lock.json, then runnpm installagain - Check that TypeScript is properly installed:
npx tsc --version - Review the terminal output for specific error messages
VSIX installation fails
VSIX installation fails
Symptoms: Error when installing from
.vsix fileSolutions:- Verify the
.vsixfile is not corrupted (re-download if necessary) - Check file permissions - ensure VS Code can read the file
- Try installing via command line:
code --install-extension path/to/extension.vsix - Ensure no other version of the extension is already installed (uninstall it first)
Uninstalling
If you need to uninstall DotNET Build Buddy:Uninstalling the extension does not delete any project files or solution files it created. Those files remain in your workspace.