麺麭
麺麭
CC#
Created by 麺麭 on 10/5/2023 in #help
❔ IL CodeGen for toy compiler [advice]
i think this is the answer right here
43 replies
CC#
Created by 麺麭 on 10/5/2023 in #help
❔ IL CodeGen for toy compiler [advice]
43 replies
CC#
Created by 麺麭 on 10/5/2023 in #help
❔ IL CodeGen for toy compiler [advice]
because i think from just the average C# developer perspective, you're expected to know about assemblies and namespaces but not screw with modules much
43 replies
CC#
Created by 麺麭 on 10/5/2023 in #help
❔ IL CodeGen for toy compiler [advice]
is the distinction between module and assembly an artifact of net framework days, or are there assemblies out there that have more than one module?
43 replies
CC#
Created by 麺麭 on 10/5/2023 in #help
❔ IL CodeGen for toy compiler [advice]
I do kind of have a curiosity question if ur still there tho maybe it doesn't belong in this channel?
43 replies
CC#
Created by 麺麭 on 10/5/2023 in #help
❔ IL CodeGen for toy compiler [advice]
thank you!!
43 replies
CC#
Created by 麺麭 on 10/5/2023 in #help
❔ IL CodeGen for toy compiler [advice]
No description
43 replies
CC#
Created by 麺麭 on 10/5/2023 in #help
❔ IL CodeGen for toy compiler [advice]
i'm guessing i have to qualify it? this is probably where I should read the docs more
43 replies
CC#
Created by 麺麭 on 10/5/2023 in #help
❔ IL CodeGen for toy compiler [advice]
I also see on the code you provided for netfx that the type is imported with the default importer
43 replies
CC#
Created by 麺麭 on 10/5/2023 in #help
❔ IL CodeGen for toy compiler [advice]
I see comparing on sharplib that the assembly referenced is call void [System.Console]System.Console::Write(int32)
43 replies
CC#
Created by 麺麭 on 10/5/2023 in #help
❔ IL CodeGen for toy compiler [advice]
Oh it's Internal.Console in CoreLib? hmm
43 replies
CC#
Created by 麺麭 on 10/5/2023 in #help
❔ IL CodeGen for toy compiler [advice]
or I would have assumed this would be part of corlib because it's obv not nuget? this is kinda just stream of thoughts for me so sorry not expecting u to hand-hold, i just have a lot to learn lol 😅
43 replies
CC#
Created by 麺麭 on 10/5/2023 in #help
❔ IL CodeGen for toy compiler [advice]
oh damn Console has its own assembly now
43 replies
CC#
Created by 麺麭 on 10/5/2023 in #help
❔ IL CodeGen for toy compiler [advice]
Unhandled exception. System.TypeLoadException: Could not load type 'System.Console' from assembly 'System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
at Program.Main()
Unhandled exception. System.TypeLoadException: Could not load type 'System.Console' from assembly 'System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
at Program.Main()
have you encountered this before?
43 replies
CC#
Created by 麺麭 on 10/5/2023 in #help
❔ IL CodeGen for toy compiler [advice]
I've published and run self-contained apps but I don't think i've actually run a framework dependent app
43 replies
CC#
Created by 麺麭 on 10/5/2023 in #help
❔ IL CodeGen for toy compiler [advice]
you are coming in as the GOAT
43 replies
CC#
Created by 麺麭 on 10/5/2023 in #help
❔ IL CodeGen for toy compiler [advice]
I've tried these methods and tried screwing around in the source code to see what it actually does, but im working in a notebook rn so i can't switch to VS and turn off Just My Code yet https://docs.washi.dev/asmresolver/guides/dotnet/basics.html#creating-a-new-net-module
43 replies
CC#
Created by 麺麭 on 10/5/2023 in #help
❔ IL CodeGen for toy compiler [advice]
No description
43 replies
CC#
Created by 麺麭 on 10/27/2023 in #help
❔ Blazor .NET 8 RenderModeInteractiveAuto - fetch data via API
I remember Unity has some type of crazy thing with Attributes and requiring you to end your method with certain names
50 replies
CC#
Created by 麺麭 on 10/27/2023 in #help
❔ Blazor .NET 8 RenderModeInteractiveAuto - fetch data via API
well, those in general, but yeah
50 replies