Go to file
Carlos Sanchez 0b3703eee9
Copy local intellisense xmls for assemblies with source of truth. (#79134)
* Copy local intellisense xmls for assemblies with source of truth.

* use UseIntellisenseDocumentationFile instead

* Create intellisense.targets, which contains the Target that defines the set of files to copy, and the Target that copies each of those files into the artifacts/bin/docs folder.
The paths of the files to copy are dynamically defined depending if the assembly IsPackable property is set or not, and if the UseIntellisenseDocumentationFile boolean is set or not.

* Set UseIntellisenseDocumentationFile to true for the 3 assemblies that already have their source of truth in triple slash.

* Delete docs.targets, move package download to Build.proj

* Consume $(XmlDocDir) in Microsoft.NetCore.App.Ref.sfxproj

* Change condition to import intellisense.targets: Use $(IsSourceProject) == true

* Move XmlDocFileRoot to intellisense.targets, address suggestions for collecting xml file.

* Expand condition of CopyDocumentationFileToXmlDocDir to also check if IsNetCoreAppSrc == true.

* Change AfterTargets of CopyDocumentationFileToXmlDocDir from CoreCompile to CopyFilesToOutputDirectory

* Move PackageDownload to intellisense.targets

* Remove Choose+When. Readjust properties for Private.Intellisense files/folders. Fix conditions for doc file swap.

* Rename csproj property to something more clear.

* Default csproj property to true.

* Missed adding the "not previously set" condition for UseIntellisensePackageDocXmlFile in intellisense.targets.

* Remove incorrect condition in CopyDocumentationFileToXmlDocDir.

* Missed property reuse in Condition in sfxproj

* Only evaluate second IntellisensePackageXmlFile if the first one did not acquire any value.

* Move intellisense.targets import from root to libraries, right after the IsNetCoreAppSrc property is declared so we can use it.

* Enable CS1591, skip arcade warning

* Move SkipArcadeNoWarnCS1591 to src/libraries/Directory.Build.props to avoid coreclr failures

* Remove unnecessary slashes in sfxproj

* Move SkipArcadeNoWarn up to the top of src/libraries/Directory.Build.props to ensure it gets loaded before importing arcade.

* Revert Brotli and Vectors csproj changes. Those assemblies are either a partial facade or use PNSE.

* Add target to intellisense.targets that runs as InitialTarget of the current project, and throws errors if the UseIntellisensePackageDocXmlFile is set to false and the assembly is either a partial facade or uses PNSE.

* Improve error message: Mention the problematic property and the offending assembly.

* Added extra condition to verification target to only run when UseIntellisense... is not set to true.
Also moved the initial definition to its own solitary property group right before the verification target runs.

Rename the properties that acquire the value of a file path to "FilePath" instead of just "File", for clarity.

---------

Co-authored-by: smasher164 <akhilindurti@microsoft.com>
Co-authored-by: carlossanlop <carlossanlop@users.noreply.github.com>
2023-02-01 14:29:00 -08:00
.config [main] Update dependencies from 9 repositories (#80916) 2023-01-26 13:14:17 -06:00
.devcontainer Lowercase TargetOS (#80164) 2023-01-11 17:58:32 +01:00
.github [mono][interp] Add @kotlarmilos as code owner (#81209) 2023-01-27 10:22:39 +02:00
docs Add note on WarningsAsErrors (#81451) 2023-02-01 17:22:59 +09:00
eng Copy local intellisense xmls for assemblies with source of truth. (#79134) 2023-02-01 14:29:00 -08:00
src Copy local intellisense xmls for assemblies with source of truth. (#79134) 2023-02-01 14:29:00 -08:00
.clang-format Move clang-format download into dotnet/runtime and add docs for setting up auto-formatting in the repository (#59374) 2021-09-23 14:34:00 -07:00
.dockerignore Fix stress-http and stress-ssl builds on Linux (#49706) 2021-03-17 11:49:39 +01:00
.editorconfig Enable IDE0060 (Remove unused parameter) analyzer (#72667) 2022-11-08 14:05:34 +01:00
.gitattributes [wasm] deprecate legacy JS API and propose new (#73068) 2022-08-04 08:19:50 +02:00
.gitignore [wasm][debugger] Revert don't need to escape special characters anymore (#78320) 2022-12-08 16:04:44 -03:00
.markdownlint.json Enable markdownlint rule (MD009) (#40887) 2021-02-08 10:43:40 -08:00
.vsconfig Update .vsconfig file (#77189) 2022-10-20 10:09:19 -07:00
Build.proj Copy local intellisense xmls for assemblies with source of truth. (#79134) 2023-02-01 14:29:00 -08:00
CODE-OF-CONDUCT.md Initial runtime repository structure 2019-11-14 01:26:19 +01:00
CONTRIBUTING.md Update copyright guidance for Creative Commons (#80272) 2023-01-06 14:04:02 -08:00
Directory.Build.props Copy local intellisense xmls for assemblies with source of truth. (#79134) 2023-02-01 14:29:00 -08:00
Directory.Build.targets Lowercase TargetOS (#80164) 2023-01-11 17:58:32 +01:00
Directory.Solution.props Fix solution restore in libraries (#38294) 2020-06-23 22:35:40 +02:00
LICENSE.TXT Revert "Update "LICENSE.txt" so that it's recognized as MIT" (#37626) 2020-06-08 22:22:27 -04:00
NuGet.config Add dotnet8 feeds in main nuget.config (#74101) 2022-08-17 20:00:51 -07:00
PATENTS.TXT Update repo link to dotnet/runtime (#1781) 2020-01-15 21:16:56 -05:00
README.md Fix Azure Pipelines build badge in README (#78134) 2022-11-09 18:44:58 -08:00
SECURITY.md Fix trailing whitespaces (#40891) 2020-08-19 17:29:01 -07:00
THIRD-PARTY-NOTICES.TXT remove UUID section superceded by RFC 4122 (#80320) 2023-01-07 15:10:04 -05:00
build.cmd Print help for -? and /? cross-plat (#42396) 2020-09-24 14:27:24 +02:00
build.sh Add windows support for build.sh (#94) 2019-11-18 16:41:36 +01:00
dotnet.cmd Move dotnet.cmd/sh helper scripts into the repo root (#672) 2019-12-11 21:01:58 +01:00
dotnet.sh Move dotnet.cmd/sh helper scripts into the repo root (#672) 2019-12-11 21:01:58 +01:00
global.json [main] Update dependencies from dotnet/arcade (#81353) 2023-01-31 11:22:16 -05:00

README.md

.NET Runtime

Build Status Help Wanted Gitter Discord

This repo contains the code to build the .NET runtime, libraries and shared host (dotnet) installers for all supported platforms, as well as the sources to .NET runtime and libraries.

What is .NET?

Official Starting Page: https://dotnet.microsoft.com

How can I contribute?

We welcome contributions! Many people all over the world have helped make this project better.

Reporting security issues and security bugs

Security issues and bugs should be reported privately, via email, to the Microsoft Security Response Center (MSRC) secure@microsoft.com. You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Further information, including the MSRC PGP key, can be found in the Security TechCenter. You can also find these instructions in this repo's Security doc.

Also see info about related Microsoft .NET Core and ASP.NET Core Bug Bounty Program.

Filing issues

This repo should contain issues that are tied to the runtime, the class libraries and frameworks, the installation of the dotnet binary (sometimes known as the muxer) and installation of the .NET runtime and libraries.

For other issues, please file them to their appropriate sibling repos. Their respective links are described in the config issue template doc.

.NET Foundation

.NET Runtime is a .NET Foundation project.

There are many .NET related projects on GitHub.

  • .NET home repo - links to 100s of .NET projects, from Microsoft and the community.
  • ASP.NET Core home - the best place to start learning about ASP.NET Core.

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.

General .NET OSS discussions: .NET Foundation Discussions

License

.NET (including the runtime repo) is licensed under the MIT license.