Skip to content

Commit 0f40653

Browse files
committed
Include Logging.Abstractions in source generator
1 parent 348adf1 commit 0f40653

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

Src/FastData.SourceGenerator/FastData.SourceGenerator.csproj

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,23 @@
1414
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" PrivateAssets="all" />
1515
</ItemGroup>
1616

17+
<PropertyGroup>
18+
<GetTargetPathDependsOn>$(GetTargetPathDependsOn);GetDependencyTargetPaths</GetTargetPathDependsOn>
19+
</PropertyGroup>
20+
1721
<Target Name="GetDependencyTargetPaths">
1822
<ItemGroup>
19-
<TargetPathWithTargetPlatformMoniker Include="$(PKGMicrosoft_Extensions_Logging_Abstractions)\lib\netstandard2.0\Microsoft.Extensions.Logging.Abstractions.dll" IncludeRuntimeDependency="false" />
23+
<TargetPathWithTargetPlatformMoniker Include="$(PkgMicrosoft_Extensions_Logging_Abstractions)\lib\netstandard2.0\Microsoft.Extensions.Logging.Abstractions.dll" IncludeRuntimeDependency="false" />
2024
</ItemGroup>
2125
</Target>
2226

23-
<PropertyGroup>
24-
<GetTargetPathDependsOn>$(GetTargetPathDependsOn);GetDependencyTargetPaths</GetTargetPathDependsOn>
25-
</PropertyGroup>
26-
2727
<PropertyGroup Condition="'$(IsPack)' != 'true'">
2828
<DefineConstants>$(DefineConstants);INTERNAL_BUILD</DefineConstants>
2929
</PropertyGroup>
3030

3131
<ItemGroup>
3232
<None Include="$(OutputPath)\$(AssemblyName).dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />
33+
<None Include="$(PkgMicrosoft_Extensions_Logging_Abstractions)\lib\netstandard2.0\Microsoft.Extensions.Logging.Abstractions.dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />
3334
</ItemGroup>
3435

3536
<ItemGroup>

0 commit comments

Comments
 (0)