CMertens / protobuf-net

Automatically exported from code.google.com/p/protobuf-net
Other
0 stars 0 forks source link

precompiler to generate dll with version of used dll #395

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
In order to satisfy conventional WiX updates scripts
In order to debug production cases
When I point precompiler to dll of version 1.2.3 with protobuf
Then it generates serializers dll of 1.2.3  version

Now it generates by default version 0.0.0. Or there is some parameter?

Thanks

Original issue reported on code.google.com by Dzmitry....@gmail.com on 1 Jul 2013 at 3:08

GoogleCodeExporter commented 9 years ago
Hmmm - indeed. I would propose command line switches, else if not provided try 
to rip the details from the first input assembly. Shouldn't be hard - one for 
the next build I hope.

Original comment by marc.gravell on 1 Jul 2013 at 3:22

GoogleCodeExporter commented 9 years ago
Would be greate. I am going to use it with https://nuget.org/packages/NDceRpc 
for fast to start and fast to work local IPC.

Original comment by Dzmitry....@gmail.com on 1 Jul 2013 at 3:25

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Can use IlRepack syntax and semantics

 - /keyfile:<path>    specifies a keyfile to sign the output assembly
 - /log:<logfile>     enable logging (to a file, if given) (default is disabled)
 - /ver:M.X.Y.Z       target assembly version
 - /union             merges types with identical names into one
 - /ndebug            disables symbol file generation
 - /copyattrs         copy assembly attributes (by default only the primary assembly attributes are copied)
 - /attr:<path>       take assembly attributes from the given assembly file

Original comment by Dzmitry....@gmail.com on 1 Jul 2013 at 4:02