> For the complete documentation index, see [llms.txt](https://til.cazzulino.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://til.cazzulino.com/dotnet.md).

# dotnet

- [How to get messages logged in dotnet build output](https://til.cazzulino.com/dotnet/how-to-get-messages-logged-in-dotnet-build-output.md): \<Message Importance="high" Text="Gone?!" /> gone?
- [How to emit descriptions for exported JSON schema using JsonSchemaExporter](https://til.cazzulino.com/dotnet/how-to-emit-descriptions-for-exported-json-schema-using-jsonschemaexporter.md)
- [NuGet](https://til.cazzulino.com/dotnet/nuget.md): NuGet-related learnings
- [Suppress dependencies when packing](https://til.cazzulino.com/dotnet/nuget/suppress-dependencies-when-packing.md)
- [Hide contentFiles from your nuget packages](https://til.cazzulino.com/dotnet/nuget/hide-contentfiles-from-your-nuget-packages.md)
- [Packaging transitive analyzers with NuGet](https://til.cazzulino.com/dotnet/nuget/packaging-transitive-analyzers-with-nuget.md)
- [How to add search to static nuget feed](https://til.cazzulino.com/dotnet/nuget/use-dotnet-vs-to-get-developer-prompt-in-terminal.md)
- [Populate RepositoryBranch in CI for NuGet Pack](https://til.cazzulino.com/dotnet/nuget/populate-repositorybranch-in-ci-for-nuget-pack.md)
- [Ignore folder from dotnet-format](https://til.cazzulino.com/dotnet/ignore-folder-from-dotnet-format.md)
- [Accessing Tor .onion URLs via HttpClient with .NET6](https://til.cazzulino.com/dotnet/accessing-tor-via-httpclient-with-.net6.md)
- [Installing .NET 5.0 on Raspberry Pi 4](https://til.cazzulino.com/dotnet/installing-.net-5.0-on-raspberry-pi-4.md)
- [Quickly check C# compiler and language version](https://til.cazzulino.com/dotnet/quickly-check-c-compiler-and-language-version.md)
- [Disable diagnostic analyzers for entire folder/submodules](https://til.cazzulino.com/dotnet/disable-diagnostic-analyzers-for-entire-folder-submodules.md)
- [Persisting output files from source generators](https://til.cazzulino.com/dotnet/persisting-output-files-from-source-generators.md)
- [Use C# 9 records in non-net5.0 projects](https://til.cazzulino.com/dotnet/use-c-9-records-in-non-net5.0-projects.md)
- [AsyncLocal never leaks and is safe for CallContext-like state](https://til.cazzulino.com/dotnet/asynclocal-never-leaks-and-is-safe-for-callcontext-like-state.md): Even if it's typically used in a static field, the values never leak since they are bound to a transient ExecutionContext
- [Using HashCode in .NETFramework](https://til.cazzulino.com/dotnet/using-hashcode-in-.netframework.md): How to use HashCode type in full .NET, which doesn't support it
- [How to locate dotnet](https://til.cazzulino.com/dotnet/how-to-locate-dotnet.md): How to locate dotnet from the currently running .NET Core application


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://til.cazzulino.com/dotnet.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
