Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiler step instead of replacing compiler #16

Open
ZacLiveEarth opened this issue Nov 16, 2016 · 1 comment
Open

Compiler step instead of replacing compiler #16

ZacLiveEarth opened this issue Nov 16, 2016 · 1 comment

Comments

@ZacLiveEarth
Copy link

I'm hesitant to plug this in to our existing project because it looks like a wholesale replacement of the compiler (correct me if I'm wrong). Is there a way to plugin this in as a build step and still use the regular compiler from Microsoft?

@antiufo
Copy link
Owner

antiufo commented Nov 16, 2016

This tool wraps the original, unmodified C# compiler, and performs transformations on the syntax trees as an intermediate step.
Here you can see how to use RoslynLinqRewrite programmatically. Potentially, you could for example save the transformed ASTs to the file system and then compile or process them in a different way.

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

No branches or pull requests

2 participants