Skip to content

Commit 6f2e6ae

Browse files
authored
Update CompilationUtil.cs (#140)
roslyn folder is a Directory not a File
1 parent c0569b3 commit 6f2e6ae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Microsoft.CodeDom.Providers.DotNetCompilerPlatform/Util/CompilationUtil.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ internal static string CompilerDefaultPath()
208208
string compilerFullPath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, webPath);
209209

210210
// Then appdomain base
211-
if (!File.Exists(compilerFullPath))
211+
if (!Directory.Exists(compilerFullPath))
212212
compilerFullPath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, appPath);
213213

214214
return compilerFullPath;

0 commit comments

Comments
 (0)