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