chorm: 构建0.5.0版本
This commit is contained in:
@@ -26,10 +26,10 @@ class Program
|
||||
{
|
||||
await service.AddApplicationAsync<YiAbpToolModule>();
|
||||
})
|
||||
.ConfigureAppConfiguration(configurationBuilder =>
|
||||
{
|
||||
configurationBuilder.AddJsonFile("appsettings.json");
|
||||
})
|
||||
//.ConfigureAppConfiguration(configurationBuilder =>
|
||||
//{
|
||||
// configurationBuilder.AddJsonFile("appsettings.json");
|
||||
//})
|
||||
.UseAutofac()
|
||||
.Build();
|
||||
var commandSelector = host.Services.GetRequiredService<CommandSelector>();
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
<Version>0.4.0</Version>
|
||||
<Version>0.5.0</Version>
|
||||
<Authors>橙子老哥</Authors>
|
||||
<Description>yi-framework框架配套工具</Description>
|
||||
<PackageProjectUrl>https://ccnetcore.com</PackageProjectUrl>
|
||||
@@ -18,14 +18,6 @@
|
||||
<PackageIcon>logo.png</PackageIcon>
|
||||
<PackageReadmeFile>readme.md</PackageReadmeFile>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<None Remove="appsettings.json" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="appsettings.json">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="..\..\logo.png">
|
||||
<Pack>True</Pack>
|
||||
|
||||
@@ -11,11 +11,11 @@ namespace Yi.Abp.Tool
|
||||
|
||||
public override void PostConfigureServices(ServiceConfigurationContext context)
|
||||
{
|
||||
var configuration = context.Services.GetConfiguration();
|
||||
// var configuration = context.Services.GetConfiguration();
|
||||
Configure<AbpRemoteServiceOptions>(options =>
|
||||
{
|
||||
options.RemoteServices.Default =
|
||||
new RemoteServiceConfiguration(configuration["YiAbpToolUrl"]);
|
||||
new RemoteServiceConfiguration("http://ccnetcore.com:19002");
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
{
|
||||
"YiAbpToolUrl": "http://ccnetcore.com:19002"
|
||||
}
|
||||
Reference in New Issue
Block a user