Skip to content

Commit

Permalink
Fix NU1604 (#545)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kielek authored Sep 24, 2024
1 parent d501abb commit 45a65d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
5 changes: 0 additions & 5 deletions test/test-applications/nuget-package/Directory.Packages.props
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!-- The NuGet package test applications shouldn't use the common build settings -->

<ItemGroup>
<!-- This version is here to avoid compilation warnings. During the build is overriden by nuke tasks. -->
<PackageVersion Include="Splunk.OpenTelemetry.AutoInstrumentation" Version="1.5.0" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Splunk.OpenTelemetry.AutoInstrumentation" VersionOverride="$(NuGetPackageVersion)" />
<PackageReference Include="Splunk.OpenTelemetry.AutoInstrumentation" Version="$(NuGetPackageVersion)" Condition=" '$(NuGetPackageVersion)' != '' " />
<PackageReference Include="Splunk.OpenTelemetry.AutoInstrumentation" Version="1.6.0" Condition=" '$(NuGetPackageVersion)' == '' " />
</ItemGroup>
</Project>

0 comments on commit 45a65d5

Please sign in to comment.