Move attributes into their own isolated package

Fixes #486
This commit is contained in:
Andrew Arnott 2019-07-15 12:38:13 -06:00
Родитель 2ec1d26e61
Коммит 2008331fa7
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: A9B9910CDCCDA441
12 изменённых файлов: 37 добавлений и 2 удалений

Просмотреть файл

@ -60,6 +60,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MessagePack.UniversalCodeGe
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MessagePack.AspNetCoreMvcFormatter.Tests", "tests\MessagePack.AspNetCoreMvcFormatter.Tests\MessagePack.AspNetCoreMvcFormatter.Tests.csproj", "{79C2B2CB-872A-4BA9-82DC-60F6DD77F940}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MessagePack.Annotations", "src\MessagePack.Annotations\MessagePack.Annotations.csproj", "{85763F30-7733-44AB-89AB-D1B64F6E0D93}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{5BAF9120-1293-449E-975C-A373E9DE7F69}"
ProjectSection(SolutionItems) = preProject
.gitignore = .gitignore
@ -143,6 +145,10 @@ Global
{79C2B2CB-872A-4BA9-82DC-60F6DD77F940}.Debug|Any CPU.Build.0 = Debug|Any CPU
{79C2B2CB-872A-4BA9-82DC-60F6DD77F940}.Release|Any CPU.ActiveCfg = Release|Any CPU
{79C2B2CB-872A-4BA9-82DC-60F6DD77F940}.Release|Any CPU.Build.0 = Release|Any CPU
{85763F30-7733-44AB-89AB-D1B64F6E0D93}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{85763F30-7733-44AB-89AB-D1B64F6E0D93}.Debug|Any CPU.Build.0 = Debug|Any CPU
{85763F30-7733-44AB-89AB-D1B64F6E0D93}.Release|Any CPU.ActiveCfg = Release|Any CPU
{85763F30-7733-44AB-89AB-D1B64F6E0D93}.Release|Any CPU.Build.0 = Release|Any CPU
{4142EA80-FEF4-44A5-8553-1AE84BEBAFED}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4142EA80-FEF4-44A5-8553-1AE84BEBAFED}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4142EA80-FEF4-44A5-8553-1AE84BEBAFED}.Release|Any CPU.ActiveCfg = Release|Any CPU
@ -176,6 +182,7 @@ Global
{2A32A538-BA26-4D89-85D0-E4249AFA0837} = {BF4C4202-5015-4FBD-80E6-D0F36A06F700}
{10AD85DD-929D-49B8-BD43-45242C2644B7} = {86309CF6-0054-4CE3-BFD3-CA0AA7DB17BC}
{79C2B2CB-872A-4BA9-82DC-60F6DD77F940} = {19FE674A-AC94-4E7E-B24C-2285D1D04CDE}
{85763F30-7733-44AB-89AB-D1B64F6E0D93} = {86309CF6-0054-4CE3-BFD3-CA0AA7DB17BC}
{4142EA80-FEF4-44A5-8553-1AE84BEBAFED} = {51A614B0-E583-4DD2-AC7D-6A65634582E0}
{C100FBA6-4164-4D6A-A532-5984D2B8DCB0} = {86309CF6-0054-4CE3-BFD3-CA0AA7DB17BC}
{8D9FD130-7905-47D8-A25C-7FDEE28EA0E8} = {19FE674A-AC94-4E7E-B24C-2285D1D04CDE}

Просмотреть файл

@ -24,6 +24,9 @@
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\MessagePack.Annotations\MessagePack.Annotations.csproj">
<Aliases>newmsgpack</Aliases>
</ProjectReference>
<ProjectReference Include="..\..\src\MessagePack\MessagePack.csproj">
<Aliases>newmsgpack</Aliases>
</ProjectReference>

Просмотреть файл

@ -5,7 +5,7 @@
<DefineConstants>$(DefineConstants);DYNAMICCODEDUMPER</DefineConstants>
</PropertyGroup>
<ItemGroup>
<Compile Include="..\..\src\MessagePack\Attributes.cs">
<Compile Include="..\..\src\MessagePack.Annotations\Attributes.cs">
<Link>Code\Attributes.cs</Link>
</Compile>
<Compile Include="..\..\src\MessagePack\FloatBits.cs">
@ -26,7 +26,7 @@
<Compile Include="..\..\src\MessagePack\IFormatterResolver.cs">
<Link>Code\IFormatterResolver.cs</Link>
</Compile>
<Compile Include="..\..\src\MessagePack\IMessagePackSerializationCallbackReceiver.cs">
<Compile Include="..\..\src\MessagePack.Annotations\IMessagePackSerializationCallbackReceiver.cs">
<Link>Code\IMessagePackSerializationCallbackReceiver.cs</Link>
</Compile>
<Compile Include="..\..\src\MessagePack\Internal\AutomataDictionary.cs">

Просмотреть файл

@ -25,6 +25,9 @@
<PackageReference Include="ZeroFormatter" version="1.6.4" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\MessagePack.Annotations\MessagePack.Annotations.csproj">
<Aliases>newmsgpack</Aliases>
</ProjectReference>
<ProjectReference Include="..\..\src\MessagePack\MessagePack.csproj">
<Aliases>newmsgpack</Aliases>
</ProjectReference>

Просмотреть файл

@ -0,0 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard2.0</TargetFrameworks>
<NoWarn>$(NoWarn);CS0649</NoWarn>
<RootNamespace>MessagePack</RootNamespace>
<IsPackable>true</IsPackable>
<Title>MessagePack annotations for C#</Title>
<Description>Extremely Fast MessagePack(MsgPack) Serializer for C#(.NET, .NET Core, Unity, Xamarin).</Description>
<PackageTags>MsgPack;MessagePack;Serialization;Formatter;Serializer;Unity;Xamarin</PackageTags>
</PropertyGroup>
</Project>

Просмотреть файл

@ -15,6 +15,7 @@
<ItemGroup>
<ProjectReference Include="..\MessagePack\MessagePack.csproj" />
<ProjectReference Include="..\MessagePack.Annotations\MessagePack.Annotations.csproj" />
</ItemGroup>
</Project>

Просмотреть файл

@ -15,6 +15,7 @@
<ItemGroup>
<ProjectReference Include="..\MessagePack\MessagePack.csproj" />
<ProjectReference Include="..\MessagePack.Annotations\MessagePack.Annotations.csproj" />
</ItemGroup>
</Project>

Просмотреть файл

@ -21,6 +21,7 @@
<ItemGroup>
<ProjectReference Include="..\MessagePack\MessagePack.csproj" />
<ProjectReference Include="..\MessagePack.Annotations\MessagePack.Annotations.csproj" />
</ItemGroup>
</Project>

Просмотреть файл

@ -14,6 +14,7 @@
<ItemGroup>
<ProjectReference Include="..\MessagePack\MessagePack.csproj" />
<ProjectReference Include="..\MessagePack.Annotations\MessagePack.Annotations.csproj" />
</ItemGroup>
</Project>

Просмотреть файл

@ -38,6 +38,10 @@
<PackageReference Include="System.Threading.Tasks.Extensions" Version="4.5.3" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\MessagePack.Annotations\MessagePack.Annotations.csproj" />
</ItemGroup>
<ItemGroup>
<None Update="Formatters\ForceSizePrimitiveFormatter.tt">
<LastGenOutput>ForceSizePrimitiveFormatter.cs</LastGenOutput>