Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
IoTSharp
IoTSharp
提交
161d5e60
IoTSharp
项目概览
IoTSharp
/
IoTSharp
大约 1 年 前同步成功
通知
15
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
IoTSharp
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
161d5e60
编写于
8月 12, 2022
作者:
Y
Yanhong.Ma
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修正没有引用spaproxy导致前端无法直接启动的问题。 调整 ef工具安装在本地项目。
上级
b073961a
变更
8
显示空白变更内容
内联
并排
Showing
8 changed file
with
19 addition
and
4 deletion
+19
-4
.config/dotnet-tools.json
.config/dotnet-tools.json
+12
-0
IoTSharp.sln
IoTSharp.sln
+1
-0
IoTSharp/IoTSharp.csproj
IoTSharp/IoTSharp.csproj
+1
-0
tools/ef_db_drop.cmd
tools/ef_db_drop.cmd
+1
-1
tools/ef_mg_add.cmd
tools/ef_mg_add.cmd
+1
-1
tools/ef_mg_remove.cmd
tools/ef_mg_remove.cmd
+1
-1
tools/setnpm.cmd
tools/setnpm.cmd
+1
-0
tools/upgrade_ef.cmd
tools/upgrade_ef.cmd
+1
-1
未找到文件。
.config/dotnet-tools.json
0 → 100644
浏览文件 @
161d5e60
{
"version"
:
1
,
"isRoot"
:
true
,
"tools"
:
{
"dotnet-ef"
:
{
"version"
:
"6.0.8"
,
"commands"
:
[
"dotnet-ef"
]
}
}
}
\ No newline at end of file
IoTSharp.sln
浏览文件 @
161d5e60
...
...
@@ -29,6 +29,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tools", "Tools", "{3048484A
tools\ef_mg_add.cmd = tools\ef_mg_add.cmd
tools\ef_mg_remove.cmd = tools\ef_mg_remove.cmd
tools\upgrade_ef.cmd = tools\upgrade_ef.cmd
setnpm.cmd = setnpm.cmd
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "IoTSharp.SDKs", "IoTSharp.SDKs", "{86E9E4E0-24A0-4C89-A98B-B0D41C75B4F1}"
...
...
IoTSharp/IoTSharp.csproj
浏览文件 @
161d5e60
...
...
@@ -92,6 +92,7 @@
<PackageReference Include="IoTSharp.HealthChecks.Taos" Version="2.0.478" />
<PackageReference Include="MaiKeBing.HostedService.ZeroMQ" Version="1.0.35" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="6.0.7" />
<PackageReference Include="Microsoft.AspNetCore.SpaProxy" Version="6.0.8" />
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.16.1" />
<PackageReference Include="MQTTnet" Version="4.1.0.247" />
<PackageReference Include="MQTTnet.AspNetCore" Version="4.1.0.247" />
...
...
tools/ef_db_drop.cmd
浏览文件 @
161d5e60
...
...
@@ -2,4 +2,4 @@ echo off
cls
echo
Drop
to
IoTSharp
.Data.
%
1
set
ASPNETCORE_ENVIRONMENT
=
%
1
dotnet
ef
database
drop
--context
IoTSharp
.Data.ApplicationDbContext
--startup-project
..\IoTSharp\IoTSharp.csproj
--project
..\IoTSharp.Data.
%
1
\IoTSharp.Data.
%
1
.csproj
\ No newline at end of file
dotnet
dotnet
-ef
database
drop
--context
IoTSharp
.Data.ApplicationDbContext
--startup-project
..\IoTSharp\IoTSharp.csproj
--project
..\IoTSharp.Data.
%
1
\IoTSharp.Data.
%
1
.csproj
\ No newline at end of file
tools/ef_mg_add.cmd
浏览文件 @
161d5e60
...
...
@@ -2,4 +2,4 @@ echo off
cls
echo
Add
a
migration
name
is
%
2
to
IoTSharp
.Data.
%
1
set
ASPNETCORE_ENVIRONMENT
=
%
1
dotnet
ef
migrations
add
%
2
--context
IoTSharp
.Data.ApplicationDbContext
--startup-project
..\IoTSharp\IoTSharp.csproj
--project
..\IoTSharp.Data.
%
1
\IoTSharp.Data.
%
1
.csproj
\ No newline at end of file
dotnet
dotnet
-ef
migrations
add
%
2
--context
IoTSharp
.Data.ApplicationDbContext
--startup-project
..\IoTSharp\IoTSharp.csproj
--project
..\IoTSharp.Data.
%
1
\IoTSharp.Data.
%
1
.csproj
\ No newline at end of file
tools/ef_mg_remove.cmd
浏览文件 @
161d5e60
...
...
@@ -2,4 +2,4 @@ echo off
cls
echo
remove
a
migration
from
IoTSharp
.Data.
%
1
set
ASPNETCORE_ENVIRONMENT
=
%
1
dotnet
ef
migrations
remove
--context
IoTSharp
.Data.ApplicationDbContext
--startup-project
..\IoTSharp\IoTSharp.csproj
--project
..\IoTSharp.Data.
%
1
\IoTSharp.Data.
%
1
.csproj
\ No newline at end of file
dotnet
dotnet
-ef
migrations
remove
--context
IoTSharp
.Data.ApplicationDbContext
--startup-project
..\IoTSharp\IoTSharp.csproj
--project
..\IoTSharp.Data.
%
1
\IoTSharp.Data.
%
1
.csproj
\ No newline at end of file
tools/setnpm.cmd
0 → 100644
浏览文件 @
161d5e60
npm
config
set
registry
https
://registry.npmmirror.com
\ No newline at end of file
tools/upgrade_ef.cmd
浏览文件 @
161d5e60
dotnet
tool
update
--global
dotnet
-ef
\ No newline at end of file
dotnet
tool
update
dotnet
-ef
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录