腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
2
回答
zsh
:
找不到
命令
:
dotnet-ef
c#
、
asp.net
、
asp.net-core
、
.net-core
、
dotnet-cli
在使用下面的
命令
时,我已经在mac上安装了2.1 sdk
dotnet-ef
database update --project XXXX.XXXX 我得到一个异常,因为
zsh
: command notfound:
dotnet-ef
使用
命令
dotnet tool install --global
dotnet-ef
作为Tool '
dotnet-ef
' is already installed.获取异常 然后使用这个
命令
do
浏览 252
提问于2021-11-09
得票数 0
3
回答
在Dotnet 6中安装了.NET EF,但是当调用它时它告诉我没有找到
命令
或文件
.net
、
entity-framework
、
migration
、
apple-m1
、
.net-6.0
我确实使用以下
命令
安装了dotnet它回来了dotnet ef migrations add InitialMigrationCould not execute because the specified* You intended to execute a .NET program, but
do
浏览 9
提问于2022-01-08
得票数 1
4
回答
dotnet
命令
在VS更新后不起作用。
visual-studio-mac
、
entity-framework-core-2.2
今天,我更新了VS,因为它真的过时了,在更新之后,我不能再运行dotnet ef
命令
: 造成这种情况的可能原因包括: 请注意,这是.NET Core2.2和EFCore2.2,而不是3.0。我在网上读到的所有东西都是针对3.0的,所以有人能告诉我如何让这个
命令
最终发挥作用吗?
浏览 8
提问于2019-12-10
得票数 1
回答已采纳
2
回答
在更新最新的SDK之后,dotnet不起作用。
c#
、
.net-core
、
entity-framework-core
zsh
+ohmyzsh终止符kdeCould not execute because the* You intended to execute a .NET Core program, but
dotnet-ef
does not exist.如果我这么做了:dotnet tool install --global
dotnet-ef
Tool '
dotnet-ef
' is
浏览 13
提问于2020-07-21
得票数 0
5
回答
由于dotnet ef dbcontext --json失败,无法在Visual Studio 2019中列出实体框架迁移
asp.net-core
、
entity-framework-migrations
、
asp.net-core-3.0
、
dotnet-tool
Web发布在各种环境中部署应用程序,但在升级后由于EF迁移而失败(尝试查找数据库上下文失败): dotnet ef dbcontext --json失败 运行"dotnet tool restore“使"
dotnet-ef
”
命令
可用。dotnet tool restore
找不到
清单文件。对于搜索的位置列表,请在工具名称前指定"-d“选项。未恢复任何工具。dotnet tool install --global
dotnet-ef
工具'
dotnet-ef
‘已经安装
浏览 187
提问于2019-12-13
得票数 3
1
回答
.net核心heroku应用程序中的"
dotnet-ef
不存在“
postgresql
、
asp.net-core
、
heroku
、
entity-framework-core
目前,我正在尝试通过在publish上执行
命令
来将EF迁移应用到postgre DB (使用Npgsql): <Target Name="PrePublishTarget" AfterTargets="Publish"> <Exec Command="dotnet efTool '
dotnet-ef
浏览 27
提问于2020-04-13
得票数 1
回答已采纳
2
回答
运行
dotnet-ef
时构建管道中的随机故障
azure-devops
、
azure-pipelines
、
ef-core-3.1
提供的生成代理pool: displayName: Install
dotnet-ef
inputs: custom: 'tool' arguments: 'install
dotnet-ef
-output $(Build.ArtifactStagingDirectory
浏览 1
提问于2020-10-07
得票数 0
4
回答
找不到
所需的库libhostfxr.dylib
asp.net-mvc
、
entity-framework
、
entity-framework-core
、
asp.net5
对于创建数据库,我运行了以下
命令
发生了致命错误。
找不到
所需的库libhostfxr.dylib。如果这是一个独立的应用程序,那么这个库应该存在于/Users/afshalathar/.dotnet/tools/.store/
dotnet-ef
/6.0.0/
dotnet-ef
&
浏览 22
提问于2021-12-08
得票数 4
14
回答
命令
dotnet未找到
c#
、
asp.net-core
、
.net-core
、
entity-framework-core
、
.net-core-3.0
然后,我尝试从控制台窗口中的docs执行以下
命令
: 自从复制
命令
以来,我排除了第一项。
浏览 2
提问于2019-07-16
得票数 419
回答已采纳
1
回答
一直在尝试使用ASP.NET MVC将迁移添加到我的项目中,但正在得到这些错误。
c#
、
.net
、
asp.net-mvc
、
entity-framework
、
entity-framework-migrations
由于
找不到
指定的
命令
或文件,无法执行。 您拼写错了内置dotnet
命令
。您打算执行.NET程序,但
dotnet-ef
不存在。在路径上
找不到
您打算运行全局工具的,但是在路径上
找不到
具有此名称的dotnet前缀可执行文件。
浏览 10
提问于2022-06-28
得票数 0
13
回答
找不到
命令
“dotnet”
c#
、
entity-framework
、
asp.net-core
、
.net-core
、
csproj
我正在 / Visual代码上使用Core2.0,并试图使工具正常工作,但我一直收到错误: dotnet-dev-certs
浏览 1
提问于2019-07-03
得票数 105
回答已采纳
1
回答
ImportError:没有名为tensorflow_hub的模块
python
、
macos
、
tensorflow
、
machine-learning
在我把这些线放进
命令
线之后,--bottleneck_dir=/{directory_to_bottlenecks }/bottlenecks --
浏览 2
提问于2019-11-15
得票数 0
2
回答
无法在Windows 11上安装dotnet工具
c#
、
.net-core
、
entity-framework-core
、
dotnet-tool
我输入的
命令
:dotnet tool install --global
dotnet-ef
--version 6.0.4C:\Users\orbit>dotnet tool install--global
dotnet-ef
--version 6.0.4 C:\Users\orbit\AppData\Local\Temp\yfvm4duz.fcf\restore.csproj : errorTool '
dotnet-ef
' failed to install., incl
浏览 9
提问于2022-05-04
得票数 1
1
回答
我无法运行迁移(使用.net核心3.0和实体框架)
entity-framework-core
、
entity-framework-migrations
、
.net-core-3.0
WithMany(x => x.WorkspaceApplications) }我运行以下控制台
命令
:并具有以下错误消息: 这与.Net核心2.2一起工作很好。问题出在哪里?
浏览 0
提问于2019-08-07
得票数 2
回答已采纳
3
回答
如何升级EF核心工具
entity-framework
、
asp.net-core
当我使用add-migration
命令
时,我得到了这样的警告: The EF Core tools version '2.1.1-rtm-30846' is older than that of the
浏览 1
提问于2018-10-08
得票数 52
回答已采纳
3
回答
EF核心工具不适用于dotnet核心3预览4
entity-framework
、
.net-core
、
command-line-interface
但是现在使用版本3预览4,Microsoft.EntityFrameworkCore.Tools无法工作,dotnet ef migrations add ...
命令
告诉我们这样的信息: dotnet工具安装--全局
dotnet-ef
<Project Sdk="Microsoft.NET.Sdk.Web">Microsoft.EntityFrameworkCore.Tools"
浏览 0
提问于2019-05-03
得票数 9
回答已采纳
1
回答
Core6,EFCore,和脚手架
.net-core
、
entity-framework-core
当我尝试我的脚手架
命令
时,我被告知这个
命令
是不可用的,无论是通过PowerShell
命令
还是标准的dotnet ef dbcontext scaffold ...
命令
。无法执行,因为
找不到
指定的
命令
或文件。造成这种情况的可能原因包括: 您打算执行一个.NET程序,但是dotnet并不存在。您打算运行全局工具,但是在路径上
找不到
具有此名称的dotnet前缀可执行文件。我正在运行的THe
命令
浏览 10
提问于2022-07-28
得票数 0
回答已采纳
1
回答
骑手在工具中没有EF选项
c#
、
entity-framework
、
rider
我输入dotnet restore,它就完成了由于
找不到
指定的
命令
或文件,无法执行。 我完全不明白为什么会这样。
浏览 2
提问于2020-04-10
得票数 2
回答已采纳
1
回答
dotnet ef -要执行的应用程序不存在C:\Users\
c#
、
.net-core
、
entity-framework-core
但是由于一个错误,我不能: dotnet ef'C:\Users\Curso\.dotnet\tools\.store\
dotnet-ef
\2.1.14-servicing-32113\
dotnet-ef
\2.1.14-servicing-32113\tools\netcoreapp2.1\any\dotnet-ef.dll'. ?
浏览 161
提问于2020-03-25
得票数 1
1
回答
运行"dotnet tool restore“使"
dotnet-ef
”
命令
可用
asp.net-core
enter image description here 我一直在想办法解决这个问题,能帮上忙吗? 谢谢
浏览 80
提问于2020-06-18
得票数 0
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
CAD命令失效找不到原因?这几个秘诀帮你立即解决
用 zsh 提高生产力的 5 个技巧
macOS Catalina 新的命令行工具,这篇文章让你提前用上它
在 Fedora Linux 操作系统上设置 Z Shell
在 Fedora 系统上设置 zsh
热门
标签
更多标签
云服务器
ICP备案
实时音视频
即时通信 IM
对象存储
活动推荐
运营活动
广告
关闭
领券