API documentation source for the .NET Compiler Platform SDK
Перейти к файлу
Alma Jenks 8261021306
Merge pull request #134 from dotnet/smoke-test
CI Update: https://dev.azure.com/msft-skilling/Content/_workitems/edit/240544
2024-04-05 18:54:10 +00:00
Xml Load XML files from NuGet packages. 2017-06-06 15:45:46 -04:00
docs First draft of the TOC 2017-07-17 16:10:02 -04:00
dotnet Add <description> for items in a list 2024-04-04 14:24:58 -07:00
.gitattributes Initialize Docs repository: https://github.com/dotnet/roslyn-api-docs of branch master 2020-07-17 01:16:45 +00:00
.gitignore Initialize open publishing repository: https://github.com/dotnet/roslyn-api-docs of branch master 2017-07-26 21:42:46 +00:00
.openpublishing.build.ps1 Initialize open publishing repository: https://github.com/dotnet/roslyn-api-docs of branch master 2017-07-26 21:42:46 +00:00
.openpublishing.publish.config.json update with existing .openpublishing.publish.config.json (#104) 2022-04-12 12:13:45 -04:00
CODE_OF_CONDUCT.md update readme (#38) 2018-04-04 13:41:45 -04:00
LICENSE Initialize open publishing repository: https://github.com/dotnet/roslyn-api-docs of branch master 2017-07-26 21:42:46 +00:00
LICENSE-CODE Initialize open publishing repository: https://github.com/dotnet/roslyn-api-docs of branch master 2017-07-26 21:42:46 +00:00
ThirdPartyNotices Initialize open publishing repository: https://github.com/dotnet/roslyn-api-docs of branch master 2017-07-26 21:42:46 +00:00
readme.md Update readme for current practices (#127) 2024-01-27 12:45:44 -05:00

readme.md

Roslyn API reference documentation

This repository contains the files necessary to publish the roslyn API docs on Microsoft Learn. That includes OPS build configuration and the XML output from the /// comments on files in the roslyn and roslyn-sdk repositories. The source of truth for roslyn API documentation is the /// comments in those repositories. If you find issues with the API documentation, you should report them in those repositories. Issues are disabled in this repo for that reason.

If you wish to make updates by submitting a pull request, it should be done in those repositories. The only updates here should be to the configuration metadata. Other PRs will be closed, and you'll be redirected to the correct source repository.

This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community. For more information, see the .NET Foundation Code of Conduct.

The remainder of this file has notes which NuGet packages make up the .NET Compiler SDK metapackage.

NuGet Packages that comprise the Roslyn APIs

The package that you need to install to use Roslyn is Microsoft.CodeAnalysis. This is a meta-package, so there are no DLLs or XML files delivered with it.

The documentation says that this package contains:

  • Microsoft.CodeAnalysis.CSharp.Workspaces (C# Compiler and services)
  • Microsoft.CodeAnalysis.VisualBasic.Workspaces (VB Compiler and Services)
  • Microsoft.CodeAlaysis.Compilers (both compilers)
  • Microsoft.CodeAnalysis.CSharp (C# compiler)
  • Microsoft.CodeAnalysis.VisualBasic (VB compiler

The package dependencies contain only the first two on that list.

Transitive Dependencies

  • Microsoft.CodeAnalysis.CSharp.Workspaces lists the following dependencies:
    • Microsoft.CodeAnalysis.CSharp lists the following dependency:
      • Microsoft.CodeAnalysis.Common lists the following dependency:
        • Microsoft.CodeAnalysis.Analyzers: Tools, not SDKs
    • Microsoft.CodeAnalysis.Workspaces.Common lists the following dependency:
      • Microsoft.CodeAnalysis.Common lists the following dependency:
        • Microsoft.CodeAnalysis.Analyzers: Tools, not SDKs
  • Microsoft.CodeAnalysis.VisualBasic.Workspaces lists the following dependencies:
    • Microsoft.CodeAnalysis.VisualBasic lists the following dependency:
      • Microsoft.CodeAnalysis.Common lists the following dependency:
        • Microsoft.CodeAnalysis.Analyzers: Tools, not SDKs
    • Microsoft.CodeAnalysis.Workspaces.Common lists the following dependency:
      • Microsoft.CodeAnalysis.Common lists the following dependency:
        • Microsoft.CodeAnalysis.Analyzers: Tools, not SDKs
  • Microsoft.CodeAnalysis.Compilers lists the following dependencies:
    • Microsoft.CodeAnalysis.CSharp lists the following dependency:
      • Microsoft.CodeAnalysis.Common lists the following dependency:
        • Microsoft.CodeAnalysis.Analyzers: Tools, not SDKs
    • Microsoft.CodeAnalysis.VisualBasic lists the following dependency:
      • Microsoft.CodeAnalysis.Common lists the following dependency:
        • Microsoft.CodeAnalysis.Analyzers: Tools, not SDKs

XML File locations

The following packages are metapackages and do not have XML files:

  • Microsoft.CodeAnalysis
  • Microsoft.CodeAnalysis.Compilers

The following package only contains tools and does not have an APIs:

  • Microsoft.CodeAnalysis.Analyzers

The following packages have a single XML file:

  • Microsoft.CodeAnalysis.Common (File is Microsoft.CodeAnalysis.xml)
  • Microsoft.CodeAnalysis.CSharp
  • Microsoft.CodeAnalysis.CSharp.Workspaces
  • Microsoft.CodeAnalysis.VisualBasic
  • Microsoft.CodeAnalysis.VisualBasic.Workspaces

One package has multiple XML files, for .NET standard and .NET Framework:

  • Microsoft.CodeAnalysis.Workspaces.Common The Microsoft.CodeAnalysis.Workspaces.XML file for .NET Standard and Microsoft.CodeAnalysis.Workspaces.Desktop.XML and Microsoft.CodeAnalysis.Workspaces.XML for .NET 4.6