Skip to content

Commit 6bf0e59

Browse files
committed
Use latest UnitsNet package in samples
1 parent 04fa5c5 commit 6bf0e59

6 files changed

Lines changed: 6 additions & 22 deletions

File tree

Samples/Directory.Packages.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
44
</PropertyGroup>
55
<ItemGroup>
6-
<PackageVersion Include="UnitsNet" Version="5.75.0" />
6+
<PackageVersion Include="UnitsNet" Version="6.0.0-pre021" />
77
<PackageVersion Include="MahApps.Metro" Version="2.4.11" />
88
<PackageVersion Include="Prism.Unity" Version="9.0.537" />
99
<PackageVersion Include="Prism.Wpf" Version="9.0.537" />

Samples/MvvmSample.Wpf/MvvmSample.Wpf/MvvmSample.Wpf.csproj

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,7 @@
2121
<Reference Include="System.Transactions" />
2222
</ItemGroup>
2323

24-
<ItemGroup Condition="'$(Configuration)' != 'Official'">
25-
<PackageReference Include="UnitsNet" VersionOverride="6.0.0-pre103" />
26-
</ItemGroup>
27-
28-
<ItemGroup Condition="'$(Configuration)' == 'Official'">
24+
<ItemGroup>
2925
<PackageReference Include="UnitsNet" />
3026
</ItemGroup>
3127
</Project>

Samples/UnitConverter.Console/UnitConverter.Console.csproj

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,7 @@
99
<Platforms>AnyCPU</Platforms>
1010
</PropertyGroup>
1111

12-
<ItemGroup Condition="'$(Configuration)' != 'Official'">
13-
<PackageReference Include="UnitsNet" VersionOverride="6.0.0-pre103" />
14-
</ItemGroup>
15-
16-
<ItemGroup Condition="'$(Configuration)' == 'Official'">
12+
<ItemGroup>
1713
<PackageReference Include="UnitsNet" />
1814
</ItemGroup>
1915

Samples/UnitConverter.Wpf/UnitConverter.Wpf/UnitConverter.Wpf.csproj

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,7 @@
2626
</ItemGroup>
2727

2828

29-
<ItemGroup Condition="'$(Configuration)' != 'Official'">
30-
<PackageReference Include="UnitsNet" VersionOverride="6.0.0-pre103" />
31-
</ItemGroup>
32-
33-
<ItemGroup Condition="'$(Configuration)' == 'Official'">
29+
<ItemGroup>
3430
<PackageReference Include="UnitsNet" />
3531
</ItemGroup>
3632

Samples/UnitsNetSetup.Configuration/ConfigureWithCustomQuantities.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public enum HowMuchUnit
2626
[DebuggerDisplay(QuantityDebugProxy.DisplayFormat)]
2727
[DebuggerTypeProxy(typeof(QuantityDebugProxy))]
2828
public readonly struct HowMuch(QuantityValue value, HowMuchUnit unit) :
29-
IArithmeticQuantity<HowMuch, HowMuchUnit>,
29+
ILinearQuantity<HowMuch, HowMuchUnit>,
3030
IEquatable<HowMuch>, IComparable<HowMuch>, IComparisonOperators<HowMuch, HowMuch, bool>,
3131
IParsable<HowMuch>
3232
{

Samples/UnitsNetSetup.Configuration/UnitsNetSetup.Configuration.csproj

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,7 @@
99
<Platforms>AnyCPU</Platforms>
1010
</PropertyGroup>
1111

12-
<ItemGroup Condition="'$(Configuration)' != 'Official'">
13-
<PackageReference Include="UnitsNet" VersionOverride="6.0.0-pre103" />
14-
</ItemGroup>
15-
16-
<ItemGroup Condition="'$(Configuration)' == 'Official'">
12+
<ItemGroup>
1713
<PackageReference Include="UnitsNet" />
1814
</ItemGroup>
1915

0 commit comments

Comments
 (0)