Skip to content

Commit 1decd44

Browse files
authored
Merge branch 'main' into opacitymaskview-experiment
2 parents 5adf13a + 54ff01c commit 1decd44

File tree

100 files changed

+4583
-83
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+4583
-83
lines changed

.config/dotnet-tools.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"isRoot": true,
44
"tools": {
55
"uno.check": {
6-
"version": "1.18.1",
6+
"version": "1.20.2",
77
"commands": [
88
"uno-check"
99
]
@@ -15,7 +15,7 @@
1515
]
1616
},
1717
"microsoft.visualstudio.slngen.tool": {
18-
"version": "9.5.4",
18+
"version": "11.2.3",
1919
"commands": [
2020
"slngen"
2121
]

.devcontainer/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.208.0/containers/dotnet/.devcontainer/base.Dockerfile
22

3-
# [Choice] .NET version: 6.0, 5.0, 3.1, 6.0-bullseye, 5.0-bullseye, 3.1-bullseye, 6.0-focal, 5.0-focal, 3.1-focal
4-
ARG VARIANT="6.0-bullseye-slim"
3+
# [Choice] .NET version: 6.0, 5.0, 3.1, 6.0-bullseye, 5.0-bullseye, 3.1-bullseye, 6.0-focal, 5.0-focal, 3.1-focal, etc
4+
ARG VARIANT="8.0-bullseye-slim"
55
FROM mcr.microsoft.com/vscode/devcontainers/dotnet:0-${VARIANT}
66

77
# [Choice] Node.js version: none, lts/*, 16, 14, 12, 10

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"settings": {},
1717
// Add the IDs of extensions you want installed when the container is created.
1818
"extensions": [
19-
"ms-dotnettools.csharp",
19+
"ms-dotnettools.csdevkit",
2020
"unoplatform.vscode",
2121
"ms-vsliveshare.vsliveshare",
2222
"ms-vscode.powershell"

.github/workflows/build.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717
merge_group:
1818

1919
env:
20-
DOTNET_VERSION: ${{ '7.0.402' }}
20+
DOTNET_VERSION: ${{ '8.0.201' }}
2121
ENABLE_DIAGNOSTICS: false
2222
#COREHOST_TRACE: 1
2323
MSBUILD_VERBOSITY: normal
@@ -106,7 +106,6 @@ jobs:
106106
- name: Restore dotnet tools
107107
run: dotnet tool restore
108108

109-
# Pinning Manifest for 1.18 version of Uno.Check at the moment to unblock build, see https://github.com/CommunityToolkit/Windows/pull/320
110109
- name: Run Uno Check to Install Dependencies
111110
run: >
112111
dotnet tool run uno-check
@@ -117,10 +116,11 @@ jobs:
117116
--skip androidemulator
118117
--skip vswinworkloads
119118
--verbose
120-
--manifest https://raw.githubusercontent.com/unoplatform/uno.check/1660eba219684491362704c75153b40ce6ef7a35/manifests/uno.ui.manifest.json
121119
122120
- name: Add msbuild to PATH
123-
uses: microsoft/[email protected]
121+
uses: microsoft/setup-msbuild@v2
122+
with:
123+
vs-version: '[17.9,)'
124124

125125
- name: Enable ${{ env.TARGET_PLATFORMS }} TargetFrameworks
126126
working-directory: ./${{ env.MULTI_TARGET_DIRECTORY }}
@@ -158,6 +158,10 @@ jobs:
158158
working-directory: ./tooling/Scripts/
159159
run: ./PackEachExperiment.ps1 -date ${{ env.VERSION_DATE }}${{ env.VERSION_PROPERTY != '' && format(' -postfix {0}', env.VERSION_PROPERTY) || '' }}
160160

161+
- name: Validate package names
162+
if: ${{ env.VERSION_PROPERTY != '' }}
163+
run: powershell -version 5.1 -command "Get-ChildItem -Path '**/*.nupkg' | ForEach-Object { if (`$_.Name -notmatch '${{ env.VERSION_PROPERTY }}') { throw 'Nupkg name is missing trailing VERSION_PROPERTY' + `$_.Name } }" -ErrorAction Stop
164+
161165
# Push Pull Request Packages to our DevOps Artifacts Feed (see nuget.config)
162166
- name: Push PR packages (if not fork)
163167
if: ${{ env.IS_PR == 'true' && github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]' }}

.vscode/extensions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"recommendations": [
3-
"fernandoescolar.vscode-solution-explorer",
3+
"ms-dotnettools.csdevkit",
44
]
55
}

.vscode/settings.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"omnisharp.defaultLaunchSolution": "CommunityToolkit.AllComponents.sln",
32
"omnisharp.disableMSBuildDiagnosticWarning": true,
43
"omnisharp.enableRoslynAnalyzers": true,
54
"omnisharp.useGlobalMono": "never",
@@ -8,5 +7,6 @@
87
"csharp.suppressDotnetRestoreNotification": true,
98
"csharp.semanticHighlighting.enabled": true,
109
"omnisharp.enableMsBuildLoadProjectsOnDemand": true,
11-
"dotnet.completion.showCompletionItemsFromUnimportedNamespaces": true
10+
"dotnet.completion.showCompletionItemsFromUnimportedNamespaces": true,
11+
"dotnet.defaultSolution": "CommunityToolkit.AllComponents.sln"
1212
}

components/.vsconfig

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

components/AppServices/src/CommunityToolkit.AppServices.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<Project Sdk="MSBuild.Sdk.Extras/3.0.23">
1+
<Project>
2+
<Import Project="$([MSBuild]::GetPathOfFileAbove(Directory.Build.props))" Condition="Exists('$([MSBuild]::GetPathOfFileAbove(Directory.Build.props))')" />
23
<PropertyGroup>
34
<ToolkitComponentName>AppServices</ToolkitComponentName>
45
<Description>This package contains AppServices, to easily communicate between UWP apps and Win32 extensions.</Description>

components/CanvasLayout/samples/CanvasLayout.Samples.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<Project Sdk="MSBuild.Sdk.Extras/3.0.23">
1+
<Project>
2+
<Import Project="$([MSBuild]::GetPathOfFileAbove(Directory.Build.props))" Condition="Exists('$([MSBuild]::GetPathOfFileAbove(Directory.Build.props))')" />
23
<PropertyGroup>
34
<ToolkitComponentName>CanvasLayout</ToolkitComponentName>
45
</PropertyGroup>

components/CanvasLayout/src/CommunityToolkit.Labs.WinUI.CanvasLayout.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<Project Sdk="MSBuild.Sdk.Extras/3.0.23">
1+
<Project>
2+
<Import Project="$([MSBuild]::GetPathOfFileAbove(Directory.Build.props))" Condition="Exists('$([MSBuild]::GetPathOfFileAbove(Directory.Build.props))')" />
23
<PropertyGroup>
34
<ToolkitComponentName>CanvasLayout</ToolkitComponentName>
45
<Description>This package contains a CanvasLayout Layout for ItemsRepeater.</Description>

0 commit comments

Comments
 (0)