C# 更新Visual Studio后未生成Xamarin.forms应用程序。找不到文件AppName.dll

C# 更新Visual Studio后未生成Xamarin.forms应用程序。找不到文件AppName.dll,c#,visual-studio,xamarin,xamarin.forms,C#,Visual Studio,Xamarin,Xamarin.forms,在我将VisualStudio2019社区(版本16.4.5)和Xamarin.Forms更新为最新的稳定版本后,我无法再构建我的应用程序。现在,当我尝试构建它时,会出现两个相同的错误,如下所示: Severity Code Description Project File Line Suppression State Error System.IO.FileNotFoundException: Could not find file 'D:\Didaktic

在我将VisualStudio2019社区(版本16.4.5)和Xamarin.Forms更新为最新的稳定版本后,我无法再构建我的应用程序。现在,当我尝试构建它时,会出现两个相同的错误,如下所示:

Severity    Code    Description Project File    Line    Suppression State
Error       System.IO.FileNotFoundException: Could not find file 'D:\Didakticke testy\Didaktick-testy\DDKTCKE\DDKTCKE\bin\Debug\netstandard2.0\ČJ-Didaktické testy.dll'.
File name: 'D:\Didakticke testy\Didaktick-testy\DDKTCKE\DDKTCKE\bin\Debug\netstandard2.0\ČJ-Didaktické testy.dll'
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   at Xamarin.Android.Tasks.FilterAssemblies.RunTask()
   at Xamarin.Android.Tasks.AndroidTask.Execute()   DDKTCKE.Android     
我已经试过了:

  • 删除Obj和Bin文件夹
  • 清洗液
  • 重建方案
  • 正在终止进程msbuild.exe

您重建了解决方案吗?@AdloremAd您的意思是,您的项目以前可以成功运行,然后您更新了Visual studio 2019,当您再次运行项目时,您会遇到此问题吗?如果是,我建议您可以更新Visual studio 2019并重试。这不是我的项目^^^@Cherry Bu-MSFT是的,它以前工作得很好。我不能再更新VS了,因为我有最新版本。甚至尝试过修复VS,但没有进行任何更改。@Adream我建议您可以创建新的空白项目来运行,看看是否仍然存在此问题,如果没有,我建议您可以在github xamarin.forms上报告此问题。