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

Treat non-web apps as first class, not requiring appSettings hack. #131

Merged
merged 1 commit into from
Mar 10, 2022

Conversation

StephenMolloy
Copy link
Contributor

In the 3.6 update, we botched the handling of the "aspnet:RoslynCompilerLocation" appSetting. Prior to that version, we
would add that value to app.config files, but not web.config. With the update, we started treating all config files the same,
not adding that setting anymore.

Web apps have a 'bin' directory where all their assemblies get deployed. We also deploy roslyn to this bin directory.
Non-web apps don't have 'bin', but instead just a base AppDomain directory. This is where we deploy roslyn in non-web scenarios.

Instead of requiring a silly 'aspnet:*' appSetting for non-aspnet apps to use this package, let's just check the appdomain base
directory as a default location.

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.

1 participant