-
-
Notifications
You must be signed in to change notification settings - Fork 432
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #696 from Cysharp/feature/CleanupProjects
Cleanup project settings
- Loading branch information
Showing
11 changed files
with
82 additions
and
137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,18 @@ | ||
<Project> | ||
<Import Project="..\Directory.Build.props" /> | ||
|
||
<PropertyGroup> | ||
<SignAssembly>true</SignAssembly> | ||
<AssemblyOriginatorKeyFile>$(MSBuildProjectDirectory)\..\MagicOnion\opensource.snk</AssemblyOriginatorKeyFile> | ||
</PropertyGroup> | ||
|
||
<!-- Prevent local path leakage by artifacts --> | ||
<PropertyGroup> | ||
<RepoRoot>$(MSBuildThisFileDirectory)</RepoRoot> | ||
<PathMap>$(RepoRoot)=.</PathMap> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<None Include="$(MSBuildProjectDirectory)\..\MagicOnion\Icon.png" Pack="true" PackagePath="/" /> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
73 changes: 33 additions & 40 deletions
73
src/MagicOnion.Server.HttpGateway/MagicOnion.Server.HttpGateway.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,36 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFrameworks>net6.0;net7.0</TargetFrameworks> | ||
<OutputType>Library</OutputType> | ||
<LangVersion>default</LangVersion> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<GeneratePackageOnBuild>False</GeneratePackageOnBuild> | ||
<SignAssembly>true</SignAssembly> | ||
<AssemblyOriginatorKeyFile>..\MagicOnion\opensource.snk</AssemblyOriginatorKeyFile> | ||
<GenerateAssemblyInfo>true</GenerateAssemblyInfo> | ||
<GenerateDocumentationFile>true</GenerateDocumentationFile> | ||
<AllowUnsafeBlocks>True</AllowUnsafeBlocks> | ||
<NoWarn>1701;1702;1705;1591</NoWarn> | ||
<DefineConstants>NON_UNITY</DefineConstants> | ||
<!--<nullable>enable</nullable>--> | ||
|
||
<!-- NuGet --> | ||
<PackageId>MagicOnion.Server.HttpGateway</PackageId> | ||
<Description>HTTP1 JSON Gateway and Swagger Integration for MagicOnion.</Description> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Newtonsoft.Json" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<FrameworkReference Include="Microsoft.AspNetCore.App" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\MagicOnion.Client\MagicOnion.Client.csproj" /> | ||
<ProjectReference Include="..\MagicOnion.Server\MagicOnion.Server.csproj" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<EmbeddedResource Include="Swagger\SwaggerUI\*" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<None Include="..\MagicOnion\Icon.png" Pack="true" PackagePath="/" /> | ||
</ItemGroup> | ||
<PropertyGroup> | ||
<TargetFrameworks>net6.0;net7.0</TargetFrameworks> | ||
<OutputType>Library</OutputType> | ||
<LangVersion>default</LangVersion> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
|
||
<AllowUnsafeBlocks>True</AllowUnsafeBlocks> | ||
<NoWarn>1701;1702;1705;1591</NoWarn> | ||
<DefineConstants>$(DefineConstants);NON_UNITY</DefineConstants> | ||
<!--<nullable>enable</nullable>--> | ||
|
||
<!-- NuGet --> | ||
<PackageId>MagicOnion.Server.HttpGateway</PackageId> | ||
<Description>HTTP1 JSON Gateway and Swagger Integration for MagicOnion.</Description> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Newtonsoft.Json" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<FrameworkReference Include="Microsoft.AspNetCore.App" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\MagicOnion.Client\MagicOnion.Client.csproj" /> | ||
<ProjectReference Include="..\MagicOnion.Server\MagicOnion.Server.csproj" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<EmbeddedResource Include="Swagger\SwaggerUI\*" /> | ||
</ItemGroup> | ||
|
||
</Project> |
46 changes: 17 additions & 29 deletions
46
src/MagicOnion.Server.Redis/MagicOnion.Server.Redis.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,24 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFrameworks>net6.0;net7.0</TargetFrameworks> | ||
<OutputType>Library</OutputType> | ||
<LangVersion>default</LangVersion> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<GeneratePackageOnBuild>False</GeneratePackageOnBuild> | ||
<SignAssembly>true</SignAssembly> | ||
<AssemblyOriginatorKeyFile>..\MagicOnion\opensource.snk</AssemblyOriginatorKeyFile> | ||
<GenerateAssemblyInfo>true</GenerateAssemblyInfo> | ||
<GenerateDocumentationFile>true</GenerateDocumentationFile> | ||
<AllowUnsafeBlocks>True</AllowUnsafeBlocks> | ||
<NoWarn>1701;1702;1705;1591</NoWarn> | ||
<DefineConstants>NON_UNITY</DefineConstants> | ||
<Company>Cysharp</Company> | ||
<PropertyGroup> | ||
<TargetFrameworks>net6.0;net7.0</TargetFrameworks> | ||
<OutputType>Library</OutputType> | ||
<LangVersion>default</LangVersion> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<NoWarn>$(NoWarn);1701;1702;1705;1591</NoWarn> | ||
<DefineConstants>$(DefineConstants);NON_UNITY</DefineConstants> | ||
|
||
<!-- NuGet --> | ||
<PackageId>MagicOnion.Server.Redis</PackageId> | ||
<Description>Redis backplane for MagicOnion.</Description> | ||
</PropertyGroup> | ||
<!-- NuGet --> | ||
<PackageId>MagicOnion.Server.Redis</PackageId> | ||
<Description>Redis backplane for MagicOnion.</Description> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="MessagePack" /> | ||
<PackageReference Include="StackExchange.Redis" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<PackageReference Include="StackExchange.Redis" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\MagicOnion.Server\MagicOnion.Server.csproj" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\MagicOnion.Server\MagicOnion.Server.csproj" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<None Include="..\MagicOnion\Icon.png" Pack="true" PackagePath="/" /> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters