@rules_dotnet//dotnet:defs.bzl
Public API surface is re-exported here.
Users should not load files under "/dotnet"
Functions & Macros
csharp_nunit_testParameters
kwargs |
fsharp_nunit_testParameters
kwargs |
nuget_repoParameters
*name | |
*packages |
Rules
csharp_binaryCompile a C# exe
| Attribute | Type | Description |
|---|---|---|
*name | name | A unique name for this target. |
deps | list of labels | Other libraries, binaries, or imported DLLs Default: [] |
data | list of labels | Runtime files. It is recommended to use the @rules_dotnet//tools/runfiles library to read the runtime files. Default: [] |
compile_data | list of labels | Additional compile time files. Default: [] |
keyfile | label | The key file used to sign the assembly with a strong name. Default: None |
langversion | string | The version string for the language. Default: "" |
resources | list of labels | A list of files to embed in the DLL as resources. Default: [] |
out | string | File name, without extension, of the built assembly. Default: "" |
*target_frameworks | list of strings | A list of target framework monikers to buildSee https://docs.microsoft.com/en-us/dotnet/standard/frameworks |
project_sdk | string | The project SDK that is being targeted. See https://learn.microsoft.com/en-us/dotnet/core/project-sdk/overview Default: "default" |
defines | list of strings | A list of preprocessor directive symbols to define. Default: [] |
internals_visible_to | list of strings | Other libraries that can see the assembly's internal symbols. Using this rather than the InternalsVisibleTo assembly attribute will improve build caching. Default: [] |
treat_warnings_as_errors | boolean | Treat all compiler warnings as errors. Note that this attribute can not be used in conjunction with warnings_as_errors. Default: False |
warnings_as_errors | list of strings | List of compiler warning codes that should be considered as errors. Note that this attribute can not be used in conjunction with treat_warning_as_errors. Default: [] |
warnings_not_as_errors | list of strings | List of compiler warning codes that should not be considered as errors. Note that this attribute can only be used in conjunction with treat_warning_as_errors. Default: [] |
warning_level | integer | The warning level that should be used by the compiler. Default: 3 |
generate_documentation_file | boolean | Whether or not to generate a documentation file. Default: True |
compiler_options | list of strings | Additional options to pass to the compiler. This attribute should only be used if the compiler flag has not already been exposed as an attribute. Default: [] |
srcs | list of labels | The source files used in the compilation. Default: [] |
additionalfiles | list of labels | Extra files to configure analyzers. Default: [] |
allow_unsafe_blocks | boolean | Allow compiling unsafe code. It true, /unsafe is passed to the compiler. Default: False |
nullable | string | Enable nullable context, or nullable warnings. Default: "disable" |
run_analyzers | boolean | Controls whether analyzers run at build time. Default: True |
nowarn | list of strings | List of warnings that should be ignored Default: ["CS1701", "CS1702"] |
analyzer_configs | list of labels | A list of analyzer configuration files. See: https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/configuration-files Default: [] |
roll_forward_behavior | string | The roll forward behavior that should be used: https://learn.microsoft.com/en-us/dotnet/core/versions/selection#control-roll-forward-behavior Default: "Major" |
winexe | boolean | If true, output a winexe-style executable, otherwiseoutput a console-style executable. Default: False |
appsetting_files | list of labels | A list of appsettings files to include in the output directory. Default: [] |
envs | dictionary: String → String | A dictionary of environment variables to set when the binary is run. Supports make variable expansion Default: {} |
include_host_model_dll | boolean | Whether to include Microsoft.NET.HostModel from the toolchain. This is only required to build tha apphost shimmer. Default: False |
csharp_libraryCompile a C# DLL
| Attribute | Type | Description |
|---|---|---|
*name | name | A unique name for this target. |
deps | list of labels | Other libraries, binaries, or imported DLLs Default: [] |
data | list of labels | Runtime files. It is recommended to use the @rules_dotnet//tools/runfiles library to read the runtime files. Default: [] |
compile_data | list of labels | Additional compile time files. Default: [] |
keyfile | label | The key file used to sign the assembly with a strong name. Default: None |
langversion | string | The version string for the language. Default: "" |
resources | list of labels | A list of files to embed in the DLL as resources. Default: [] |
out | string | File name, without extension, of the built assembly. Default: "" |
*target_frameworks | list of strings | A list of target framework monikers to buildSee https://docs.microsoft.com/en-us/dotnet/standard/frameworks |
project_sdk | string | The project SDK that is being targeted. See https://learn.microsoft.com/en-us/dotnet/core/project-sdk/overview Default: "default" |
defines | list of strings | A list of preprocessor directive symbols to define. Default: [] |
internals_visible_to | list of strings | Other libraries that can see the assembly's internal symbols. Using this rather than the InternalsVisibleTo assembly attribute will improve build caching. Default: [] |
treat_warnings_as_errors | boolean | Treat all compiler warnings as errors. Note that this attribute can not be used in conjunction with warnings_as_errors. Default: False |
warnings_as_errors | list of strings | List of compiler warning codes that should be considered as errors. Note that this attribute can not be used in conjunction with treat_warning_as_errors. Default: [] |
warnings_not_as_errors | list of strings | List of compiler warning codes that should not be considered as errors. Note that this attribute can only be used in conjunction with treat_warning_as_errors. Default: [] |
warning_level | integer | The warning level that should be used by the compiler. Default: 3 |
generate_documentation_file | boolean | Whether or not to generate a documentation file. Default: True |
compiler_options | list of strings | Additional options to pass to the compiler. This attribute should only be used if the compiler flag has not already been exposed as an attribute. Default: [] |
srcs | list of labels | The source files used in the compilation. Default: [] |
additionalfiles | list of labels | Extra files to configure analyzers. Default: [] |
allow_unsafe_blocks | boolean | Allow compiling unsafe code. It true, /unsafe is passed to the compiler. Default: False |
nullable | string | Enable nullable context, or nullable warnings. Default: "disable" |
run_analyzers | boolean | Controls whether analyzers run at build time. Default: True |
nowarn | list of strings | List of warnings that should be ignored Default: ["CS1701", "CS1702"] |
analyzer_configs | list of labels | A list of analyzer configuration files. See: https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/configuration-files Default: [] |
exports | list of labels | List of targets to add to the dependencies of those that depend on this target. This attribute does nothing if you don't have strict dependencies enabled. Default: [] |
is_analyzer | boolean | Whether this library is an analyzer or not. This flag is needs to be set to true if the library is an analyzer or a source generator. Default: False |
is_language_specific_analyzer | boolean | Whether this library is a language specific analyzer/source generator or not. This flag is needs to be set to true if the library is a analyzer that is specific to a language or if the library is a source generator. Default: False |
csharp_testCompiles a C# executable and runs it as a test
| Attribute | Type | Description |
|---|---|---|
*name | name | A unique name for this target. |
deps | list of labels | Other libraries, binaries, or imported DLLs Default: [] |
data | list of labels | Runtime files. It is recommended to use the @rules_dotnet//tools/runfiles library to read the runtime files. Default: [] |
compile_data | list of labels | Additional compile time files. Default: [] |
keyfile | label | The key file used to sign the assembly with a strong name. Default: None |
langversion | string | The version string for the language. Default: "" |
resources | list of labels | A list of files to embed in the DLL as resources. Default: [] |
out | string | File name, without extension, of the built assembly. Default: "" |
*target_frameworks | list of strings | A list of target framework monikers to buildSee https://docs.microsoft.com/en-us/dotnet/standard/frameworks |
project_sdk | string | The project SDK that is being targeted. See https://learn.microsoft.com/en-us/dotnet/core/project-sdk/overview Default: "default" |
defines | list of strings | A list of preprocessor directive symbols to define. Default: [] |
internals_visible_to | list of strings | Other libraries that can see the assembly's internal symbols. Using this rather than the InternalsVisibleTo assembly attribute will improve build caching. Default: [] |
treat_warnings_as_errors | boolean | Treat all compiler warnings as errors. Note that this attribute can not be used in conjunction with warnings_as_errors. Default: False |
warnings_as_errors | list of strings | List of compiler warning codes that should be considered as errors. Note that this attribute can not be used in conjunction with treat_warning_as_errors. Default: [] |
warnings_not_as_errors | list of strings | List of compiler warning codes that should not be considered as errors. Note that this attribute can only be used in conjunction with treat_warning_as_errors. Default: [] |
warning_level | integer | The warning level that should be used by the compiler. Default: 3 |
generate_documentation_file | boolean | Whether or not to generate a documentation file. Default: True |
compiler_options | list of strings | Additional options to pass to the compiler. This attribute should only be used if the compiler flag has not already been exposed as an attribute. Default: [] |
srcs | list of labels | The source files used in the compilation. Default: [] |
additionalfiles | list of labels | Extra files to configure analyzers. Default: [] |
allow_unsafe_blocks | boolean | Allow compiling unsafe code. It true, /unsafe is passed to the compiler. Default: False |
nullable | string | Enable nullable context, or nullable warnings. Default: "disable" |
run_analyzers | boolean | Controls whether analyzers run at build time. Default: True |
nowarn | list of strings | List of warnings that should be ignored Default: ["CS1701", "CS1702"] |
analyzer_configs | list of labels | A list of analyzer configuration files. See: https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/configuration-files Default: [] |
roll_forward_behavior | string | The roll forward behavior that should be used: https://learn.microsoft.com/en-us/dotnet/core/versions/selection#control-roll-forward-behavior Default: "Major" |
winexe | boolean | If true, output a winexe-style executable, otherwiseoutput a console-style executable. Default: False |
appsetting_files | list of labels | A list of appsettings files to include in the output directory. Default: [] |
envs | dictionary: String → String | A dictionary of environment variables to set when the binary is run. Supports make variable expansion Default: {} |
fsharp_binaryCompile a F# exe
| Attribute | Type | Description |
|---|---|---|
*name | name | A unique name for this target. |
deps | list of labels | Other libraries, binaries, or imported DLLs Default: [] |
data | list of labels | Runtime files. It is recommended to use the @rules_dotnet//tools/runfiles library to read the runtime files. Default: [] |
compile_data | list of labels | Additional compile time files. Default: [] |
keyfile | label | The key file used to sign the assembly with a strong name. Default: None |
langversion | string | The version string for the language. Default: "" |
resources | list of labels | A list of files to embed in the DLL as resources. Default: [] |
out | string | File name, without extension, of the built assembly. Default: "" |
*target_frameworks | list of strings | A list of target framework monikers to buildSee https://docs.microsoft.com/en-us/dotnet/standard/frameworks |
project_sdk | string | The project SDK that is being targeted. See https://learn.microsoft.com/en-us/dotnet/core/project-sdk/overview Default: "default" |
defines | list of strings | A list of preprocessor directive symbols to define. Default: [] |
internals_visible_to | list of strings | Other libraries that can see the assembly's internal symbols. Using this rather than the InternalsVisibleTo assembly attribute will improve build caching. Default: [] |
treat_warnings_as_errors | boolean | Treat all compiler warnings as errors. Note that this attribute can not be used in conjunction with warnings_as_errors. Default: False |
warnings_as_errors | list of strings | List of compiler warning codes that should be considered as errors. Note that this attribute can not be used in conjunction with treat_warning_as_errors. Default: [] |
warnings_not_as_errors | list of strings | List of compiler warning codes that should not be considered as errors. Note that this attribute can only be used in conjunction with treat_warning_as_errors. Default: [] |
warning_level | integer | The warning level that should be used by the compiler. Default: 3 |
generate_documentation_file | boolean | Whether or not to generate a documentation file. Default: True |
compiler_options | list of strings | Additional options to pass to the compiler. This attribute should only be used if the compiler flag has not already been exposed as an attribute. Default: [] |
srcs | list of labels | The source files used in the compilation. Default: [] |
nowarn | list of strings | List of warnings that should be ignored Default: [] |
roll_forward_behavior | string | The roll forward behavior that should be used: https://learn.microsoft.com/en-us/dotnet/core/versions/selection#control-roll-forward-behavior Default: "Major" |
winexe | boolean | If true, output a winexe-style executable, otherwiseoutput a console-style executable. Default: False |
appsetting_files | list of labels | A list of appsettings files to include in the output directory. Default: [] |
envs | dictionary: String → String | A dictionary of environment variables to set when the binary is run. Supports make variable expansion Default: {} |
fsharp_libraryCompile a F# DLL
| Attribute | Type | Description |
|---|---|---|
*name | name | A unique name for this target. |
deps | list of labels | Other libraries, binaries, or imported DLLs Default: [] |
data | list of labels | Runtime files. It is recommended to use the @rules_dotnet//tools/runfiles library to read the runtime files. Default: [] |
compile_data | list of labels | Additional compile time files. Default: [] |
keyfile | label | The key file used to sign the assembly with a strong name. Default: None |
langversion | string | The version string for the language. Default: "" |
resources | list of labels | A list of files to embed in the DLL as resources. Default: [] |
out | string | File name, without extension, of the built assembly. Default: "" |
*target_frameworks | list of strings | A list of target framework monikers to buildSee https://docs.microsoft.com/en-us/dotnet/standard/frameworks |
project_sdk | string | The project SDK that is being targeted. See https://learn.microsoft.com/en-us/dotnet/core/project-sdk/overview Default: "default" |
defines | list of strings | A list of preprocessor directive symbols to define. Default: [] |
internals_visible_to | list of strings | Other libraries that can see the assembly's internal symbols. Using this rather than the InternalsVisibleTo assembly attribute will improve build caching. Default: [] |
treat_warnings_as_errors | boolean | Treat all compiler warnings as errors. Note that this attribute can not be used in conjunction with warnings_as_errors. Default: False |
warnings_as_errors | list of strings | List of compiler warning codes that should be considered as errors. Note that this attribute can not be used in conjunction with treat_warning_as_errors. Default: [] |
warnings_not_as_errors | list of strings | List of compiler warning codes that should not be considered as errors. Note that this attribute can only be used in conjunction with treat_warning_as_errors. Default: [] |
warning_level | integer | The warning level that should be used by the compiler. Default: 3 |
generate_documentation_file | boolean | Whether or not to generate a documentation file. Default: True |
compiler_options | list of strings | Additional options to pass to the compiler. This attribute should only be used if the compiler flag has not already been exposed as an attribute. Default: [] |
srcs | list of labels | The source files used in the compilation. Default: [] |
nowarn | list of strings | List of warnings that should be ignored Default: [] |
exports | list of labels | List of targets to add to the dependencies of those that depend on this target. This attribute does nothing if you don't have strict dependencies enabled. Default: [] |
fsharp_testCompile a F# executable and runs it as a test
| Attribute | Type | Description |
|---|---|---|
*name | name | A unique name for this target. |
deps | list of labels | Other libraries, binaries, or imported DLLs Default: [] |
data | list of labels | Runtime files. It is recommended to use the @rules_dotnet//tools/runfiles library to read the runtime files. Default: [] |
compile_data | list of labels | Additional compile time files. Default: [] |
keyfile | label | The key file used to sign the assembly with a strong name. Default: None |
langversion | string | The version string for the language. Default: "" |
resources | list of labels | A list of files to embed in the DLL as resources. Default: [] |
out | string | File name, without extension, of the built assembly. Default: "" |
*target_frameworks | list of strings | A list of target framework monikers to buildSee https://docs.microsoft.com/en-us/dotnet/standard/frameworks |
project_sdk | string | The project SDK that is being targeted. See https://learn.microsoft.com/en-us/dotnet/core/project-sdk/overview Default: "default" |
defines | list of strings | A list of preprocessor directive symbols to define. Default: [] |
internals_visible_to | list of strings | Other libraries that can see the assembly's internal symbols. Using this rather than the InternalsVisibleTo assembly attribute will improve build caching. Default: [] |
treat_warnings_as_errors | boolean | Treat all compiler warnings as errors. Note that this attribute can not be used in conjunction with warnings_as_errors. Default: False |
warnings_as_errors | list of strings | List of compiler warning codes that should be considered as errors. Note that this attribute can not be used in conjunction with treat_warning_as_errors. Default: [] |
warnings_not_as_errors | list of strings | List of compiler warning codes that should not be considered as errors. Note that this attribute can only be used in conjunction with treat_warning_as_errors. Default: [] |
warning_level | integer | The warning level that should be used by the compiler. Default: 3 |
generate_documentation_file | boolean | Whether or not to generate a documentation file. Default: True |
compiler_options | list of strings | Additional options to pass to the compiler. This attribute should only be used if the compiler flag has not already been exposed as an attribute. Default: [] |
srcs | list of labels | The source files used in the compilation. Default: [] |
nowarn | list of strings | List of warnings that should be ignored Default: [] |
roll_forward_behavior | string | The roll forward behavior that should be used: https://learn.microsoft.com/en-us/dotnet/core/versions/selection#control-roll-forward-behavior Default: "Major" |
winexe | boolean | If true, output a winexe-style executable, otherwiseoutput a console-style executable. Default: False |
appsetting_files | list of labels | A list of appsettings files to include in the output directory. Default: [] |
envs | dictionary: String → String | A dictionary of environment variables to set when the binary is run. Supports make variable expansion Default: {} |
publish_binaryPublish a .Net binary
| Attribute | Type | Description |
|---|---|---|
*name | name | A unique name for this target. |
*binary | label | The .Net binary that is being published |
self_contained | boolean | Whether the binary should be self-contained. If true, the binary will be published as a self-contained but you need to provide If false, the binary will be published as a non-self-contained. That means that to be Default: False |
*target_framework | string | The target framework that should be published |
runtime_identifier | string | The runtime identifier that is being targeted. See https://docs.microsoft.com/en-us/dotnet/core/rid-catalog Default: "" |
roll_forward_behavior | string | The roll forward behavior that should be used: https://learn.microsoft.com/en-us/dotnet/core/versions/selection#control-roll-forward-behavior Default: "Minor" |
import_libraryCreates a target for a static DLL for a specific target framework
| Attribute | Type | Description |
|---|---|---|
*name | name | A unique name for this target. |
*library_name | string | The name of the library |
version | string | The version of the library Default: "" |
libs | list of labels | Static runtime DLLs Default: [] |
native | list of labels | Native runtime DLLs Default: [] |
analyzers | list of labels | Static analyzer DLLs Default: [] |
analyzers_csharp | list of labels | Static C# analyzer DLLs Default: [] |
analyzers_fsharp | list of labels | Static F# analyzer DLLs Default: [] |
analyzers_vb | list of labels | Static VB analyzer DLLs Default: [] |
refs | list of labels | Compile time DLLs Default: [] |
resource_assemblies | list of labels | Resource assemblies Default: [] |
deps | list of labels | Other DLLs that this DLL depends on. Default: [] |
data | list of labels | Other files that this DLL depends on at runtime Default: [] |
targeting_pack_overrides | dictionary: String → String | Targeting packs like e.g. Microsoft.NETCore.App.Ref have a PackageOverride.txt that includes a list of NuGet packages that should be omitted in a compiliation because they are included in the targeting pack Default: {} |
framework_list | dictionary: String → String | Targeting packs like e.g. Microsoft.NETCore.App.Ref have a PlatformManifest.txt that includes all the DLLs that are included in the targeting pack. This is used to determine which version of a DLL should be used during compilation or runtime. Default: {} |
sha512 | string | The SHA512 sum of the NuGet package Default: "" |
nupkg | label | The Default: None |
import_dllImports a DLL
| Attribute | Type | Description |
|---|---|---|
*name | name | A unique name for this target. |
*dll | label | The name of the library |
version | string | The version of the library Default: "" |
data | list of labels | Other files that this DLL depends on at runtime Default: [] |
dotnet_toolRun a .NET command-line tool hermetically via Bazel.
This rule allows you to run a pre-built .NET command-line tool that has been packaged
with NuGet. The tool is executed using the hermetic .NET runtime provided by rules_dotnet.
This is a lower-level API that requires a manual specification of tool details.
You should instead add the tool as a dependency to your Paket dependencies, and
use paket2bazel to generate Bazel targets; any tools found within the Paket
dependencies will automatically be exposed as Bazel targets in the resulting
nuget_repo rule.
| Attribute | Type | Description |
|---|---|---|
*name | name | A unique name for this target. |
*target_frameworks | list of strings | The target frameworks this tool was built for. |
*entrypoint | dictionary: String → String | The entrypoint of the dotnet tool (the dll to execute), keyed by the target framework. |
*runner | dictionary: String → String | The runner to use to execute the tool, keyed by the target framework. Currently, only 'dotnet' is supported. |
*deps | label | The dependencies of the dotnet tool. Must include a DotnetToolInfo provider. |
Repository Rules
nuget_archive| Attribute | Type | Description |
|---|---|---|
*name | name | A unique name for this repository. |
repo_mapping | dictionary: String → String | In For example, an entry This attribute is not supported in |
sources | list of strings | Default: [] |
netrc | label | Default: None |
id | string | Default: "" |
version | string | Default: "" |
sha512 | string | Default: "" |
@rules_dotnet//dotnet:extensions.bzl
extensions for bzlmod
Module Extensions
dotnetTag Classes
toolchain| Attribute | Type | Description |
|---|---|---|
name | name | Base name for generated repositories Default: "dotnet" |
dotnet_version | string | Version of the .Net SDK Default: "" |
@rules_dotnet//dotnet:paket.paket2bazel_dependencies_extension.bzl
Generated
Module Extensions
paket2bazel_dependencies_extension@rules_dotnet//dotnet:paket.paket2bazel_dependencies.bzl
GENERATED
Functions & Macros
paket2bazel_dependenciespaket2bazel_dependencies
@rules_dotnet//dotnet:paket.rules_dotnet_dev_nuget_packages_extension.bzl
Generated
Module Extensions
rules_dotnet_dev_nuget_packages_extension@rules_dotnet//dotnet:paket.rules_dotnet_dev_nuget_packages.bzl
GENERATED
Functions & Macros
rules_dotnet_dev_nuget_packagesrules_dotnet_dev_nuget_packages
@rules_dotnet//dotnet:paket.rules_dotnet_nuget_packages_extension.bzl
Generated
Module Extensions
rules_dotnet_nuget_packages_extension@rules_dotnet//dotnet:paket.rules_dotnet_nuget_packages.bzl
GENERATED
Functions & Macros
rules_dotnet_nuget_packagesrules_dotnet_nuget_packages
@rules_dotnet//dotnet:repositories.bzl
Rules to load all the .NET SDK & framework dependencies of rules_dotnet.
Functions & Macros
dotnet_register_toolchainsConvenience macro for users which does typical setup.
- create a repository for each built-in platform like "dotnet_linux_amd64" -
this repository is lazily fetched when node is needed for that platform. - create a repository exposing toolchains for each platform like "dotnet_platforms"
- register a toolchain pointing at each platform
Users can avoid this macro and do these steps themselves, if they want more control.
Parameters
*name | base name for all created repos, like "dotnet" |
*dotnet_version | The .Net SDK version to use e.g. 8.0.100 |
register | whether to call through to native.register_toolchains. Default: True |
kwargs | passed to each dotnet_repositories call |
Repository Rules
dotnet_repositoriesFetch external tools needed for dotnet toolchain
| Attribute | Type | Description |
|---|---|---|
*name | name | A unique name for this repository. |
repo_mapping | dictionary: String → String | In For example, an entry This attribute is not supported in |
*dotnet_version | string | |
*platform | string |
@rules_dotnet//dotnet:toolchain.bzl
Rules to configure the .NET toolchain of rules_dotnet.
Rules
dotnet_toolchainDefines a dotnet compiler/runtime toolchain.
For usage see https://docs.bazel.build/versions/main/toolchains.html#defining-toolchains.
| Attribute | Type | Description |
|---|---|---|
*name | name | A unique name for this target. |
runtime | label | The dotnet CLI Default: None |
runtime_path | string | Path to the dotnet CLI. Do not set if Default: "" |
csharp_compiler | label | The C# compiler binary Default: None |
csharp_compiler_path | string | Path to the C# compiler binary. Do not set if Default: "" |
fsharp_compiler | label | The F# compiler binary Default: None |
fsharp_compiler_path | string | Path to the F# compiler binary. Do not set if Default: "" |
host_model | label | The System.NET.HostModel DLL Default: None |
*sdk_version | string | The SDK version of the current dotnet SDK |
*runtime_version | string | The runtime version of the current dotnet SDK |
*runtime_tfm | string | The runtime target framework moniker of the current dotnet SDK |
*csharp_default_version | string | The default C# version used by the current dotnet SDK |
*fsharp_default_version | string | The default F# version used by the current dotnet SDK |
Providers
DotnetInfoInformation about the dotnet toolchain
Fields
runtime_path | Path to the dotnet executable |
runtime_files | Files required in runfiles to make the dotnet executable available. May be empty if the runtime_path points to a locally installed tool binary. |
csharp_compiler_path | Path to the C# compiler executable |
csharp_compiler_files | Files required in runfiles to make the C# compiler executable available. May be empty if the csharp_compiler_path points to a locally installed tool binary. |
fsharp_compiler_path | Path to the F# compiler executable |
fsharp_compiler_files | Files required in runfiles to make the F# compiler executable available. May be empty if the fsharp_compiler_path points to a locally installed tool binary. |
apphost_path | Path to the apphost executable |
apphost_files | Files required in runfiles to make the apphost executable available. May be empty if the apphost_path points to a locally installed tool binary. |
sdk_version | Version of the dotnet SDK |
runtime_version | Version of the dotnet runtime |
runtime_tfm | The target framework moniker for the current SDK |
csharp_default_version | Default version of the C# language |
fsharp_default_version | Default version of the F# language |