XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

STHApplication

【MAUI】寄当家——安卓端交易管理系统

公开
关注 0 Fork 0 Star 0
返回提交历史

XFEstudio/STHApplication

添加 dotnet-ef 工具和文件夹发布配置

新增 dotnet-tools.json,配置本地 dotnet-ef 工具(10.0.12,禁用 rollForward)。新增 FolderProfile.pubxml,设置文件系统发布、net10.0、win-x64、单文件、自包含、ReadyToRun 等属性。

a85e39e
XFE工作室室长 <mail@xfegzs.com>
提交于

代码差异

2 个文件 +35 -0
Added src/JiDangJia.Server/Properties/PublishProfiles/FolderProfile.pubxml +22 -0
@@ -0,0 +1,22 @@
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- https://go.microsoft.com/fwlink/?LinkID=208121. -->
3 <Project>
4 <PropertyGroup>
5 <DeleteExistingFiles>true</DeleteExistingFiles>
6 <ExcludeApp_Data>false</ExcludeApp_Data>
7 <LaunchSiteAfterPublish>true</LaunchSiteAfterPublish>
8 <LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration>
9 <LastUsedPlatform>Any CPU</LastUsedPlatform>
10 <PublishProvider>FileSystem</PublishProvider>
11 <PublishUrl>bin\Release\net10.0\publish\</PublishUrl>
12 <WebPublishMethod>FileSystem</WebPublishMethod>
13 <_TargetId>Folder</_TargetId>
14 <SiteUrlToLaunchAfterPublish />
15 <TargetFramework>net10.0</TargetFramework>
16 <RuntimeIdentifier>win-x64</RuntimeIdentifier>
17 <PublishSingleFile>true</PublishSingleFile>
18 <PublishReadyToRun>true</PublishReadyToRun>
19 <ProjectGuid>90307674-dd53-2204-0630-401a4876d4a1</ProjectGuid>
20 <SelfContained>true</SelfContained>
21 </PropertyGroup>
22 </Project>
Added src/JiDangJia.Server/dotnet-tools.json +13 -0
@@ -0,0 +1,13 @@
1 {
2 "version": 1,
3 "isRoot": true,
4 "tools": {
5 "dotnet-ef": {
6 "version": "10.0.12",
7 "commands": [
8 "dotnet-ef"
9 ],
10 "rollForward": false
11 }
12 }
13 }