Skip to content

Conversation

@nikitalita
Copy link
Contributor

Problem

Custom project writers cannot currently make use of TargetFramework and TargetServices because they're not public.

My specific use case is: I am using ILSpy in my Godot decompiler to add support for decompiling games with C# scripts. One of the quirks about building a C# project for Godot is that the SDK in the csproj is labelled as Godot.NET.Sdk, and there are custom assemblies that are automatically included without references, so I had to make a custom project writer for this and pass it into WholeProjectDecompiler.

I currently have to copy a bunch of files, including these, because they're not public; since we explicitly provide the ability to pass in a custom project writer to the decompiler, I think that they should be made public so that others can make use of them.

Solution

  • What it says on the tin

@siegfriedpammer siegfriedpammer merged commit 3e1c857 into icsharpcode:master Jul 5, 2025
5 checks passed
@siegfriedpammer
Copy link
Member

Thank you very much for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants