Skip to content

Push context all the way to csc resolution#1

Open
xerootg wants to merge 2 commits intomhutch:mainfrom
xerootg:push_context_all_the_way_to_csc_resolution
Open

Push context all the way to csc resolution#1
xerootg wants to merge 2 commits intomhutch:mainfrom
xerootg:push_context_all_the_way_to_csc_resolution

Conversation

@xerootg
Copy link
Copy Markdown

@xerootg xerootg commented Jan 29, 2025

Hello! I am retargeting this from mono/t4, I need a way to use a more modern csc for framework based msbuild uses, specifically for a more modern c# version. This might not be the most perfect solution for piping the csc.exe path from the build task to the RuntimeInfo class, let me know what you'd prefer if not. re: mono#198

@xerootg
Copy link
Copy Markdown
Author

xerootg commented Feb 6, 2025

@mhutch do you have any thoughts on this change?

@mhutch
Copy link
Copy Markdown
Owner

mhutch commented Feb 11, 2025

@xerootg sorry I haven't had time to look at this recently. I'm definitely on board with the feature, I just need to think about how I would want to surface it in the public API. I've had ideas for a while to separate out the execution runtime, compilation target runtime, and the compiler toolchain, and this would obviously intersect with that.

@xerootg
Copy link
Copy Markdown
Author

xerootg commented Feb 13, 2025

I might have some time to work on this coming up, do you have a specific pattern your looking for? Seems kinda tricky to determine this detail but also was tricky to snake it through.

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