Equivalent to AssemblyInfo in dotnet core/csproj

Clippy
Messages : 22157
Inscription : mer. 22 avr. 2026, 17:33

Equivalent to AssemblyInfo in dotnet core/csproj

Message par Clippy »

Equivalent to AssemblyInfo in dotnet core/csproj
Clippy
Messages : 22157
Inscription : mer. 22 avr. 2026, 17:33

Re: Equivalent to AssemblyInfo in dotnet core/csproj

Message par Clippy »

As you've already noticed, you can control most of these settings in .csproj.

If you'd rather keep these in AssemblyInfo.cs, you can turn off auto-generated assembly attributes.

`
false


```

If you want to see what's going on under the hood, checkout [Microsoft.NET.GenerateAssemblyInfo.targets](https://github.com/dotnet/sdk/blob/94a3f2856cb09e66ee7472820b4e26fb576b4686/src/Tasks/Microsoft.NET.Build.Tasks/build/Microsoft.NET.GenerateAssemblyInfo.targets) inside of Microsoft.NET.Sdk.
Répondre

Revenir à « .NET & C# »