Skip to content

Commit fca1685

Browse files
ZeegaanNikolaj Geisleelit0451
authored
v9: 11419 Remove Azure gallery from build.ps1 (#11540)
* Fix build.ps1 & change order of itemgroup in csproj * Fix merge conflict * Update package version Co-authored-by: Nikolaj Geisle <[email protected]> Co-authored-by: Elitsa Marinovska <[email protected]>
1 parent 16b0e85 commit fca1685

File tree

2 files changed

+7
-17
lines changed

2 files changed

+7
-17
lines changed

build/build.ps1

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -449,12 +449,6 @@
449449
if ($this.OnError()) { return }
450450
})
451451

452-
$ubuild.DefineMethod("PrepareAzureGallery",
453-
{
454-
Write-Host "Prepare Azure Gallery"
455-
$this.CopyFile("$($this.SolutionRoot)\build\Azure\azuregalleryrelease.ps1", $this.BuildOutput)
456-
})
457-
458452
$ubuild.DefineMethod("PrepareCSharpDocs",
459453
{
460454
Write-Host "Prepare C# Documentation"
@@ -528,8 +522,6 @@
528522
if ($this.OnError()) { return }
529523
$this.PackageNuGet()
530524
if ($this.OnError()) { return }
531-
$this.PrepareAzureGallery()
532-
if ($this.OnError()) { return }
533525
$this.PostPackageHook()
534526
if ($this.OnError()) { return }
535527

build/templates/UmbracoProject/UmbracoProject.csproj

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,23 @@
1-
<Project Sdk="Microsoft.NET.Sdk.Web">
1+
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
44
<TargetFramework>net5.0</TargetFramework>
55
<RootNamespace Condition="'$(name)' != '$(name{-VALUE-FORMS-}safe_namespace)'">Umbraco.Cms.Web.UI</RootNamespace>
66
</PropertyGroup>
77

8-
98
<ItemGroup>
109
<PackageReference Include="Umbraco.Cms" Version="UMBRACO_VERSION_FROM_TEMPLATE" />
1110
<PackageReference Include="Umbraco.Cms.SqlCe" Version="UMBRACO_VERSION_FROM_TEMPLATE" Condition="'$(UseSqlCe)' == 'true'" />
1211
<PackageReference Include="Umbraco.SqlServerCE" Version="4.0.0.1" Condition="'$(UseSqlCe)' == 'true'" />
1312
</ItemGroup>
1413

15-
<!-- Force windows to use ICU. Otherwise Windows 10 2019H1+ will do it, but older windows 10 and most if not all winodws servers will run NLS -->
16-
<ItemGroup Condition="'$(OS)' == 'Windows_NT'">
17-
<PackageReference Include="Microsoft.ICU.ICU4C.Runtime" Version="68.2.0.9" />
18-
<RuntimeHostConfigurationOption Include="System.Globalization.AppLocalIcu" Value="68.2" />
19-
</ItemGroup>
20-
14+
<!-- Force windows to use ICU. Otherwise Windows 10 2019H1+ will do it, but older windows 10 and most if not all winodws servers will run NLS -->
15+
<ItemGroup Condition="'$(OS)' == 'Windows_NT'">
16+
<PackageReference Include="Microsoft.ICU.ICU4C.Runtime" Version="68.2.0.9" />
17+
<RuntimeHostConfigurationOption Include="System.Globalization.AppLocalIcu" Value="68.2" />
18+
</ItemGroup>
2119

22-
<Import Project="..\PackageTestSiteName\build\PackageTestSiteName.targets" Condition="'$(PackageTestSiteName)' != ''" />
20+
<Import Project="..\PackageTestSiteName\build\PackageTestSiteName.targets" Condition="'$(PackageTestSiteName)' != ''" />
2321

2422
<ItemGroup Condition="'$(PackageTestSiteName)' != ''">
2523
<ProjectReference Include="..\PackageTestSiteName\PackageTestSiteName.csproj" />

0 commit comments

Comments
 (0)