MSBuilder.Roslyn
0.2.5
.NET Framework 4.5
dotnet add package MSBuilder.Roslyn --version 0.2.5
NuGet\Install-Package MSBuilder.Roslyn -Version 0.2.5
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MSBuilder.Roslyn" Version="0.2.5" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MSBuilder.Roslyn --version 0.2.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MSBuilder.Roslyn, 0.2.5"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install MSBuilder.Roslyn as a Cake Addin
#addin nuget:?package=MSBuilder.Roslyn&version=0.2.5
// Install MSBuilder.Roslyn as a Cake Tool
#tool nuget:?package=MSBuilder.Roslyn&version=0.2.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Allows custom tasks to efficiently load and access
a Roslyn project for code generation or analysis. Multiple tasks, targets
and even projects will all share the same Workspace and loaded Projects,
thereby optimizing build times.
Usage:
In your custom task library, install the MSBuilder.Roslyn package, and just
use the two new provided extension methods for Task: GetWorkspace and GetOrAddProject.
Product | Versions |
---|---|
.NET Framework | net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48 net481 |
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
-
- Microsoft.CodeAnalysis (>= 1.1.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.