title: System.IO.IOException "Function not implemented" in CreateHostBuilder(args).Build().Run()
body: <p>When I start debugging my app in a Linux Docker container, I get the exception when calling <strong>CreateHostBuilder(args).Build()</strong>.  The code is part of a pretty new AspASP.NET Core MVC 3.1 project.</p>
  <p>I saw the issue before <s>and maybe fixed it removing an orphan file in a Views sub-folder</s>.  The problem seemed to come back after switching branches in git.  It happened a third time after renaming a cshtml file in my project.</p>
  <pre><code>    public static void Main(string[] args)
      {
          CreateHostBuilder(args).Build().Run();
      }
  </code></pre>
  <p><strong>Exception</strong></p>
  <pre><code>System.IO.IOException
    HResult=0x00000026
    Message=Function not implemented
    Source=System.IO.FileSystem
    StackTrace:
     at System.IO.Enumeration.FileSystemEnumerator`1.CreateDirectoryHandle(String path, Boolean ignoreNotFound)
     at System.IO.Enumeration.FileSystemEnumerator`1.Init()
     at System.IO.Enumeration.FileSystemEnumerator`1..ctor(String directory, Boolean isNormalized, EnumerationOptions options)
     at System.IO.Enumeration.FileSystemEnumerable`1..ctor(String directory, FindTransform transform, EnumerationOptions options, Boolean isNormalized)
     at System.IO.Enumeration.FileSystemEnumerableFactory.UserDirectories(String directory, String expression, EnumerationOptions options)
     at System.IO.Directory.InternalEnumeratePaths(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
     at System.IO.Directory.EnumerateDirectories(String path)
     at System.IO.FileSystemWatcher.RunningInstance.AddDirectoryWatchUnlocked(WatchedDirectory parent, String directoryName)
     at System.IO.FileSystemWatcher.RunningInstance.AddDirectoryWatchUnlocked(WatchedDirectory parent, String directoryName)
     at System.IO.FileSystemWatcher.RunningInstance.AddDirectoryWatchUnlocked(WatchedDirectory parent, String directoryName)
     at System.IO.FileSystemWatcher.RunningInstance.AddDirectoryWatchUnlocked(WatchedDirectory parent, String directoryName)
     at System.IO.FileSystemWatcher.RunningInstance..ctor(FileSystemWatcher watcher, SafeFileHandle inotifyHandle, String directoryPath, Boolean includeSubdirectories, NotifyFilters notifyFilters, CancellationToken cancellationToken)
     at System.IO.FileSystemWatcher.StartRaisingEvents()
     at System.IO.FileSystemWatcher.StartRaisingEventsIfNotDisposed()
     at System.IO.FileSystemWatcher.set_EnableRaisingEvents(Boolean value)
     at Microsoft.Extensions.FileProviders.Physical.PhysicalFilesWatcher.TryEnableFileSystemWatcher()
     at Microsoft.Extensions.FileProviders.Physical.PhysicalFilesWatcher.CreateFileChangeToken(String filter)
     at Microsoft.Extensions.FileProviders.PhysicalFileProvider.Watch(String filter)
     at Microsoft.Extensions.Configuration.FileConfigurationProvider.&lt;.ctor&gt;b__1_0()
     at Microsoft.Extensions.Primitives.ChangeToken.ChangeTokenRegistration`1..ctor(Func`1 changeTokenProducer, Action`1 changeTokenConsumer, TState state)
     at Microsoft.Extensions.Primitives.ChangeToken.OnChange(Func`1 changeTokenProducer, Action changeTokenConsumer)
     at Microsoft.Extensions.Configuration.FileConfigurationProvider..ctor(FileConfigurationSource source)
     at Microsoft.Extensions.Configuration.Json.JsonConfigurationSource.Build(IConfigurationBuilder builder)
     at Microsoft.Extensions.Configuration.ConfigurationBuilder.Build()
     at Microsoft.Extensions.Hosting.HostBuilder.BuildAppConfiguration()
     at Microsoft.Extensions.Hosting.HostBuilder.Build()
     at FieldViewAdminHub.Program.Main(String[] args)
  </code></pre>
  <p><strong>I Tried</strong></p>
  <ul>
  <li>Executing a Clean</li>
  <li>Deleting obj and bin folders</li>
  <li>Stopping the docker container explicitly</li>
  </ul>