Skip to content

Commit 6e607f7

Browse files
committed
Added missing assembly to package.
1 parent 11925a7 commit 6e607f7

File tree

4 files changed

+18
-7
lines changed

4 files changed

+18
-7
lines changed

NuGet.config

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
<configuration>
22
<packageSources>
3-
<add key="dotnet6" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6/nuget/v3/index.json" />
4-
<add key="dotnet6-transport" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6-transport/nuget/v3/index.json" />
5-
<add key="dotnet-tools" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json" />
6-
<add key="dotnet-tools-transport" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools-transport/nuget/v3/index.json" />
73
<add key="xunit-prereleases" value="https://www.myget.org/F/xunit/api/v3/index.json" />
84
</packageSources>
95
</configuration>

src/GitBuildInfo.SourceGenerator.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
<TargetFramework>netstandard2.0</TargetFramework>
66
<LangVersion>latest</LangVersion>
77
<Nullable>enable</Nullable>
8-
<Version>1.0.7</Version>
9-
<PackageReleaseNotes>Fixed Build Task.</PackageReleaseNotes>
8+
<Version>1.0.8</Version>
9+
<PackageReleaseNotes>Added missing assembly to package.</PackageReleaseNotes>
1010
<Company>Els_kom org.</Company>
1111
<Authors>Els_kom org.</Authors>
1212
<Copyright>Copyright (c) 2021</Copyright>
@@ -40,7 +40,7 @@
4040
</ItemDefinitionGroup>
4141

4242
<ItemGroup>
43-
<PackageReference Include="Microsoft.CodeAnalysis" Version="*-*" />
43+
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="*-*" />
4444
<PackageReference Include="Nullable" Version="*-*" />
4545
<PackageReference Include="System.Text.Json" Version="*-*" />
4646
</ItemGroup>

src/GitBuildInfo.SourceGenerator.nuspec

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,23 @@
1919
</metadata>
2020
<files>
2121
<file src="$BaseOutputPath$GitBuildInfo.SourceGenerator.dll" target="analyzers\cs\GitBuildInfo.SourceGenerator.dll" />
22+
<file src="$BaseOutputPath$Microsoft.CodeAnalysis.dll" target="analyzers\cs\Microsoft.CodeAnalysis.dll" />
2223
<file src="$BaseOutputPath$Microsoft.Bcl.AsyncInterfaces.dll" target="analyzers\cs\Microsoft.Bcl.AsyncInterfaces.dll" />
2324
<file src="$BaseOutputPath$System.Text.Json.dll" target="analyzers\cs\System.Text.Json.dll" />
2425
<file src="$BaseOutputPath$System.Text.Encodings.Web.dll" target="analyzers\cs\System.Text.Encodings.Web.dll" />
26+
<file src="$BaseOutputPath$cs\**" target="analyzers\cs\cs\" />
27+
<file src="$BaseOutputPath$de\**" target="analyzers\cs\de\" />
28+
<file src="$BaseOutputPath$es\**" target="analyzers\cs\es\" />
29+
<file src="$BaseOutputPath$fr\**" target="analyzers\cs\fr\" />
30+
<file src="$BaseOutputPath$it\**" target="analyzers\cs\it\" />
31+
<file src="$BaseOutputPath$ja\**" target="analyzers\cs\ja\" />
32+
<file src="$BaseOutputPath$ko\**" target="analyzers\cs\ko\" />
33+
<file src="$BaseOutputPath$pl\**" target="analyzers\cs\pl\" />
34+
<file src="$BaseOutputPath$pt-BR\**" target="analyzers\cs\pt-BR\" />
35+
<file src="$BaseOutputPath$ru\**" target="analyzers\cs\ru\" />
36+
<file src="$BaseOutputPath$tr\**" target="analyzers\cs\tr\" />
37+
<file src="$BaseOutputPath$zh-Hans\**" target="analyzers\cs\zh-Hans\" />
38+
<file src="$BaseOutputPath$zh-Hant\**" target="analyzers\cs\zh-Hant\" />
2539
<file src="..\build\**" target="build\" />
2640
<file src="..\tools\**" target="tools\" />
2741
</files>

src/GitBuildInfo.SourceGenerator.targets

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
<ItemGroup>
1515
<!-- Analysis of C# projects -->
1616
<TfmSpecificPackageFile Include="$(TargetPath)" PackagePath="analyzers\cs\" />
17+
<TfmSpecificPackageFile Include="@(ReferencePath)" PackagePath="analyzers\cs\" Condition=" '%(FileName)%(Extension)' == 'Microsoft.CodeAnalysis.dll' " />
1718
<TfmSpecificPackageFile Include="@(ReferencePath)" PackagePath="analyzers\cs\" Condition=" '%(FileName)%(Extension)' == 'Microsoft.Bcl.AsyncInterfaces.dll' " />
1819
<TfmSpecificPackageFile Include="@(ReferencePath)" PackagePath="analyzers\cs\" Condition=" '%(FileName)%(Extension)' == 'System.Text.Json.dll' " />
1920
<TfmSpecificPackageFile Include="@(ReferencePath)" PackagePath="analyzers\cs\" Condition=" '%(FileName)%(Extension)' == 'System.Text.Encodings.Web.dll' " />

0 commit comments

Comments
 (0)