ILASM does not install FileVersion

I have a .il file that I can compile without any problems. I can call it that without any problems. But I cannot set the version of the file through the attribute, as I would expect. How can I set FileVersion to build when using ilasm?

If I make a round trip, I always get a .res file that contains only binary data that is not readable. What is inside this res file and can I edit it?

Code does not work

.assembly myAssembly 
{
  .custom instance void [mscorlib]System.Reflection.AssemblyFileVersionAttribute::.ctor(string) = { string('1.2.3.4') }
+5
source share
1 answer

.res. ildasm ilasm. IL .res. ilasm . res, , , PE, .

ilasm test.il /dll /res:test.res

, res, assemlby, , , , .

, .

+9

All Articles