Skip to content

Commit a742678

Browse files
committed
dev合并到snow
2 parents 1995fcd + 661dec4 commit a742678

File tree

5 files changed

+8
-13
lines changed

5 files changed

+8
-13
lines changed

build/version.props

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
<VersionPrefix>11</VersionPrefix>
55
<VersionSuffix>-preview.</VersionSuffix>
66
<VersionSuffixVersion>1001</VersionSuffixVersion>
7-
<Version>$(VersionMain).$(VersionPrefix)$(VersionSuffix)$(VersionSuffixVersion)</Version>
8-
<FileVersion>$(VersionMain).$(VersionPrefix).$(VersionSuffixVersion)</FileVersion>
9-
<!--<Version>$(VersionMain).$(VersionPrefix)</Version>
10-
<FileVersion>$(VersionMain).$(VersionPrefix)</FileVersion>-->
7+
<!--<Version>$(VersionMain).$(VersionPrefix)$(VersionSuffix)$(VersionSuffixVersion)</Version>
8+
<FileVersion>$(VersionMain).$(VersionPrefix).$(VersionSuffixVersion)</FileVersion>-->
9+
<Version>$(VersionMain).$(VersionPrefix)</Version>
10+
<FileVersion>$(VersionMain).$(VersionPrefix)</FileVersion>
1111
</PropertyGroup>
1212
</Project>

samples/web/Liuliu.Demo.WebApi/Liuliu.Demo.WebApi.csproj

+1-6
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<Import Project="../../../build/version.props" />
55

66
<PropertyGroup>
7-
<TargetFramework>net7.0</TargetFramework>
7+
<TargetFramework>net6.0</TargetFramework>
88
<RootNamespace>Liuliu.Demo.Web</RootNamespace>
99
<UserSecretsId>38c51dba-31f4-4c29-a3b3-49164e38d32f</UserSecretsId>
1010
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
@@ -55,11 +55,6 @@
5555
<ProjectReference Include="..\..\..\src\OSharp.Swagger\OSharp.Swagger.csproj" />
5656
</ItemGroup>
5757

58-
<ItemGroup Condition="'$(TargetFramework)'=='net6.0'">
59-
<ProjectReference Include="..\..\..\src\OSharp.EntityFrameworkCore.MySql\OSharp.EntityFrameworkCore.MySql.csproj" />
60-
<ProjectReference Include="..\..\..\src\OSharp.EntityFrameworkCore.Oracle\OSharp.EntityFrameworkCore.Oracle.csproj" />
61-
</ItemGroup>
62-
6358
<ItemGroup>
6459
<Folder Include="Migrations\" />
6560
</ItemGroup>

samples/web/Liuliu.Demo.WebApi/Startups/MySqlDefaultDbContextMigrationPack.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,4 @@ protected override DefaultDbContext CreateDbContext(IServiceProvider scopedProvi
4545
return new DesignTimeDefaultDbContextFactory(scopedProvider).CreateDbContext(new string[0]);
4646
}
4747
}
48-
}
48+
}

samples/web/Liuliu.Demo.WebApi/Startups/OracleDefaultDbContextMigrationPack.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,4 @@ protected override DefaultDbContext CreateDbContext(IServiceProvider scopedProvi
4646
return new DesignTimeDefaultDbContextFactory(scopedProvider).CreateDbContext(new string[0]);
4747
}
4848
}
49-
}
49+
}

samples/web/Liuliu.Demo.WebApi/appsettings.Development.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127
},
128128
"Redis": {
129129
"Configuration": "localhost",
130-
"InstanceName": "Liuliu.Demo:"
130+
"InstanceName": "Liuliu.Demo.Dev:"
131131
},
132132
"Swagger": {
133133
"Endpoints": [

0 commit comments

Comments
 (0)