#Roslyn+Marek
Explore tagged Tumblr posts
Text
Dolltober 2023 Day 2
Spellbound
6 notes
·
View notes
Text
Mono.Cecil 0.10 beta 3
I've uploaded the Mono.Cecil 0.10 beta 3 to NuGet today.
For this beta we've worked with the Mono team to support their need while they move to Roslyn and Portable PDBs. You can browse the list of changes since beta 2.
This new release addresses one main issue:
Best effort symbol handling
Before the introduction of the Portable PDB debug symbol format, there was a 1 to 1 association between a .NET VM implementation and its debug symbol format. Mono would use the mdb format, .NET would use the native pdb format, that's how Cecil would work. Now one platform can use different format.
Previously when you wrote:
ReadAssembly (file, new ReaderParameters { ReadSymbols = true });
Cecil would try to find the file associated with the platform, and throw if it didn't find one.
Now in 0.10 beta 3, Cecil will try to find different type of debug symbols. This way, as a Cecil user, you do not have to handle the logic of trying to file a mdb or a pdb file, Cecil will just load what's available.
When writing:
WriteAssembly (file, new WriterParameters { WriterSymbols = true });
Cecil will write back the symbols in the same format that they were read.
Breaking Change:
The types PdbReader and PdbWriter - respectively implementing ISymbolReader and ISymbolWriter - have been renamed NativePdbReader and NativePdbWriter to make clearer the format they are handling.
Miscellaneous
Cecil is now deterministic. Put it simply, given the same input, Cecil will now always produce the same output. Previously this was hindered by timestamps that were computed at the time the assembly was written, now we preserve the existing timestamp. We have a new property on WriterParameters if you want to change the timestamp for the rewritten assembly.
Cecil now optimizes how strings are stored in the assembly. Example: if you have a type named Provider and another one name DateProvider, the string Provider will be only stored once.
For .net standard build, we're now relying on the new MSBuild based .NET Core tooling.
Thanks to everyone who contributed to this release:
Sven Boemer
Rolf Bjarne Kvinge
Eugene Rozenfeld
Marek Safar
Thanks, Jb
0 notes
Text
Dolltober Day 19
Live, Laugh, Haunt
#doll#bjd#dolltober#dolltober2023#iplehouse arvid#limhwa half elf#Iplehouse#limhwa#Arvid#half elf#roslyn#marek#Roslyn+Marek
3 notes
·
View notes
Text
15 notes
·
View notes
Text
5 notes
·
View notes
Text
1 note
·
View note