Skip to content

Commit 8b2c513

Browse files
committed
nuget package info
1 parent b02f554 commit 8b2c513

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

src/StringLiteralGenerator/StringLiteralGenerator.csproj

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,28 @@
44
<TargetFramework>netstandard2.0</TargetFramework>
55
<LangVersion>preview</LangVersion>
66
<Nullable>enable</Nullable>
7+
<IncludeBuildOutput>false</IncludeBuildOutput>
8+
9+
<PackageId>StringLiteralGenerator</PackageId>
10+
<Authors>Nobuyuki Iwanaga</Authors>
11+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
12+
<RepositoryUrl>https://github.com/ufcpp/TryGithubActions</RepositoryUrl>
13+
<RepositoryType>git</RepositoryType>
14+
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
15+
<Description>A C# Source Generator for optimizing UTF-8 binaries.</Description>
16+
17+
<TargetsForTfmSpecificContentInPackage>$(TargetsForTfmSpecificContentInPackage);_AddAnalyzersToOutput</TargetsForTfmSpecificContentInPackage>
718
</PropertyGroup>
819

920
<ItemGroup>
1021
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="3.8.0-3.final" PrivateAssets="all" />
1122
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.0" PrivateAssets="all" />
1223
</ItemGroup>
1324

25+
<Target Name="_AddAnalyzersToOutput">
26+
<ItemGroup>
27+
<TfmSpecificPackageFile Include="$(OutputPath)\StringLiteralGenerator.dll" PackagePath="analyzers/dotnet/cs" />
28+
</ItemGroup>
29+
</Target>
30+
1431
</Project>

0 commit comments

Comments
 (0)