4

In .NET, assemblies have their AssemblyInfo.cs file where one can put general descriptive info about the assembly. But, where to explicitly put an (open source) license? I will have a copyright, which is still mine, but how am I supposed to explicitly license via GPL (in this case?)

Here's how I do it for now:

// General Information about an assembly is controlled through the following 
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.

[assembly: AssemblyCompany("codeministry.ch")]
[assembly: AssemblyProduct("Replayer")]
[assembly: AssemblyCopyright("(c) 2018 by codeministry.ch, GPL-v3 licensed")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("1.6.2")]

This does not seem to fit well, is there a better way to state the license?

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.