Silverfrost Forums

Welcome to our forums

Assembly Information

15 Nov 2011 8:56 #9222

In Visual Studio projects, both executables or dll, it is possible to define some assembly information (like company name, product version, copyright...), which will be visible in the compiled file properties. This can be easily obtained by setting appropriate values in the project properties page.

Is there a way to do the same thing for FTN95 projects (.NET mode), by setting compiler options or by coding?

16 Nov 2011 8:10 #9224

You can set the version number by using /ver on the dbk_link command line (or via the linker settings in a project) but, as far as I know, other values are automatically provided (or not) by the linker.

16 Nov 2011 10:01 #9225

Thank you for the quick reply. That's ok for the version number, but other values remain blank. You said that the linker automatically provides [u:c8043e1e74]or not[/u:c8043e1e74] the values of 'company', 'copyright' and so on, but depending on what? Where and when they should be set?

16 Nov 2011 3:17 #9228

What I meant was that the linker adds this information for some fields but leaves others blank. I don't know of a way to fill in the blanks except for us to add extra options to the linker for you.

16 Nov 2011 6:40 #9231

Wow, it would be grate! In fact it is not a vital point, but it maight be useful not only for me... Thank you again.

16 Nov 2011 7:14 #9234

Which are the most important? Let's suppose I can add two more fields.

16 Nov 2011 8:24 #9236

Thank you very much Paul. In my opinion the most important are:

  1. copyright
  2. product description
  3. company

Of course this ranking is questionable!

17 Nov 2011 7:47 #9239

Maybe the simplest solution will be to get dbk_link to accept a .cs file on the command line, this file containing standard [assembly: ...] instructions.

17 Nov 2011 8:43 #9243

I think this solution is very close to what Visual Studio actually does.

24 Nov 2011 3:48 #9286

I have added this feature to the linker for the next release.

24 Nov 2011 5:14 #9287

Thank you very much! 😄

24 Jan 2012 8:49 #9483

Is this feature already added to 6.20 release or it will come with the next one?

25 Jan 2012 9:05 #9484

Hopefully it is in the current release. I have not checked. You should now be able to include an standard assembly file on the DBK_LINK command line.

Please login to reply.