Generation of AssemblyInfo.cs

2 views
Skip to first unread message

Slesa

unread,
Jan 15, 2013, 7:12:19 AM1/15/13
to fshar...@googlegroups.com
Hi there,

the smaller one first: obviously, fake has some problems with the output of the (c)-Character (the one which is per default in the AssemblyInfo.cs when generated by Microsoft). In the generated file appears an additional letter before this char.

The second problem I have is with the fields in the generated AssemblyInfo.cs - mainly because I do not want to get it written with all informations, but only with the global informations of the company and the product - means:
  • AssemblyCompany
  • AssemblyCopyright
  • AssemblyTrademark
  • AssemblyVersion
  • AssemblyFileVersion
This is generated into a file called VersionInfo.cs in the root directory of the sources and included as link in each project. When these values are removed from each AssemblyInfo, it works fine.

A year ago, it was changed, that an empty GUID is not written to the file, which helps a lot. The only problem left is now, that the flags have no 'do not write' option - they are true or false. So ComVisible has always one global option. I hope, we do not have any COM assembly, but I would feel better with an option to forbid output of these flags. 

Steffen Forkmann

unread,
Jan 15, 2013, 7:22:24 AM1/15/13
to fshar...@googlegroups.com

Do you want to send a Pull request?

Slesa

unread,
Jan 15, 2013, 9:13:49 AM1/15/13
to fshar...@googlegroups.com
I have no idea how to deal with optional bool flags here. Would that be an option at all?

Steffen Forkmann

unread,
Jan 27, 2013, 8:49:59 AM1/27/13
to fshar...@googlegroups.com

Hi,

 

I created two new AssemblyInfo tasks for FAKE. See usage here: https://github.com/fsharp/FAKE/commit/4bc19bc5fae3db4741dbc8df7437954439b6ce94

 

Does this help?

 

Cheers,

Steffen

 

Von: fshar...@googlegroups.com [mailto:fshar...@googlegroups.com] Im Auftrag von Slesa
Gesendet: Dienstag, 15. Januar 2013 13:12
An: fshar...@googlegroups.com
Betreff: [FAKE - F# Make] Generation of AssemblyInfo.cs

 

Hi there,

Reply all
Reply to author
Forward
0 new messages