在另一台开发人员机器上将我的 Web 应用程序的 targetFramework 从 升级dotnet-core-2.2到 后dotnet-core-3.1.2,我们收到以下错误
It was not possible to find any compatible framework version
The framework 'Microsoft.AspNetCore.App', version '3.1.3' was not found.
- No frameworks were found.
You can resolve the problem by installing the specified framework and/or SDK.
The specified framework can be found at:
- https://aka.ms/dotnet-core-applaunch?framework=Microsoft.AspNetCore.App&framework_version=3.1.3&arch=x64&rid=win10-x64
Run Code Online (Sandbox Code Playgroud)
我们尝试了几种方法来解决这个问题
我们仍然面临同样的问题,请指导我解决此问题。
昨天我们更新了Firefox 47.0和selenium测试脚本开始崩溃,
请参阅附件截图. Firefox 发布说明他们建议使用Marionette WebDriver.我们已经下载了Marionette WebDriver for windows,并且如链接中所提到的,我们通过在bin/debug文件夹中添加Marionette WebDriver来进行代码更改.下面是相同的代码更改
var driver = new FirefoxDriver(new FirefoxOptions());
Run Code Online (Sandbox Code Playgroud)
但是我们面临的问题是"找不到实体"
注意:我们在Windows7 64位操作系统上使用c#selenium WebDriver,我们厌倦了以下解决方案
使用RemoteWebDriver,如下所示
DesiredCapabilities capabilities = DesiredCapabilities.Firefox();
// Set Marionette on so the Grid will use this instead of normal FirefoxDriver
capabilities.SetCapability("marionette", true);
var driver = new RemoteWebDriver(capabilities);
Run Code Online (Sandbox Code Playgroud)请有人帮忙解决这个问题.