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

No way to specify a script compilation's return type when created via ProjectInfo #20919

Open
abock opened this issue Jul 17, 2017 · 1 comment

Comments

@abock
Copy link
Contributor

abock commented Jul 17, 2017

Version Used: 2.3.0

Creating script compilations via Microsoft.CodeAnalysis.ProjectInfo provides no way to specify the compilation's return type. Lower level APIs such as Microsoft.CodeAnalysis.CSharp.CSharpCompilation.CreateScriptCompilation allow for this.

It would be desirable to create these compilations via the ProjectInfo API that is used in workspaces.

@abock
Copy link
Contributor Author

abock commented Jul 17, 2017

Fixing this should either block on or be done at the same time as #20920.

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

No branches or pull requests

3 participants