Skip to content

Commit 1430a35

Browse files
Use CPM and global package references
1 parent e222dab commit 1430a35

File tree

13 files changed

+755
-890
lines changed

13 files changed

+755
-890
lines changed

Directory.Build.props

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project>
3-
<ItemGroup>
4-
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="all" />
5-
<PackageReference Include="Nerdbank.GitVersioning" Version="3.4.244" PrivateAssets="all" />
6-
</ItemGroup>
3+
<PropertyGroup>
4+
<Title>Umbraco UI Examples</Title>
5+
<Description>A collection of backoffice elements designed to help Umbraco developers extend the backoffice.</Description>
6+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
7+
<PackageTags>umbraco ui examples</PackageTags>
8+
<RepositoryUrl>https://github.com/umbraco/UI-Examples</RepositoryUrl>
9+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
10+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
11+
<IncludeSymbols>true</IncludeSymbols>
12+
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
13+
<WarnOnPackingNonPackableProject>false</WarnOnPackingNonPackableProject>
14+
</PropertyGroup>
715
<PropertyGroup>
816
<DisableImplicitNuGetFallbackFolder>true</DisableImplicitNuGetFallbackFolder>
917
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>

Directory.Packages.props

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project>
3+
<PropertyGroup>
4+
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
5+
</PropertyGroup>
6+
<!-- Global packages (private, build-time packages for all projects) -->
7+
<ItemGroup>
8+
<GlobalPackageReference Include="Nerdbank.GitVersioning" Version="3.7.115" />
9+
</ItemGroup>
10+
</Project>

UI Examples.sln

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
1515
.gitignore = .gitignore
1616
CONTRIBUTING.md = CONTRIBUTING.md
1717
Directory.Build.props = Directory.Build.props
18+
Directory.Packages.props = Directory.Packages.props
1819
global.json = global.json
1920
nuget.config = nuget.config
2021
README.md = README.md

examples/Umbraco13.Website/Umbraco13.Website.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
</PropertyGroup>
55

66
<ItemGroup>
7-
<PackageReference Include="Umbraco.Cms" Version="13.5.2" />
7+
<PackageReference Include="Umbraco.Cms" VersionOverride="13.6.0" />
88
</ItemGroup>
99

1010
<Import Project="..\..\src\Our.Umbraco.UiExamples.v13\build\Our.Umbraco.UiExamples.v13.targets" />
@@ -14,7 +14,7 @@
1414

1515
<!-- Force Windows to use ICU. Otherwise Windows 10 2019H1+ will do it, but older Windows 10 and most if not all Windows Server OS's will run NLS -->
1616
<ItemGroup Condition="'$(OS)' == 'Windows_NT'">
17-
<PackageReference Include="Microsoft.ICU.ICU4C.Runtime" Version="68.2.0.9" />
17+
<PackageReference Include="Microsoft.ICU.ICU4C.Runtime" VersionOverride="68.2.0.9" />
1818
<RuntimeHostConfigurationOption Include="System.Globalization.AppLocalIcu" Value="68.2" />
1919
</ItemGroup>
2020

0 commit comments

Comments
 (0)