Skip to content

Commit 6e90f80

Browse files
authored
housekeeping: Revert CSPROJ modifications (#21)
1 parent b858170 commit 6e90f80

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed
Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,24 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<TargetFramework>netstandard2.0</TargetFramework>
44
<DevelopmentDependency>true</DevelopmentDependency>
5+
<IncludeBuildOutput>false</IncludeBuildOutput>
6+
<!-- forces SDK to copy dependencies into build output to make packing easier -->
7+
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
58
<PackageDescription>Produces DI registration for both property and constructor injection using the Splat locators.</PackageDescription>
9+
<TargetsForTfmSpecificContentInPackage>$(TargetsForTfmSpecificContentInPackage);PackBuildOutputs</TargetsForTfmSpecificContentInPackage>
610
<NoWarn>$(NoWarn);AD0001</NoWarn>
7-
<BuildOutputTargetFolder>analyzers</BuildOutputTargetFolder>
8-
<GetTargetPathDependsOn>$(GetTargetPathDependsOn);GetDependencyTargetPaths</GetTargetPathDependsOn>
911
</PropertyGroup>
1012

1113
<ItemGroup>
1214
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="3.8.0" PrivateAssets="all" />
1315
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.2" PrivateAssets="all" />
14-
<PackageReference Include="ReactiveMarbles.RoslynHelpers" GeneratePathProperty="true" Version="1.0.9" PrivateAssets="all" />
16+
<PackageReference Include="ReactiveMarbles.RoslynHelpers" Version="1.0.9" PrivateAssets="all" />
1517
</ItemGroup>
1618

17-
<PropertyGroup>
18-
</PropertyGroup>
19-
20-
<Target Name="GetDependencyTargetPaths">
19+
<Target Name="PackBuildOutputs">
2120
<ItemGroup>
22-
<TargetPathWithTargetPlatformMoniker Include="$(PKGReactiveMarbles_RoslynHelpers)\lib\netstandard2.0\ReactiveMarbles.RoslynHelpers.dll" IncludeRuntimeDependency="false" />
21+
<TfmSpecificPackageFile Include="$(OutputPath)\**\*" PackagePath="analyzers/dotnet/cs" Visible="false" />
2322
</ItemGroup>
2423
</Target>
2524
</Project>

0 commit comments

Comments
 (0)