File tree Expand file tree Collapse file tree 8 files changed +42
-41
lines changed Expand file tree Collapse file tree 8 files changed +42
-41
lines changed Original file line number Diff line number Diff line change @@ -116,3 +116,5 @@ nuget/*.unitypackage
116
116
.idea /
117
117
118
118
# Unity
119
+
120
+ __packages /
Original file line number Diff line number Diff line change 3
3
4
4
Ideally fast no encoding binary serializer for .NET.
5
5
6
+
7
+
8
+ ` <EnablePreviewFeatures>True</EnablePreviewFeatures> `
9
+
10
+
11
+
12
+ wire format
13
+ ---
14
+ * unmanaged struct
15
+ * object
16
+ * collection
17
+ * union
18
+
6
19
License
7
20
---
8
21
This library is licensed under the MIT License.
Original file line number Diff line number Diff line change 10
10
<NoWarn >$(NoWarn);CS1591;CA2255</NoWarn >
11
11
</PropertyGroup >
12
12
13
+ <ItemGroup >
14
+ <None Include =" ../../Icon.png" Pack =" true" PackagePath =" /" />
15
+ </ItemGroup >
16
+
13
17
<ItemGroup >
14
18
<None Update =" Formatters\TupleFormatter.tt" >
15
19
<Generator >TextTemplatingFileGenerator</Generator >
Original file line number Diff line number Diff line change 7
7
<EnablePreviewFeatures >True</EnablePreviewFeatures >
8
8
<AnalyzerLanguage >cs</AnalyzerLanguage >
9
9
<Nullable >enable</Nullable >
10
+ <TargetsForTfmSpecificContentInPackage >$(TargetsForTfmSpecificContentInPackage);PackBuildOutputs</TargetsForTfmSpecificContentInPackage >
10
11
<IncludeBuildOutput >false</IncludeBuildOutput >
11
12
<DevelopmentDependency >true</DevelopmentDependency >
13
+ <IncludeSymbols >false</IncludeSymbols >
14
+ <SuppressDependenciesWhenPacking >true</SuppressDependenciesWhenPacking >
12
15
<IsRoslynComponent >true</IsRoslynComponent >
13
16
</PropertyGroup >
14
17
15
18
<ItemGroup >
19
+ <None Include =" ../../Icon.png" Pack =" true" PackagePath =" /" />
16
20
<PackageReference Include =" Microsoft.CodeAnalysis.CSharp" Version =" 4.4.0-1.final" PrivateAssets =" all" />
17
21
<PackageReference Include =" Microsoft.CodeAnalysis.Analyzers" Version =" 3.3.3" >
18
22
<PrivateAssets >all</PrivateAssets >
19
23
<IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
20
24
</PackageReference >
21
25
</ItemGroup >
22
26
27
+ <!-- for nuget publish -->
28
+ <Target Name =" PackBuildOutputs" DependsOnTargets =" SatelliteDllsProjectOutputGroup;DebugSymbolsProjectOutputGroup" >
29
+ <ItemGroup >
30
+ <TfmSpecificPackageFile Include =" $(TargetDir)\*.dll" PackagePath =" analyzers\dotnet\cs" />
31
+ <TfmSpecificPackageFile Include =" @(SatelliteDllsProjectOutputGroupOutput->'%(FinalOutputPath)')" PackagePath =" analyzers\dotnet\cs\%(SatelliteDllsProjectOutputGroupOutput.Culture)\" />
32
+ </ItemGroup >
33
+ </Target >
34
+
23
35
</Project >
Original file line number Diff line number Diff line change 1
1
using Microsoft . CodeAnalysis ;
2
- using Microsoft . CodeAnalysis . CSharp ;
3
2
using Microsoft . CodeAnalysis . CSharp . Syntax ;
4
- using Microsoft . CodeAnalysis . Diagnostics ;
5
- using System . Runtime . CompilerServices ;
6
- using System . Security . Principal ;
7
- using System . Text ;
8
3
9
4
namespace MemoryPack . Generator ;
10
5
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
- <PropertyGroup >
4
- <TargetFramework >net6.0</TargetFramework >
5
- <ImplicitUsings >enable</ImplicitUsings >
6
- <Nullable >enable</Nullable >
7
- </PropertyGroup >
3
+ <PropertyGroup >
4
+ <TargetFramework >net6.0</TargetFramework >
5
+ <ImplicitUsings >enable</ImplicitUsings >
6
+ <Nullable >enable</Nullable >
7
+ </PropertyGroup >
8
+
9
+ <ItemGroup >
10
+ <None Include =" ../../Icon.png" Pack =" true" PackagePath =" /" />
11
+ </ItemGroup >
8
12
9
13
</Project >
Original file line number Diff line number Diff line change 4
4
<TargetFramework >net7.0</TargetFramework >
5
5
<!-- This project is meta package -->
6
6
<IncludeBuildOutput >false</IncludeBuildOutput >
7
- <IncludeContentInPack >false </IncludeContentInPack >
7
+ <IncludeContentInPack >true </IncludeContentInPack >
8
8
<NoWarn >$(NoWarn);NU5128</NoWarn >
9
9
</PropertyGroup >
10
10
11
11
<ItemGroup >
12
+ <None Include =" ../../Icon.png" Pack =" true" PackagePath =" /" />
12
13
<ProjectReference Include =" ..\MemoryPack.Core\MemoryPack.Core.csproj" />
13
14
<ProjectReference Include =" ..\MemoryPack.Generator\MemoryPack.Generator.csproj" />
14
15
</ItemGroup >
You can’t perform that action at this time.
0 commit comments