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') }
source
share