Skip to content

Where do builds set the AssemblyCompanyAttribute attribute for assemblies? #3134

Answered by crummel
jcolebrand asked this question in Q&A
Discussion options

You must be logged in to vote

Most of the .NET repos use Arcade to build which sets the Company attribute here: https://github.com/dotnet/arcade/blob/3dd12f0a1d25fa29b84e38b7d2345a693f4ae45e/src/Microsoft.DotNet.Arcade.Sdk/tools/ProjectDefaults.props#L10. In general I think a better approach might be checking for a Microsoft signature since the company attribute is something that anyone can just set, but then you'll have to keep up on the Microsoft certificates, which might be more effort than it's worth for your application. I'll transfer this over to arcade who would probably know better than us whether the Company attribute is ever likely to change.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@jcolebrand
Comment options

Answer selected by jcolebrand
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants