Skip to content

Commit

Permalink
Added missing assembly to package.
Browse files Browse the repository at this point in the history
  • Loading branch information
AraHaan committed May 9, 2021
1 parent 11925a7 commit 6e607f7
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 7 deletions.
4 changes: 0 additions & 4 deletions NuGet.config
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
<configuration>
<packageSources>
<add key="dotnet6" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6/nuget/v3/index.json" />
<add key="dotnet6-transport" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6-transport/nuget/v3/index.json" />
<add key="dotnet-tools" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json" />
<add key="dotnet-tools-transport" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools-transport/nuget/v3/index.json" />
<add key="xunit-prereleases" value="https://www.myget.org/F/xunit/api/v3/index.json" />
</packageSources>
</configuration>
6 changes: 3 additions & 3 deletions src/GitBuildInfo.SourceGenerator.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<TargetFramework>netstandard2.0</TargetFramework>
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<Version>1.0.7</Version>
<PackageReleaseNotes>Fixed Build Task.</PackageReleaseNotes>
<Version>1.0.8</Version>
<PackageReleaseNotes>Added missing assembly to package.</PackageReleaseNotes>
<Company>Els_kom org.</Company>
<Authors>Els_kom org.</Authors>
<Copyright>Copyright (c) 2021</Copyright>
Expand Down Expand Up @@ -40,7 +40,7 @@
</ItemDefinitionGroup>

<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis" Version="*-*" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="*-*" />
<PackageReference Include="Nullable" Version="*-*" />
<PackageReference Include="System.Text.Json" Version="*-*" />
</ItemGroup>
Expand Down
14 changes: 14 additions & 0 deletions src/GitBuildInfo.SourceGenerator.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,23 @@
</metadata>
<files>
<file src="$BaseOutputPath$GitBuildInfo.SourceGenerator.dll" target="analyzers\cs\GitBuildInfo.SourceGenerator.dll" />
<file src="$BaseOutputPath$Microsoft.CodeAnalysis.dll" target="analyzers\cs\Microsoft.CodeAnalysis.dll" />
<file src="$BaseOutputPath$Microsoft.Bcl.AsyncInterfaces.dll" target="analyzers\cs\Microsoft.Bcl.AsyncInterfaces.dll" />
<file src="$BaseOutputPath$System.Text.Json.dll" target="analyzers\cs\System.Text.Json.dll" />
<file src="$BaseOutputPath$System.Text.Encodings.Web.dll" target="analyzers\cs\System.Text.Encodings.Web.dll" />
<file src="$BaseOutputPath$cs\**" target="analyzers\cs\cs\" />
<file src="$BaseOutputPath$de\**" target="analyzers\cs\de\" />
<file src="$BaseOutputPath$es\**" target="analyzers\cs\es\" />
<file src="$BaseOutputPath$fr\**" target="analyzers\cs\fr\" />
<file src="$BaseOutputPath$it\**" target="analyzers\cs\it\" />
<file src="$BaseOutputPath$ja\**" target="analyzers\cs\ja\" />
<file src="$BaseOutputPath$ko\**" target="analyzers\cs\ko\" />
<file src="$BaseOutputPath$pl\**" target="analyzers\cs\pl\" />
<file src="$BaseOutputPath$pt-BR\**" target="analyzers\cs\pt-BR\" />
<file src="$BaseOutputPath$ru\**" target="analyzers\cs\ru\" />
<file src="$BaseOutputPath$tr\**" target="analyzers\cs\tr\" />
<file src="$BaseOutputPath$zh-Hans\**" target="analyzers\cs\zh-Hans\" />
<file src="$BaseOutputPath$zh-Hant\**" target="analyzers\cs\zh-Hant\" />
<file src="..\build\**" target="build\" />
<file src="..\tools\**" target="tools\" />
</files>
Expand Down
1 change: 1 addition & 0 deletions src/GitBuildInfo.SourceGenerator.targets
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<ItemGroup>
<!-- Analysis of C# projects -->
<TfmSpecificPackageFile Include="$(TargetPath)" PackagePath="analyzers\cs\" />
<TfmSpecificPackageFile Include="@(ReferencePath)" PackagePath="analyzers\cs\" Condition=" '%(FileName)%(Extension)' == 'Microsoft.CodeAnalysis.dll' " />
<TfmSpecificPackageFile Include="@(ReferencePath)" PackagePath="analyzers\cs\" Condition=" '%(FileName)%(Extension)' == 'Microsoft.Bcl.AsyncInterfaces.dll' " />
<TfmSpecificPackageFile Include="@(ReferencePath)" PackagePath="analyzers\cs\" Condition=" '%(FileName)%(Extension)' == 'System.Text.Json.dll' " />
<TfmSpecificPackageFile Include="@(ReferencePath)" PackagePath="analyzers\cs\" Condition=" '%(FileName)%(Extension)' == 'System.Text.Encodings.Web.dll' " />
Expand Down

0 comments on commit 6e607f7

Please sign in to comment.