diff --git a/platform-includes/set-release/dotnet.mdx b/platform-includes/set-release/dotnet.mdx index f0be2c09b440a..015bb34892027 100644 --- a/platform-includes/set-release/dotnet.mdx +++ b/platform-includes/set-release/dotnet.mdx @@ -13,3 +13,7 @@ The SDK attempts to locate the release to attach to events sent to Sentry. The SDK will first check if there's a version set on the environment via `SENTRY_RELEASE` and use it as-is. If no version is found, the SDK will look at the [entry assembly's]() `AssemblyInformationalVersionAttribute`, which accepts a string value and is often used to set a GIT commit hash. If that returns null, then the SDK will look at the default `AssemblyVersionAttribute`, which accepts the numeric version number. The resulting release will be in the format `@`. + + +An `AssemblyInformationalVersionAttribute` is included automatically in SDK-style projects with a default value of `"1.0.0.0"`. You can set the `Version` property in your project file to override this value or [disable it entirely](https://learn.microsoft.com/en-us/dotnet/standard/assembly/set-attributes-project-file#use-package-properties-as-assembly-attributes) by setting the `GenerateAssemblyInformationalVersionAttribute` property to `false`. +