ascpixi
ascpixi
CC#
Created by ascpixi on 7/21/2024 in #help
✅ Evaluating arbitrary XML in MSBuild?
anywho, thanks for your time! :catlove:
13 replies
CC#
Created by ascpixi on 7/21/2024 in #help
✅ Evaluating arbitrary XML in MSBuild?
although every time that file was modified it triggered a rebuild, so i think it wouldn't work
13 replies
CC#
Created by ascpixi on 7/21/2024 in #help
✅ Evaluating arbitrary XML in MSBuild?
yeah thats what i've ended up doing, the obj folder was already there so i just left it alone lol
13 replies
CC#
Created by ascpixi on 7/21/2024 in #help
✅ Evaluating arbitrary XML in MSBuild?
ah, alright... is it fine if I immediately delete the file after I import it, or does Import expect the file to exist until the entire build is completed?
13 replies
CC#
Created by ascpixi on 7/21/2024 in #help
✅ Evaluating arbitrary XML in MSBuild?
my use case is for my custom build system to support IDEs that rely on MSBuild (and MSBuild only, like Visual Studio or Rider). i don't wanna delve into too much details, but basically, my script returns something like the following:
<Project>
<!-- This file has been auto-generated. -->
<PropertyGroup>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
</Project>
<Project>
<!-- This file has been auto-generated. -->
<PropertyGroup>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
</Project>
after an <Exec>, ideally i'd want to just evaluate this in-memory rather than having to write it to a temporary file
13 replies
CC#
Created by ascpixi on 5/5/2024 in #help
`RoslynCodeTaskFactory` using an ancient version of .NET...?
awh, that sucks, alright :(
5 replies
CC#
Created by ascpixi on 5/5/2024 in #help
`RoslynCodeTaskFactory` using an ancient version of .NET...?
i'm doing dotnet publish under linux, if that matters
5 replies
CC#
Created by ascpixi on 8/28/2023 in #help
❔ Does the import-by-ordinal functionality of DllImport work under NAOT + DirectPInvoke?
i was thinking of using ordinals for opengl32.dll cuz i'm p sure that file wouldn't ever change anyways lol
12 replies
CC#
Created by ascpixi on 8/28/2023 in #help
❔ Does the import-by-ordinal functionality of DllImport work under NAOT + DirectPInvoke?
12 replies
CC#
Created by ascpixi on 8/28/2023 in #help
❔ Does the import-by-ordinal functionality of DllImport work under NAOT + DirectPInvoke?
cuz i think this only happens w/ DirectPInvoke (as for non-direct p/invokes it would generate a standard p/invoke stub)
12 replies
CC#
Created by ascpixi on 8/28/2023 in #help
❔ Does the import-by-ordinal functionality of DllImport work under NAOT + DirectPInvoke?
well, it does use ordinals when the .lib file tells it to, so i'm not sure if it makes sense to make an issue for such an edge case (even tho DllImport specifies it can import ordinals)
12 replies
CC#
Created by ascpixi on 8/28/2023 in #help
❔ Does the import-by-ordinal functionality of DllImport work under NAOT + DirectPInvoke?
(I also tried specifying it using hex, i.e. #8BF, but that also didn't work)
12 replies
CC#
Created by ascpixi on 8/28/2023 in #help
❔ Does the import-by-ordinal functionality of DllImport work under NAOT + DirectPInvoke?
I'm compiling using NAOT and I do have user32.dll included in the DirectPInvoke list, alongside user32.lib being included:
<LinkerArg Include="user32.lib"></LinkerArg>
<DirectPInvoke Include="user32" />
<LinkerArg Include="user32.lib"></LinkerArg>
<DirectPInvoke Include="user32" />
12 replies
CC#
Created by ascpixi on 6/12/2023 in #help
❔ ✅ Unhandled Exception: EETypeRva:0x0017C798: Reflection_Disabled on startup?
(it still would be nicer to have a markdown file listing it just sayiinggggg ⚆_⚆)
76 replies
CC#
Created by ascpixi on 6/12/2023 in #help
❔ ✅ Unhandled Exception: EETypeRva:0x0017C798: Reflection_Disabled on startup?
eh i mean i'm used to reading the runtime docs at this point when i was writing my own bare metal runtime xd
76 replies
CC#
Created by ascpixi on 6/12/2023 in #help
❔ ✅ Unhandled Exception: EETypeRva:0x0017C798: Reflection_Disabled on startup?
yeah i've given up on reflection-free mode, it'll be less painful to use reflection rather than try to port all the DX code I have from Vortice to TerraFX lol
76 replies
CC#
Created by ascpixi on 6/12/2023 in #help
❔ ✅ Unhandled Exception: EETypeRva:0x0017C798: Reflection_Disabled on startup?
oh, i see...
76 replies
CC#
Created by ascpixi on 6/12/2023 in #help
❔ ✅ Unhandled Exception: EETypeRva:0x0017C798: Reflection_Disabled on startup?
IlcGenerateStackData was on the optimization page
76 replies
CC#
Created by ascpixi on 6/12/2023 in #help
❔ ✅ Unhandled Exception: EETypeRva:0x0017C798: Reflection_Disabled on startup?
yeye i saw that but i couldnt find any docs about IlcScanReflection for example
76 replies
CC#
Created by ascpixi on 6/12/2023 in #help
❔ ✅ Unhandled Exception: EETypeRva:0x0017C798: Reflection_Disabled on startup?
is there documentation that lists them?
76 replies