We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c0569b3 commit 6f2e6aeCopy full SHA for 6f2e6ae
1 file changed
src/Microsoft.CodeDom.Providers.DotNetCompilerPlatform/Util/CompilationUtil.cs
@@ -208,7 +208,7 @@ internal static string CompilerDefaultPath()
208
string compilerFullPath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, webPath);
209
210
// Then appdomain base
211
- if (!File.Exists(compilerFullPath))
+ if (!Directory.Exists(compilerFullPath))
212
compilerFullPath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, appPath);
213
214
return compilerFullPath;
0 commit comments