Skip to content

Commit 3bd4879

Browse files
authored
Fix nanoFramework assembly file version (#950)
1 parent 2582139 commit 3bd4879

File tree

4 files changed

+4
-33
lines changed

4 files changed

+4
-33
lines changed

Build/set-version-UnitsNet.ps1

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ $paramSet = $PsCmdlet.ParameterSetName
5454
$projFile = "$root\UnitsNet\UnitsNet.csproj"
5555
$numberExtensionsProjFile = "$root\UnitsNet.NumberExtensions\UnitsNet.NumberExtensions.csproj"
5656
$nanoFrameworkNuspecGeneratorFile = "$root\CodeGen\Generators\NanoFrameworkGen\NuspecGenerator.cs"
57+
$nanoFrameworkAssemblyInfoFile = "$root\UnitsNet.NanoFramework\GeneratedCode\Properties\AssemblyInfo.cs"
5758
$winrtAssemblyInfoFile = "$root\UnitsNet.WindowsRuntimeComponent\Properties\AssemblyInfo.cs"
5859
$winrtNuspecFile = "$root\UnitsNet.WindowsRuntimeComponent\UnitsNet.WindowsRuntimeComponent.nuspec"
5960

@@ -70,6 +71,9 @@ Set-ProjectVersion $numberExtensionsProjFile $newVersion
7071
# Update AssemblyInfo.cs files
7172
Set-AssemblyInfoVersion $winrtAssemblyInfoFile $newVersion
7273

74+
# Update AssemblyInfo.cs file for .NET nanoFramework
75+
Set-AssemblyInfoVersion $nanoFrameworkAssemblyInfoFile $newVersion
76+
7377
# Update .nuspec files
7478
Set-NuspecVersion $winrtNuspecFile $newVersion
7579

UnitsNet.NanoFramework/GeneratedCode/Frequency/app.config

Lines changed: 0 additions & 11 deletions
This file was deleted.

UnitsNet.NanoFramework/GeneratedCode/Pressure/app.config

Lines changed: 0 additions & 11 deletions
This file was deleted.

UnitsNet.NanoFramework/GeneratedCode/WarpingMomentOfInertia/app.config

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)