Skip to content

Commit f584e59

Browse files
authored
Merge pull request #8 from ufcpp/nupkg-info
nuget package info
2 parents 945d90a + b877be6 commit f584e59

File tree

2 files changed

+18
-3
lines changed

2 files changed

+18
-3
lines changed

StringLiteralGenerator.sln

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "samples", "samples", "{11C3
1111
EndProject
1212
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StringLiteralSample", "samples\StringLiteralSample\StringLiteralSample.csproj", "{BDD784F2-E65F-4774-8D2B-8536EFB94A32}"
1313
EndProject
14-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "StringLiteralCodeAnalysisSample", "samples\StringLiteralCodeAnalysisSample\StringLiteralCodeAnalysisSample.csproj", "{003A89BC-3FE1-4D6A-833C-A27363C01732}"
14+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StringLiteralCodeAnalysisSample", "samples\StringLiteralCodeAnalysisSample\StringLiteralCodeAnalysisSample.csproj", "{003A89BC-3FE1-4D6A-833C-A27363C01732}"
1515
EndProject
1616
Global
1717
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -24,9 +24,7 @@ Global
2424
{6FD4C22B-E18F-452C-8F23-9B5F15F5E315}.Release|Any CPU.ActiveCfg = Release|Any CPU
2525
{6FD4C22B-E18F-452C-8F23-9B5F15F5E315}.Release|Any CPU.Build.0 = Release|Any CPU
2626
{BDD784F2-E65F-4774-8D2B-8536EFB94A32}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
27-
{BDD784F2-E65F-4774-8D2B-8536EFB94A32}.Debug|Any CPU.Build.0 = Debug|Any CPU
2827
{BDD784F2-E65F-4774-8D2B-8536EFB94A32}.Release|Any CPU.ActiveCfg = Release|Any CPU
29-
{BDD784F2-E65F-4774-8D2B-8536EFB94A32}.Release|Any CPU.Build.0 = Release|Any CPU
3028
{003A89BC-3FE1-4D6A-833C-A27363C01732}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
3129
{003A89BC-3FE1-4D6A-833C-A27363C01732}.Debug|Any CPU.Build.0 = Debug|Any CPU
3230
{003A89BC-3FE1-4D6A-833C-A27363C01732}.Release|Any CPU.ActiveCfg = Release|Any CPU

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)