首页 > 解决方案 > Visual Studio Xamarin Forms 项目未在 bin/debug/netstandard2.0 目录下创建项目 dll 文件

问题描述

我在 Visual Studio 2019 中创建了新的 Xamarin Forms 项目。但它给出了以下错误。当我检查项目目录时,未创建 WebViewXamarinApp.dll 文件。

严重性代码描述项目文件行抑制状态错误 System.IO.FileNotFoundException:找不到文件'C:\Users\cemse\source\repos\WebViewXamarinApp\WebViewXamarinApp\bin\Debug\netstandard2.0\WebViewXamarinApp.dll'。文件名:System.IO 处的“C:\Users\cemse\source\repos\WebViewXamarinApp\WebViewXamarinApp\bin\Debug\netstandard2.0\WebViewXamarinApp.dll”。__Error.WinIOError(Int32 errorCode, String maybeFullPath) 在 System.IO System.IO.FileStream 中的 .FileStream.Init(字符串路径、FileMode 模式、FileAccess 访问、Int32 权限、Boolean useRights、FileShare share、Int32 bufferSize、FileOptions 选项、SECURITY_ATTRIBUTES secAttrs、String msgPath、Boolean bFromProxy、Boolean useLongPath、Boolean checkHost) Xamarin.Android.Tasks 中的 ..ctor(字符串路径、FileMode 模式、FileAccess 访问、FileShare 共享)。

标签: androidxamarinxamarin.formsvisual-studio-2019

解决方案


推荐阅读