All Projects β†’ microsoft β†’ Vs Setup Samples

microsoft / Vs Setup Samples

Licence: mit
This is a sample in various programming languages that demonstrates how developers can use the new Visual Studio setup query API.

Projects that are alternatives of or similar to Vs Setup Samples

Mac Setup
πŸ› οΈ Front end web development setup for macOS.
Stars: ✭ 265 (+278.57%)
Mutual labels:  setup, visual-studio
Vcredist
Visual C++ Redistributable Packages
Stars: ✭ 61 (-12.86%)
Mutual labels:  visual-studio
React Firebase
πŸ”₯ Sample React + Firebase setup
Stars: ✭ 35 (-50%)
Mutual labels:  setup
Guides
Guides for learning + doing better web and app development. Created by Coding for Entrepreneurs.
Stars: ✭ 1,042 (+1388.57%)
Mutual labels:  setup
Sdk
Core functionality needed to create .NET Core projects, that is shared between Visual Studio and CLI
Stars: ✭ 996 (+1322.86%)
Mutual labels:  visual-studio
Ui For Uwp
This repo contains the source code for Telerik UI for Universal Windows Platform (UWP), which includes 20+ UI controls for developers building UWP applications.
Stars: ✭ 1,077 (+1438.57%)
Mutual labels:  visual-studio
Cn Vscode Docs
VScodeθ―΄ζ˜Žζ–‡ζ‘£ηΏ»θ―‘
Stars: ✭ 970 (+1285.71%)
Mutual labels:  visual-studio
Vsnasm
Provides Visual Studio integration for the NASM assembler.
Stars: ✭ 64 (-8.57%)
Mutual labels:  visual-studio
Fernflowerui
The fernflower decompiler with GUI.
Stars: ✭ 60 (-14.29%)
Mutual labels:  visual-studio
Smokinglinuxeveryday
Smoking Linux Every Day!
Stars: ✭ 47 (-32.86%)
Mutual labels:  setup
Installvscode
Stars: ✭ 46 (-34.29%)
Mutual labels:  visual-studio
Stdex
std C++ 11 library impementation with extra features using only C++ 98 and POSIX threads
Stars: ✭ 43 (-38.57%)
Mutual labels:  visual-studio
Il Visualizer
.NET debugging visualiser for runtime-generated IL code (via DynamicMethod, etc) for VS2017 and VS2015
Stars: ✭ 56 (-20%)
Mutual labels:  visual-studio
Computesharp
A .NET 5 library to run C# code in parallel on the GPU through DX12 and dynamically generated HLSL compute shaders, with the goal of making GPU computing easy to use for all .NET developers! πŸš€
Stars: ✭ 982 (+1302.86%)
Mutual labels:  visual-studio
Vse Formatdocumentonsave
Visual Studio - Format Document on Save
Stars: ✭ 61 (-12.86%)
Mutual labels:  visual-studio
Annwvyn
Annwvyn C++ Open Source designed-for-VR game engine and application developement framework
Stars: ✭ 34 (-51.43%)
Mutual labels:  visual-studio
Workstations
Vagrant virtual workstations and development environments with Visual Studio, Docker, IIS and SQL Server on Windows for .NET development
Stars: ✭ 45 (-35.71%)
Mutual labels:  visual-studio
Gitlab.visualstudio
GitLab Extension for Visual Studio
Stars: ✭ 48 (-31.43%)
Mutual labels:  visual-studio
Encourage
A bit of encouragment added to Visual Studio
Stars: ✭ 69 (-1.43%)
Mutual labels:  visual-studio
Reporting Services Examples
πŸ“• Various example reports I use for SQL Server Reporting Services (SSRS) as well as documents for unit testing, requirements and a style guide template.
Stars: ✭ 63 (-10%)
Mutual labels:  visual-studio

Visual Studio Setup Configuration Samples

The included samples show how to use the new setup configuration API for discovering instances of Visual Studio 2017 and newer.

Visual Studio Instances

You can install multiple instances of Visual Studio with different workloads, or from different channels or versions. The majority of components are now lightweight installs using the same container format as VSIX packages for faster installs and cleaner uninstalls.

This change to the Visual Studio platform requires new ways of discovering Visual Studio where simple registry detection does not provide the flexibility required in many scenarios.

The new setup configuration API provides simple access for native and managed code, as well as a means to output JSON, XML, or other formats for consumption in batch or PowerShell scripts.

Available Packages

The following packages are available on nuget.org that provide access to the setup configuration API.

  • Microsoft.VisualStudio.Setup.Configuration.Native

    Adds the header location and automatically links the library. You only need to add the #include as shown below.

    #include <Setup.Configuration.h>
    
  • Microsoft.VisualStudio.Setup.Configuration.Interop

    Provides embeddable interop types. If the interop types are embedded you do not need to redistribute additional assemblies. Simply instantiate the SetupConfiguration runtime callable wrapper (RCW) as shown below.

    var configuration = new SetupConfiguration();
    

Updates

For the most recent updates to these samples, please see https://github.com/microsoft/vs-setup-samples.

Related

We have published a number of related projects that are intended for real-world scenarios and may show a more extensive use of the APIs than shown in these samples.

  • VSSetup.PowerShell PowerShell module to interact with Visual Studio Setup
  • VSIXBootstrapper An installer that can be chained with other packages to locate the latest VSIXInstaller.exe to use for installing VSIX extensions
  • vswhere Locate Visual Studio 2017 and newer installations

License

Licensed under the MIT license. See LICENSE.txt in the project root for license information.

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].