Skip to content

Commit

Permalink
dev合并到snow
Browse files Browse the repository at this point in the history
  • Loading branch information
gmf520 committed Oct 2, 2023
2 parents 1995fcd + 661dec4 commit a742678
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 13 deletions.
8 changes: 4 additions & 4 deletions build/version.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
<VersionPrefix>11</VersionPrefix>
<VersionSuffix>-preview.</VersionSuffix>
<VersionSuffixVersion>1001</VersionSuffixVersion>
<Version>$(VersionMain).$(VersionPrefix)$(VersionSuffix)$(VersionSuffixVersion)</Version>
<FileVersion>$(VersionMain).$(VersionPrefix).$(VersionSuffixVersion)</FileVersion>
<!--<Version>$(VersionMain).$(VersionPrefix)</Version>
<FileVersion>$(VersionMain).$(VersionPrefix)</FileVersion>-->
<!--<Version>$(VersionMain).$(VersionPrefix)$(VersionSuffix)$(VersionSuffixVersion)</Version>
<FileVersion>$(VersionMain).$(VersionPrefix).$(VersionSuffixVersion)</FileVersion>-->
<Version>$(VersionMain).$(VersionPrefix)</Version>
<FileVersion>$(VersionMain).$(VersionPrefix)</FileVersion>
</PropertyGroup>
</Project>
7 changes: 1 addition & 6 deletions samples/web/Liuliu.Demo.WebApi/Liuliu.Demo.WebApi.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<Import Project="../../../build/version.props" />

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<RootNamespace>Liuliu.Demo.Web</RootNamespace>
<UserSecretsId>38c51dba-31f4-4c29-a3b3-49164e38d32f</UserSecretsId>
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
Expand Down Expand Up @@ -55,11 +55,6 @@
<ProjectReference Include="..\..\..\src\OSharp.Swagger\OSharp.Swagger.csproj" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)'=='net6.0'">
<ProjectReference Include="..\..\..\src\OSharp.EntityFrameworkCore.MySql\OSharp.EntityFrameworkCore.MySql.csproj" />
<ProjectReference Include="..\..\..\src\OSharp.EntityFrameworkCore.Oracle\OSharp.EntityFrameworkCore.Oracle.csproj" />
</ItemGroup>

<ItemGroup>
<Folder Include="Migrations\" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ protected override DefaultDbContext CreateDbContext(IServiceProvider scopedProvi
return new DesignTimeDefaultDbContextFactory(scopedProvider).CreateDbContext(new string[0]);
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ protected override DefaultDbContext CreateDbContext(IServiceProvider scopedProvi
return new DesignTimeDefaultDbContextFactory(scopedProvider).CreateDbContext(new string[0]);
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
},
"Redis": {
"Configuration": "localhost",
"InstanceName": "Liuliu.Demo:"
"InstanceName": "Liuliu.Demo.Dev:"
},
"Swagger": {
"Endpoints": [
Expand Down

0 comments on commit a742678

Please sign in to comment.