Skip to content

Commit

Permalink
Allow version patch working
Browse files Browse the repository at this point in the history
  • Loading branch information
Chengzhi Tan authored and tcz717 committed May 15, 2019
1 parent e3b5736 commit 32a4a62
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 11 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -262,3 +262,4 @@ __pycache__/
SimCivil/save/

dev\.sh
*.DS_Store
13 changes: 13 additions & 0 deletions SimCivil.Gate/Properties/AssemblyInfo.cs
@@ -0,0 +1,13 @@
// 程序集的版本信息由下列四个值组成:
//
// 主版本
// 次版本
// 生成号
// 修订号
//
// 可以指定所有值,也可以使用以下所示的 "*" 预置版本号和修订号
// 方法是按如下所示使用“*”: :
// [assembly: AssemblyVersion("1.0.*")]
using System.Reflection;

[assembly: AssemblyVersion("0.1.0.0")]
17 changes: 6 additions & 11 deletions SimCivil.Gate/SimCivil.Gate.csproj
@@ -1,18 +1,16 @@
<Project Sdk="Microsoft.NET.Sdk">

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>netcoreapp2.0;net461</TargetFrameworks>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<LangVersion>7.1</LangVersion>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
</PropertyGroup>

<ItemGroup>
<Content Include="..\appsettings.json" Link="appsettings.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>

<ItemGroup>
<PackageReference Include="Autofac" Version="4.9.2"/>
<PackageReference Include="Autofac.Configuration" Version="4.1.0"/>
Expand All @@ -27,13 +25,11 @@
<PackageReference Include="Sentry" Version="1.1.2"/>
<PackageReference Include="Karambolo.Extensions.Logging.File" Version="2.1.2"/>
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\SimCivil.Contract\SimCivil.Contract.csproj" />
<ProjectReference Include="..\SimCivil.Orleans.Interfaces\SimCivil.Orleans.Interfaces.csproj" />
<ProjectReference Include="..\SimCivil.Rpc\SimCivil.Rpc.csproj" />
<ProjectReference Include="..\SimCivil.Contract\SimCivil.Contract.csproj"/>
<ProjectReference Include="..\SimCivil.Orleans.Interfaces\SimCivil.Orleans.Interfaces.csproj"/>
<ProjectReference Include="..\SimCivil.Rpc\SimCivil.Rpc.csproj"/>
</ItemGroup>

<ItemGroup>
<None Update="before-deploy.ps1">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
Expand All @@ -42,5 +38,4 @@
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>

</Project>
</Project>
13 changes: 13 additions & 0 deletions SimCivil.Orleans.Server/Properties/AssemblyInfo.cs
@@ -0,0 +1,13 @@
// 程序集的版本信息由下列四个值组成:
//
// 主版本
// 次版本
// 生成号
// 修订号
//
// 可以指定所有值,也可以使用以下所示的 "*" 预置版本号和修订号
// 方法是按如下所示使用“*”: :
// [assembly: AssemblyVersion("1.0.*")]
using System.Reflection;

[assembly: AssemblyVersion("0.1.0.0")]
1 change: 1 addition & 0 deletions SimCivil.Orleans.Server/SimCivil.Orleans.Server.csproj
Expand Up @@ -4,6 +4,7 @@
<OutputType>Exe</OutputType>
<TargetFrameworks>netcoreapp2.0;net461</TargetFrameworks>
<LangVersion>7.1</LangVersion>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
</PropertyGroup>

<PropertyGroup>
Expand Down

0 comments on commit 32a4a62

Please sign in to comment.