Skip to content

Commit 97b28d7

Browse files
authored
Merge pull request #11 from rainersigwald/deps-json-tweaks
2 parents 7eb6394 + 0ffbf81 commit 97b28d7

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

src/Ionide.KeepAChangelog.Tasks/Ionide.KeepAChangelog.Tasks.fsproj

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,22 +23,18 @@
2323
<Content Include="buildMultiTargeting\*" PackagePath="buildMultiTargeting\" />
2424
</ItemGroup>
2525
<ItemGroup>
26-
<PackageReference Include="Microsoft.Build.Utilities.Core" Version="17.0.0" PrivateAssets="All" IncludeAssets="Compile" />
27-
<PackageReference Include="SemanticVersion" Version="2.1.0" PrivateAssets="All" IncludeAssets="Compile" />
28-
<PackageReference Include="FParsec" Version="1.1.1" PrivateAssets="All" IncludeAssets="Compile" />
29-
<PackageReference Update="FSharp.Core" PrivateAssets="All" IncludeAssets="Compile" />
30-
<ProjectReference Include="../Ionide.KeepAChangelog/Ionide.KeepAChangelog.fsproj" PrivateAssets="All" IncludeAssets="Compile" />
26+
<PackageReference Include="Microsoft.Build.Utilities.Core" Version="17.0.0" PrivateAssets="All" ExcludeAssets="Runtime" />
27+
<PackageReference Include="SemanticVersion" Version="2.1.0" PrivateAssets="All" />
28+
<PackageReference Include="FParsec" Version="1.1.1" PrivateAssets="All" />
29+
<PackageReference Update="FSharp.Core" PrivateAssets="All" />
30+
<ProjectReference Include="../Ionide.KeepAChangelog/Ionide.KeepAChangelog.fsproj" PrivateAssets="All" />
3131
</ItemGroup>
3232

3333
<Target Name="CopyProjectReferencesToPackage" DependsOnTargets="ResolveReferences">
3434
<ItemGroup>
3535
<BuildOutputInPackage Include="$(OutputPath)/*.deps.json" />
3636
<!-- the dependencies of your MSBuild task must be packaged inside the package, they cannot be expressed as normal PackageReferences -->
37-
<BuildOutputInPackage Include="$(MSBuildThisProject)../Ionide.KeepAChangelog/bin/$(Configuration)/$(TargetFramework)/Ionide.KeepAChangelog.dll" />
38-
<BuildOutputInPackage Include="$(PkgSemanticVersion)/lib/netstandard2.0/SemanticVersion.dll" />
39-
<BuildOutputInPackage Include="$(PkgFSharp_Core)/lib/netstandard2.0/FSharp.Core.dll" />
40-
<BuildOutputInPackage Include="$(PkgFParsec)/lib/netstandard2.0/FParsec.dll" />
41-
<BuildOutputInPackage Include="$(PkgFParsec)/lib/netstandard2.0/FParsecCS.dll" />
37+
<BuildOutputInPackage Include="@(ReferenceCopyLocalPaths)" TargetPath="%(ReferenceCopyLocalPaths.DestinationSubPath)" />
4238
</ItemGroup>
4339
</Target>
4440

0 commit comments

Comments
 (0)