升级Agent

This commit is contained in:
大石头 2020-04-07 00:10:01 +08:00
parent 99cd54048f
commit 9342860647
9 changed files with 36 additions and 9 deletions

View File

@ -32,7 +32,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="NewLife.Agent" Version="8.7.2020.403" />
<PackageReference Include="NewLife.Agent" Version="8.7.2020.407-beta" />
</ItemGroup>
<ItemGroup>

View File

@ -9,7 +9,7 @@ namespace AntJob.Agent
{
class Program
{
static void Main(String[] args) => new MyService().Main();
static void Main(String[] args) => new MyService().Main(args);
}
/// <summary>服务类。名字可以自定义</summary>

View File

@ -42,7 +42,7 @@
</Content>
</ItemGroup>
<ItemGroup>
<PackageReference Include="NewLife.Core" Version="8.7.2020.403" />
<PackageReference Include="NewLife.Core" Version="8.7.2020.405-beta" />
<PackageReference Include="NewLife.XCode" Version="9.16.2020.403" />
</ItemGroup>
<ItemGroup>

View File

@ -42,7 +42,7 @@
<DebugSymbols>true</DebugSymbols>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="NewLife.Core" Version="8.7.2020.403" />
<PackageReference Include="NewLife.Core" Version="8.7.2020.405-beta" />
<PackageReference Include="NewLife.XCode" Version="9.16.2020.403" />
</ItemGroup>
<ItemGroup>

View File

@ -40,8 +40,8 @@
</Content>
</ItemGroup>
<ItemGroup>
<PackageReference Include="NewLife.Agent" Version="8.7.2020.403" />
<PackageReference Include="NewLife.Core" Version="8.7.2020.403" />
<PackageReference Include="NewLife.Agent" Version="8.7.2020.407-beta" />
<PackageReference Include="NewLife.Core" Version="8.7.2020.405-beta" />
<PackageReference Include="NewLife.XCode" Version="9.16.2020.403" />
</ItemGroup>
<ItemGroup>

View File

@ -12,7 +12,7 @@ namespace AntJob.Server
{
class Program
{
static void Main(String[] args) => new MyService().Main();
static void Main(String[] args) => new MyService().Main(args);
}
/// <summary>服务类。名字可以自定义</summary>

View File

@ -22,7 +22,7 @@
<DebugSymbols>true</DebugSymbols>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="NewLife.Core" Version="8.7.2020.403" />
<PackageReference Include="NewLife.Core" Version="8.7.2020.405-beta" />
<PackageReference Include="NewLife.Cube.Core" Version="3.3.2020.403" />
<PackageReference Include="NewLife.XCode" Version="9.16.2020.403" />
</ItemGroup>

View File

@ -0,0 +1,27 @@
{
"iisSettings": {
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:57608/",
"sslPort": 44338
}
},
"profiles": {
"IIS Express": {
"commandName": "IISExpress",
"launchBrowser": true,
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
"AntJob.Web": {
"commandName": "Project",
"launchBrowser": true,
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"applicationUrl": "https://localhost:5001;http://localhost:5000"
}
}
}

View File

@ -46,6 +46,6 @@
<Compile Remove="StarService.cs" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="NewLife.Core" Version="8.7.2020.403" />
<PackageReference Include="NewLife.Core" Version="8.7.2020.405-beta" />
</ItemGroup>
</Project>