Skip to content

Commit

Permalink
removing the conflicting assembly
Browse files Browse the repository at this point in the history
  • Loading branch information
SimaTian committed Jan 10, 2025
1 parent 07a83ea commit b6f9f79
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/Shared/FileSystem/WindowsFileSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,10 @@ public override bool DirectoryExists(string path)

public override bool FileExists(string path)
{
#if NETFRAMEWORK
return Microsoft.IO.File.Exists(path);
#else
// Due to https://github.com/microsoft/azure-pipelines-tasks/issues/20734
// I'm removing the dependency on Microsoft.IO.File.Exists(path);
// until the issue is fixed
return File.Exists(path);
#endif
}

public override bool FileOrDirectoryExists(string path)
Expand Down

0 comments on commit b6f9f79

Please sign in to comment.