Skip to content

Commit df2692b

Browse files
Improvements in builds for .NET nanoFramework (#925)
Co-authored-by: Andreas Gullberg Larsen <[email protected]>
1 parent 254407f commit df2692b

18 files changed

+67
-61
lines changed

Build/build-functions.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ function Start-PackNugets {
137137
write-host -foreground yellow "Skipping nanoFramework nuget pack."
138138
} else {
139139
write-host -foreground yellow "nanoFramework project not yet supported by dotnet CLI, using nuget.exe instead"
140-
Build-NanoNugets
140+
Invoke-Build-NanoNugets
141141
}
142142

143143

Build/build-pack-nano-nugets.psm1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
$nugetOutDir = "$root\Artifacts\NuGet"
33
$nuget = "$root\Tools\NuGet.exe"
44

5-
function Build-NanoNugets {
5+
function Invoke-Build-NanoNugets {
66

77
& $nuget pack "$root\UnitsNet.NanoFramework\GeneratedCode\Temperature\UnitsNet.NanoFramework.Temperature.nuspec" -Verbosity detailed -OutputDirectory "$nugetOutDir"
88

99
}
1010

11-
export-modulemember -function Build-NanoNugets
11+
export-modulemember -function Invoke-Build-NanoNugets

Build/set-version-UnitsNet.ps1

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,12 @@ Set-AssemblyInfoVersion $winrtAssemblyInfoFile $newVersion
6969
# # Update .nuspec files
7070
Set-NuspecVersion $winrtNuspecFile $newVersion
7171

72+
# # Update .nuspec files for nanoFramework
73+
Get-ChildItem -Path "$root\UnitsNet.NanoFramework\GeneratedCode" -Include '*.nuspec' -Recurse |
74+
Foreach-object {
75+
Set-NuspecVersion $_.FullName $newVersion
76+
}
77+
7278
# Git commit and tag
7379
Invoke-CommitVersionBump @("UnitsNet") $versionFiles $newVersion
7480
Invoke-TagVersionBump "UnitsNet" $newVersion

CodeGen/Generators/NanoFrameworkGenerator.cs

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -120,22 +120,19 @@ public static void Generate(string rootDir, Quantity[] quantities)
120120
Log.Information($"Creating .NET nanoFramework project for {quantity.Name}");
121121

122122
var projectPath = Path.Combine(outputDir, quantity.Name);
123+
var sb = new StringBuilder($"{quantity.Name}:".PadRight(AlignPad));
123124

124125
GeneratePackage(projectPath, quantity.Name);
125-
126-
Log.Information($"Package(OK)");
127-
128-
var sb = new StringBuilder($"{quantity.Name}:".PadRight(AlignPad));
129126
GenerateUnitType(sb, quantity, Path.Combine(outputUnits, $"{quantity.Name}Unit.g.cs"));
130127
GenerateQuantity(sb, quantity, Path.Combine(outputQuantitites, $"{quantity.Name}.g.cs"));
131128
GenerateProject(sb, quantity, projectPath);
132-
Log.Information(sb.ToString());
129+
133130
numberQuantity++;
134131
}
135132

136133
GenerateSolution(quantities, outputDir);
137134
Log.Information("UnitsNet.nanoFrmawork.sln generated");
138-
Log.Information($"Total quantities generated: {numberQuantity}");
135+
Log.Information($"Count of generated projects: {numberQuantity}");
139136
}
140137

141138
private static void GeneratePackage(string projectPath, string quantityName)

Directory.Build.props

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
<PropertyGroup>
44
<!-- Default to output to Artifacts folder -->
55
<OutputPath>$(MSBuildThisFileDirectory)Artifacts/$(MSBuildProjectName)</OutputPath>
6+
<!-- Specific output folder for .NET nanoFramework projects -->
7+
<OutputPath Condition=" '$(TargetFrameworkIdentifier)' == '.NETnanoFramework'">$(MSBuildThisFileDirectory)Artifacts/UnitsNet.NanoFramework/$(MSBuildProjectName)</OutputPath>
8+
69
</PropertyGroup>
710

811
<!-- Workaround for `dotnet test UnitsNet.sln`: https://dasmulli.blog/2018/01/20/make-dotnet-test-work-on-solution-files/ -->

UnitsNet.NanoFramework/GeneratedCode/Duration/UnitsNet.NanoFramework.Duration.nuspec

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
33
<metadata>
44
<id>UnitsNet.nanoFramework.Duration</id>
5-
<version>4.89.0</version>
5+
<version>4.90.0</version>
66
<title>Units.NET Duration - nanoFramework</title>
7-
<authors>Andreas Gullberg Larsen, nanoFramework project contributors</authors>
7+
<authors>Andreas Gullberg Larsen,nanoFramework project contributors</authors>
88
<owners>UnitsNet</owners>
99
<license type="expression">MIT</license>
1010
<projectUrl>https://github.com/angularsen/UnitsNet</projectUrl>
1111
<requireLicenseAcceptance>false</requireLicenseAcceptance>
12-
<description>Adds Duration units for Units.NET on .NET nanoFramework.&#10; For .NET or .NET Core, use UnitsNet instead.</description>
12+
<description>Adds Duration units for Units.NET on .NET nanoFramework. For .NET or .NET Core, use UnitsNet instead.</description>
1313
<iconUrl>https://raw.githubusercontent.com/angularsen/UnitsNet/ce85185429be345d77eb2ce09c99d59cc9ab8aed/Docs/Images/logo-32.png</iconUrl>
1414
<releaseNotes>
1515
</releaseNotes>
@@ -21,6 +21,6 @@
2121
</dependencies>
2222
</metadata>
2323
<files>
24-
<file src="..\..\..\Artifacts\Duration\UnitsNet.*" target="lib" />
24+
<file src="..\..\..\Artifacts\UnitsNet.NanoFramework\Duration\UnitsNet.*" target="lib" />
2525
</files>
2626
</package>

UnitsNet.NanoFramework/GeneratedCode/ElectricCurrent/UnitsNet.NanoFramework.ElectricCurrent.nuspec

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
33
<metadata>
44
<id>UnitsNet.nanoFramework.ElectricCurrent</id>
5-
<version>4.89.0</version>
5+
<version>4.90.0</version>
66
<title>Units.NET ElectricCurrent - nanoFramework</title>
7-
<authors>Andreas Gullberg Larsen, nanoFramework project contributors</authors>
7+
<authors>Andreas Gullberg Larsen,nanoFramework project contributors</authors>
88
<owners>UnitsNet</owners>
99
<license type="expression">MIT</license>
1010
<projectUrl>https://github.com/angularsen/UnitsNet</projectUrl>
1111
<requireLicenseAcceptance>false</requireLicenseAcceptance>
12-
<description>Adds ElectricCurrent units for Units.NET on .NET nanoFramework.&#10; For .NET or .NET Core, use UnitsNet instead.</description>
12+
<description>Adds ElectricCurrent units for Units.NET on .NET nanoFramework. For .NET or .NET Core, use UnitsNet instead.</description>
1313
<iconUrl>https://raw.githubusercontent.com/angularsen/UnitsNet/ce85185429be345d77eb2ce09c99d59cc9ab8aed/Docs/Images/logo-32.png</iconUrl>
1414
<releaseNotes>
1515
</releaseNotes>
@@ -21,6 +21,6 @@
2121
</dependencies>
2222
</metadata>
2323
<files>
24-
<file src="..\..\..\Artifacts\ElectricCurrent\UnitsNet.*" target="lib" />
24+
<file src="..\..\..\Artifacts\UnitsNet.NanoFramework\ElectricCurrent\UnitsNet.*" target="lib" />
2525
</files>
2626
</package>

UnitsNet.NanoFramework/GeneratedCode/ElectricPotential/UnitsNet.NanoFramework.ElectricPotential.nuspec

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
33
<metadata>
44
<id>UnitsNet.nanoFramework.ElectricPotential</id>
5-
<version>4.89.0</version>
5+
<version>4.90.0</version>
66
<title>Units.NET ElectricPotential - nanoFramework</title>
7-
<authors>Andreas Gullberg Larsen, nanoFramework project contributors</authors>
7+
<authors>Andreas Gullberg Larsen,nanoFramework project contributors</authors>
88
<owners>UnitsNet</owners>
99
<license type="expression">MIT</license>
1010
<projectUrl>https://github.com/angularsen/UnitsNet</projectUrl>
1111
<requireLicenseAcceptance>false</requireLicenseAcceptance>
12-
<description>Adds ElectricPotential units for Units.NET on .NET nanoFramework.&#10; For .NET or .NET Core, use UnitsNet instead.</description>
12+
<description>Adds ElectricPotential units for Units.NET on .NET nanoFramework. For .NET or .NET Core, use UnitsNet instead.</description>
1313
<iconUrl>https://raw.githubusercontent.com/angularsen/UnitsNet/ce85185429be345d77eb2ce09c99d59cc9ab8aed/Docs/Images/logo-32.png</iconUrl>
1414
<releaseNotes>
1515
</releaseNotes>
@@ -21,6 +21,6 @@
2121
</dependencies>
2222
</metadata>
2323
<files>
24-
<file src="..\..\..\Artifacts\ElectricPotential\UnitsNet.*" target="lib" />
24+
<file src="..\..\..\Artifacts\UnitsNet.NanoFramework\ElectricPotential\UnitsNet.*" target="lib" />
2525
</files>
2626
</package>

UnitsNet.NanoFramework/GeneratedCode/ElectricPotentialDc/UnitsNet.NanoFramework.ElectricPotentialDc.nuspec

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
33
<metadata>
44
<id>UnitsNet.nanoFramework.ElectricPotentialDc</id>
5-
<version>4.89.0</version>
5+
<version>4.90.0</version>
66
<title>Units.NET ElectricPotentialDc - nanoFramework</title>
7-
<authors>Andreas Gullberg Larsen, nanoFramework project contributors</authors>
7+
<authors>Andreas Gullberg Larsen,nanoFramework project contributors</authors>
88
<owners>UnitsNet</owners>
99
<license type="expression">MIT</license>
1010
<projectUrl>https://github.com/angularsen/UnitsNet</projectUrl>
1111
<requireLicenseAcceptance>false</requireLicenseAcceptance>
12-
<description>Adds ElectricPotentialDc units for Units.NET on .NET nanoFramework.&#10; For .NET or .NET Core, use UnitsNet instead.</description>
12+
<description>Adds ElectricPotentialDc units for Units.NET on .NET nanoFramework. For .NET or .NET Core, use UnitsNet instead.</description>
1313
<iconUrl>https://raw.githubusercontent.com/angularsen/UnitsNet/ce85185429be345d77eb2ce09c99d59cc9ab8aed/Docs/Images/logo-32.png</iconUrl>
1414
<releaseNotes>
1515
</releaseNotes>
@@ -21,6 +21,6 @@
2121
</dependencies>
2222
</metadata>
2323
<files>
24-
<file src="..\..\..\Artifacts\ElectricPotentialDc\UnitsNet.*" target="lib" />
24+
<file src="..\..\..\Artifacts\UnitsNet.NanoFramework\ElectricPotentialDc\UnitsNet.*" target="lib" />
2525
</files>
2626
</package>

UnitsNet.NanoFramework/GeneratedCode/ElectricResistance/UnitsNet.NanoFramework.ElectricResistance.nuspec

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
33
<metadata>
44
<id>UnitsNet.nanoFramework.ElectricResistance</id>
5-
<version>4.89.0</version>
5+
<version>4.90.0</version>
66
<title>Units.NET ElectricResistance - nanoFramework</title>
7-
<authors>Andreas Gullberg Larsen, nanoFramework project contributors</authors>
7+
<authors>Andreas Gullberg Larsen,nanoFramework project contributors</authors>
88
<owners>UnitsNet</owners>
99
<license type="expression">MIT</license>
1010
<projectUrl>https://github.com/angularsen/UnitsNet</projectUrl>
1111
<requireLicenseAcceptance>false</requireLicenseAcceptance>
12-
<description>Adds ElectricResistance units for Units.NET on .NET nanoFramework.&#10; For .NET or .NET Core, use UnitsNet instead.</description>
12+
<description>Adds ElectricResistance units for Units.NET on .NET nanoFramework. For .NET or .NET Core, use UnitsNet instead.</description>
1313
<iconUrl>https://raw.githubusercontent.com/angularsen/UnitsNet/ce85185429be345d77eb2ce09c99d59cc9ab8aed/Docs/Images/logo-32.png</iconUrl>
1414
<releaseNotes>
1515
</releaseNotes>
@@ -21,6 +21,6 @@
2121
</dependencies>
2222
</metadata>
2323
<files>
24-
<file src="..\..\..\Artifacts\ElectricResistance\UnitsNet.*" target="lib" />
24+
<file src="..\..\..\Artifacts\UnitsNet.NanoFramework\ElectricResistance\UnitsNet.*" target="lib" />
2525
</files>
2626
</package>

UnitsNet.NanoFramework/GeneratedCode/Frequency/UnitsNet.NanoFramework.Frequency.nuspec

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
33
<metadata>
44
<id>UnitsNet.nanoFramework.Frequency</id>
5-
<version>4.89.0</version>
5+
<version>4.90.0</version>
66
<title>Units.NET Frequency - nanoFramework</title>
7-
<authors>Andreas Gullberg Larsen, nanoFramework project contributors</authors>
7+
<authors>Andreas Gullberg Larsen,nanoFramework project contributors</authors>
88
<owners>UnitsNet</owners>
99
<license type="expression">MIT</license>
1010
<projectUrl>https://github.com/angularsen/UnitsNet</projectUrl>
1111
<requireLicenseAcceptance>false</requireLicenseAcceptance>
12-
<description>Adds Frequency units for Units.NET on .NET nanoFramework.&#10; For .NET or .NET Core, use UnitsNet instead.</description>
12+
<description>Adds Frequency units for Units.NET on .NET nanoFramework. For .NET or .NET Core, use UnitsNet instead.</description>
1313
<iconUrl>https://raw.githubusercontent.com/angularsen/UnitsNet/ce85185429be345d77eb2ce09c99d59cc9ab8aed/Docs/Images/logo-32.png</iconUrl>
1414
<releaseNotes>
1515
</releaseNotes>
@@ -21,6 +21,6 @@
2121
</dependencies>
2222
</metadata>
2323
<files>
24-
<file src="..\..\..\Artifacts\Frequency\UnitsNet.*" target="lib" />
24+
<file src="..\..\..\Artifacts\UnitsNet.NanoFramework\Frequency\UnitsNet.*" target="lib" />
2525
</files>
2626
</package>

UnitsNet.NanoFramework/GeneratedCode/Illuminance/UnitsNet.NanoFramework.Illuminance.nuspec

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
33
<metadata>
44
<id>UnitsNet.nanoFramework.Illuminance</id>
5-
<version>4.89.0</version>
5+
<version>4.90.0</version>
66
<title>Units.NET Illuminance - nanoFramework</title>
7-
<authors>Andreas Gullberg Larsen, nanoFramework project contributors</authors>
7+
<authors>Andreas Gullberg Larsen,nanoFramework project contributors</authors>
88
<owners>UnitsNet</owners>
99
<license type="expression">MIT</license>
1010
<projectUrl>https://github.com/angularsen/UnitsNet</projectUrl>
1111
<requireLicenseAcceptance>false</requireLicenseAcceptance>
12-
<description>Adds Illuminance units for Units.NET on .NET nanoFramework.&#10; For .NET or .NET Core, use UnitsNet instead.</description>
12+
<description>Adds Illuminance units for Units.NET on .NET nanoFramework. For .NET or .NET Core, use UnitsNet instead.</description>
1313
<iconUrl>https://raw.githubusercontent.com/angularsen/UnitsNet/ce85185429be345d77eb2ce09c99d59cc9ab8aed/Docs/Images/logo-32.png</iconUrl>
1414
<releaseNotes>
1515
</releaseNotes>
@@ -21,6 +21,6 @@
2121
</dependencies>
2222
</metadata>
2323
<files>
24-
<file src="..\..\..\Artifacts\Illuminance\UnitsNet.*" target="lib" />
24+
<file src="..\..\..\Artifacts\UnitsNet.NanoFramework\Illuminance\UnitsNet.*" target="lib" />
2525
</files>
2626
</package>

UnitsNet.NanoFramework/GeneratedCode/Length/UnitsNet.NanoFramework.Length.nuspec

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
33
<metadata>
44
<id>UnitsNet.nanoFramework.Length</id>
5-
<version>4.89.0</version>
5+
<version>4.90.0</version>
66
<title>Units.NET Length - nanoFramework</title>
7-
<authors>Andreas Gullberg Larsen, nanoFramework project contributors</authors>
7+
<authors>Andreas Gullberg Larsen,nanoFramework project contributors</authors>
88
<owners>UnitsNet</owners>
99
<license type="expression">MIT</license>
1010
<projectUrl>https://github.com/angularsen/UnitsNet</projectUrl>
1111
<requireLicenseAcceptance>false</requireLicenseAcceptance>
12-
<description>Adds Length units for Units.NET on .NET nanoFramework.&#10; For .NET or .NET Core, use UnitsNet instead.</description>
12+
<description>Adds Length units for Units.NET on .NET nanoFramework. For .NET or .NET Core, use UnitsNet instead.</description>
1313
<iconUrl>https://raw.githubusercontent.com/angularsen/UnitsNet/ce85185429be345d77eb2ce09c99d59cc9ab8aed/Docs/Images/logo-32.png</iconUrl>
1414
<releaseNotes>
1515
</releaseNotes>
@@ -21,6 +21,6 @@
2121
</dependencies>
2222
</metadata>
2323
<files>
24-
<file src="..\..\..\Artifacts\Length\UnitsNet.*" target="lib" />
24+
<file src="..\..\..\Artifacts\UnitsNet.NanoFramework\Length\UnitsNet.*" target="lib" />
2525
</files>
2626
</package>

UnitsNet.NanoFramework/GeneratedCode/Pressure/UnitsNet.NanoFramework.Pressure.nuspec

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
33
<metadata>
44
<id>UnitsNet.nanoFramework.Pressure</id>
5-
<version>4.89.0</version>
5+
<version>4.90.0</version>
66
<title>Units.NET Pressure - nanoFramework</title>
7-
<authors>Andreas Gullberg Larsen, nanoFramework project contributors</authors>
7+
<authors>Andreas Gullberg Larsen,nanoFramework project contributors</authors>
88
<owners>UnitsNet</owners>
99
<license type="expression">MIT</license>
1010
<projectUrl>https://github.com/angularsen/UnitsNet</projectUrl>
1111
<requireLicenseAcceptance>false</requireLicenseAcceptance>
12-
<description>Adds Pressure units for Units.NET on .NET nanoFramework.&#10; For .NET or .NET Core, use UnitsNet instead.</description>
12+
<description>Adds Pressure units for Units.NET on .NET nanoFramework. For .NET or .NET Core, use UnitsNet instead.</description>
1313
<iconUrl>https://raw.githubusercontent.com/angularsen/UnitsNet/ce85185429be345d77eb2ce09c99d59cc9ab8aed/Docs/Images/logo-32.png</iconUrl>
1414
<releaseNotes>
1515
</releaseNotes>
@@ -21,6 +21,6 @@
2121
</dependencies>
2222
</metadata>
2323
<files>
24-
<file src="..\..\..\Artifacts\Pressure\UnitsNet.*" target="lib" />
24+
<file src="..\..\..\Artifacts\UnitsNet.NanoFramework\Pressure\UnitsNet.*" target="lib" />
2525
</files>
2626
</package>

UnitsNet.NanoFramework/GeneratedCode/Ratio/UnitsNet.NanoFramework.Ratio.nuspec

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
33
<metadata>
44
<id>UnitsNet.nanoFramework.Ratio</id>
5-
<version>4.89.0</version>
5+
<version>4.90.0</version>
66
<title>Units.NET Ratio - nanoFramework</title>
7-
<authors>Andreas Gullberg Larsen, nanoFramework project contributors</authors>
7+
<authors>Andreas Gullberg Larsen,nanoFramework project contributors</authors>
88
<owners>UnitsNet</owners>
99
<license type="expression">MIT</license>
1010
<projectUrl>https://github.com/angularsen/UnitsNet</projectUrl>
1111
<requireLicenseAcceptance>false</requireLicenseAcceptance>
12-
<description>Adds Ratio units for Units.NET on .NET nanoFramework.&#10; For .NET or .NET Core, use UnitsNet instead.</description>
12+
<description>Adds Ratio units for Units.NET on .NET nanoFramework. For .NET or .NET Core, use UnitsNet instead.</description>
1313
<iconUrl>https://raw.githubusercontent.com/angularsen/UnitsNet/ce85185429be345d77eb2ce09c99d59cc9ab8aed/Docs/Images/logo-32.png</iconUrl>
1414
<releaseNotes>
1515
</releaseNotes>
@@ -21,6 +21,6 @@
2121
</dependencies>
2222
</metadata>
2323
<files>
24-
<file src="..\..\..\Artifacts\Ratio\UnitsNet.*" target="lib" />
24+
<file src="..\..\..\Artifacts\UnitsNet.NanoFramework\Ratio\UnitsNet.*" target="lib" />
2525
</files>
2626
</package>

UnitsNet.NanoFramework/GeneratedCode/RelativeHumidity/UnitsNet.NanoFramework.RelativeHumidity.nuspec

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
33
<metadata>
44
<id>UnitsNet.nanoFramework.RelativeHumidity</id>
5-
<version>4.89.0</version>
5+
<version>4.90.0</version>
66
<title>Units.NET RelativeHumidity - nanoFramework</title>
7-
<authors>Andreas Gullberg Larsen, nanoFramework project contributors</authors>
7+
<authors>Andreas Gullberg Larsen,nanoFramework project contributors</authors>
88
<owners>UnitsNet</owners>
99
<license type="expression">MIT</license>
1010
<projectUrl>https://github.com/angularsen/UnitsNet</projectUrl>
1111
<requireLicenseAcceptance>false</requireLicenseAcceptance>
12-
<description>Adds RelativeHumidity units for Units.NET on .NET nanoFramework.&#10; For .NET or .NET Core, use UnitsNet instead.</description>
12+
<description>Adds RelativeHumidity units for Units.NET on .NET nanoFramework. For .NET or .NET Core, use UnitsNet instead.</description>
1313
<iconUrl>https://raw.githubusercontent.com/angularsen/UnitsNet/ce85185429be345d77eb2ce09c99d59cc9ab8aed/Docs/Images/logo-32.png</iconUrl>
1414
<releaseNotes>
1515
</releaseNotes>
@@ -21,6 +21,6 @@
2121
</dependencies>
2222
</metadata>
2323
<files>
24-
<file src="..\..\..\Artifacts\RelativeHumidity\UnitsNet.*" target="lib" />
24+
<file src="..\..\..\Artifacts\UnitsNet.NanoFramework\RelativeHumidity\UnitsNet.*" target="lib" />
2525
</files>
2626
</package>

UnitsNet.NanoFramework/GeneratedCode/Temperature/UnitsNet.NanoFramework.Temperature.nuspec

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
33
<metadata>
44
<id>UnitsNet.nanoFramework.Temperature</id>
5-
<version>4.89.0</version>
5+
<version>4.90.0</version>
66
<title>Units.NET Temperature - nanoFramework</title>
7-
<authors>Andreas Gullberg Larsen, nanoFramework project contributors</authors>
7+
<authors>Andreas Gullberg Larsen,nanoFramework project contributors</authors>
88
<owners>UnitsNet</owners>
99
<license type="expression">MIT</license>
1010
<projectUrl>https://github.com/angularsen/UnitsNet</projectUrl>
1111
<requireLicenseAcceptance>false</requireLicenseAcceptance>
12-
<description>Adds temperature units for Units.NET on .NET nanoFramework.&#10; For .NET or .NET Core, use UnitsNet instead.</description>
12+
<description>Adds temperature units for Units.NET on .NET nanoFramework. For .NET or .NET Core, use UnitsNet instead.</description>
1313
<iconUrl>https://raw.githubusercontent.com/angularsen/UnitsNet/ce85185429be345d77eb2ce09c99d59cc9ab8aed/Docs/Images/logo-32.png</iconUrl>
1414
<releaseNotes>
1515
</releaseNotes>
@@ -21,6 +21,6 @@
2121
</dependencies>
2222
</metadata>
2323
<files>
24-
<file src="..\..\..\Artifacts\Temperature\UnitsNet.*" target="lib" />
24+
<file src="..\..\..\Artifacts\UnitsNet.NanoFramework\Temperature\UnitsNet.*" target="lib" />
2525
</files>
2626
</package>

0 commit comments

Comments
 (0)