How do I specify the "Product Name" and "Copyright" properties for a .NET Assembly?
3 views (last 30 days)
Show older comments
MathWorks Support Team
on 19 Mar 2024
Answered: MathWorks Support Team
on 19 Mar 2024
I am compiling a .NET Assembly using "deploytool" and I would like to specify the "Product Name" and "Copyright" properties. How can I add these to my .NET Assembly?
Accepted Answer
MathWorks Support Team
on 19 Mar 2024
In order to specify these properties in your .NET Assembly, create an "Assemblyinfo.cs" file and then attach it as "Shared Resources and Helper Files" in your "deploytool" project.
Adjusting the entries as needed, the contents of the "Assemblyinfo.cs" file should be as follows:
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("myTitle")]
[assembly: AssemblyDescription("my des")]
[assembly: AssemblyConfiguration("my config")]
[assembly: AssemblyCompany("my comp")]
[assembly: AssemblyProduct("my prod")]
[assembly: AssemblyCopyright("my cr")]
[assembly: AssemblyTrademark("my tm")]
[assembly: AssemblyCulture("")]
0 Comments
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!