我已经将Visual studio 2019更新为16.4.0版。此版本包括.NET Core SDK 3.1.100。
在那之后,我试着用Target Framework 2.2运行我在一个项目上的一些单元测试,但是它不能这样做。它给出了以下错误:
Microsoft.VisualStudio.TestPlatform.ObjectModel.TestPlatformException: Testhost process exited with error: It was not possible to find any compatible framework version
The fr
使用最新版本的Visual,我无法在“测试资源管理器”中运行任何测试。Tests输出窗口中的错误消息是:
Testhost process exited with error: It was not possible to find any compatible framework version
The framework 'Microsoft.AspNetCore.App', version '2.2.0' was not found.
- The following frameworks were found:
3.1.0 at [C:\P
我在Azure DevOps中有一个构建管道,它有以下任务,并使用托管代理。 ? 现在,当我运行它时,Test任务失败,并显示以下消息。 Testhost process exited with error: It was not possible to find any compatible framework version
The framework 'Microsoft.AspNetCore.App', version '2.2.0' was not found. 如何在托管代理中安装2.2.0版?
我正在尝试使用以下命令在我的API中安装一些包:
Install-Package Microsoft.EntityFrameworkCore.SqlServer
它抛出一个错误(如下所示):
NU1608: Detected package version outside of dependency constraint: Microsoft.AspNetCore.App 2.1.1 requires Microsoft.EntityFrameworkCore.SqlServer (>= 2.1.1 && < 2.2.0) but version Microsoft
我删除了全局包缓存中的所有包,现在我的项目正在为标准库构造抛出大量的CS0012:
error CS0012: The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.
error CS0012: The type 'IDisposable
我有一个针对ASP.NET 5的.NET核心网站。我已经安装了最新的托管包,从我所读到的内容来看,这应该可以工作,但是我在事件日志中有以下错误:
Could not find 'aspnetcorev2_inprocess.dll'. Exception message:
It was not possible to find any compatible framework version
The framework 'Microsoft.AspNetCore.App', version '5.0.0' (x64) was not found.
我有一个ASP.Net Core 2.2应用程序。在Visual中运行应用程序很好。但是,当我尝试使用dotnet发布发布应用程序时,会出现以下错误:
It was not possible to find any compatible framework version
The specified framework 'Microsoft.NETCore.App', version '1.0.0' was not found.
- Check application dependencies and target a framework versi
我已经安装了composer 1.9.0。然后,当我运行“composer global require laravel/installer”时,我得到了一个错误:“您的需求无法解析为一组可安装的软件包。” 无法将您的需求解析为一组可安装的程序包。 Problem 1
- Installation request for laravel/installer ^2.2 -> satisfiable by laravel/installer[v2.2.0].
- laravel/installer v2.2.0 requires ext-zip * -> the re
我的Web API .Net Core2.2项目是在VS 2019中构建的,没有错误。但是,当我尝试在TFS2018构建服务器中构建它时,在NuGet恢复步骤中出现以下错误:
NU1607: Version conflict detected for Microsoft.AspNetCore.Hosting.Abstractions. Reference the package directly from the project to resolve this issue. MyWebAPIProject (>= 1.0.0) -> NLog.Web.AspNetCore (>
我试图在Azure构建代理中运行dotnet工具,它只使用 .NET 5
这不起作用,我得到以下错误:
It was not possible to find any compatible framework version
The framework 'Microsoft.AspNetCore.App', version '3.0.0' was not found.
- The following frameworks were found:
5.0.9 at [/opt/hostedtoolcache/dotnet/shared/Micros
我正在将一个经典的Azure VM (使用Signalr托管一个web应用程序)迁移到一个Azure资源管理器规模集,其中包含多个VMS和os Windows 2016。
从Signalr文档()来看,它似乎只支持Windows 2012。
我正在使用SignalR2.2.0。
我找不到任何文件表明Windows 2016支持Signalr。
Windows 2016支持Signalr吗?
我们正在尝试在升级到.NET Core3.0之后部署我们的web应用程序,但是它不断收到“服务不可用”的消息。如果我们尝试从Kudu ( dotnet )运行dotnet (dotnet webapp.dll),则会得到以下错误:
It was not possible to find any compatible framework version
The specified framework 'Microsoft.AspNetCore.App', version '3.0.0' was not found.
- The following framew
我设置了EF核心并使用.Net核心2和EF核心2。我升级到了.Net核心和EF核心到v3,但我从未测试过我的迁移。 现在我已经升级到.NetCore 3.1 & EF Core3.1,当我尝试创建迁移或运行数据库更新时,我得到以下错误。 It was not possible to find any compatible framework version
The framework 'Microsoft.AspNetCore.App', version '2.2.0' was not found.
- The following frameworks
我在Visual Studio 2019 16.4.3中有两个.NET Core3.1项目: MyProject.Infrastructure (类库) MyProject.Function (Azure Function V3) MyProject.Function项目引用了MyProject.Infrastructure项目。MyProject.Infrastructure项目安装了Microsoft.AspNetCore.Identity 2.2.0 NuGet包。 当我编译MyProject.Function项目时,我得到以下警告: warning MSB3277: Found c
我已经开始从气象站收集数据的应用程序已经有一段时间了,为了使它跨平台,我使用了.net核心2.2mvc和一些库。即使数据保存在mysql db中,客户端最近还是请求从列表中选择meteo记录,以便保存在本地访问数据库中。为此,我必须使用microsoft的合法数据库提供程序(在本例中为EntityFrameworkCore.Jet. )。我不知道最初是否存在兼容性问题,从而导致
Could not load type 'System.Data.OleDb.OleDbConnection' from assembly 'System.Data,
在守则的这一部分:
var