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

[3.6.0] Missing entry "aspnet:RoslynCompilerLocation" in app.config causes compile to fail #113

Closed
WolfgangHG opened this issue Jul 20, 2020 · 5 comments

Comments

@WolfgangHG
Copy link

When upgrading our exisiting projects to 3.6.0, I noticed that this line in "app.config" was removed:

<appSettings> <add key="aspnet:RoslynCompilerLocation" value="roslyn"/> </appSettings>

This causes our app to fail with a "System.IO.DirectoryNotFoundException":
"Ein Teil des Pfades "C:\Temp\RoslynTest\RoslynTest\bin\Debug\bin\roslyn\vbc.exe" konnte nicht gefunden werden."
(translated: "Could not find a part of the path ...")
The files are placed in "bin\Debug\roslyn", but the compiler searches them in "bin\Debug\bin\roslyn".

It works if the appSettings key is re-added.

RoslynTest.zip

Best regards

Wolfgang

@elGuille-MVP
Copy link

elGuille-MVP commented Aug 30, 2020

The same compiling from a desktop application.
Thanks Wolfgang :-)

Guillermo

@WolfgangHG
Copy link
Author

Just want to bring back attention to this issue. Are there any plans to repair this?

@WolfgangHG
Copy link
Author

Was this fixed by #131 ?

@StephenMolloy
Copy link
Contributor

Between #130 and #131 I think this should be resolved now. Please reopen if it's still an issue.

@WolfgangHG
Copy link
Author

I can confirm that it works now.

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

3 participants