Skip to content

Commit e6da367

Browse files
committed
Rename solution, scripts and NuGet config files
- Rename solution file to `CommunityToolkit.Windows.sln` - The name starting with `Windows` doesn't stand-out in the file list because of the sort order of the `W` char. - Spaces are a main issue when doing automation (_like using `*.sln` in build scripts and in URLs it adds `%20`_). - Fix casing for NuGet config files. - Rename Smoke Tests PowerShell scripts.
1 parent e90b1c2 commit e6da367

File tree

8 files changed

+16
-15
lines changed

8 files changed

+16
-15
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Microsoft Visual Studio Solution File, Format Version 12.00
22
# Visual Studio Version 17
3-
VisualStudioVersion = 17.0.31903.59
3+
VisualStudioVersion = 17.0.31815.197
44
MinimumVisualStudioVersion = 10.0.40219.1
55
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Samples", "Samples", "{9AD30620-667D-433C-9961-8D885EE7B762}"
66
EndProject
File renamed without changes.

SmokeTests/SmokeTest.sln

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SmokeTest", "SmokeTest.cspr
77
EndProject
88
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Configuration", "Configuration", "{86F3F991-6DDA-442D-A610-9309D6559522}"
99
ProjectSection(SolutionItems) = preProject
10-
nuget.config = nuget.config
11-
SmokeTestAnalysis.ps1 = SmokeTestAnalysis.ps1
10+
NuGet.config = NuGet.config
11+
SmokeTest_AnalyzePackages.ps1 = SmokeTest_AnalyzePackages.ps1
12+
SmokeTest_DownloadPackages.ps1 = SmokeTest_DownloadPackages.ps1
1213
SmokeTests.proj = SmokeTests.proj
1314
EndProjectSection
1415
EndProject
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ Write-Host "Running Smoke Test Package Analyis"
55
Write-Host "----------------------------------"
66

77
#####
8-
# This script analyzes the final packaged outputs of
8+
# This script analyzes the final packaged outputs of
99
# There are two things analyzed:
10-
# - The MSIX UPLOAD package has the raw dependencies before .NET Native compilation,
10+
# - The MSIX UPLOAD package has the raw dependencies before .NET Native compilation,
1111
# this can help determine the maximum impact of the package if everything were to be included.
1212
# - The MSIX BUNDLE package is the final .NET Native compiled app,
1313
# this can be used to help determine the minimal impact of the package if only a few things are used.
@@ -96,7 +96,7 @@ function Expand-MsixBundlePackage {
9696
}
9797

9898
if (Test-Path $PackagePath)
99-
{
99+
{
100100
Push-Location $PackagePath
101101

102102
Write-Host "Extracting Baseline..."
@@ -133,7 +133,7 @@ if (Test-Path $PackagePath)
133133

134134
#$ProgressPreference="SilentlyContinue"
135135
Expand-MsixUploadPackage $Package.Name -Destination $TempFolder
136-
136+
137137
# Also expand the final bundle based on the namespace name within the package.
138138
Expand-MsixBundlePackage ($DirPattern -f $PackageShortName) -Destination $TempFolder2
139139
#$ProgressPreference="Continue"
@@ -184,7 +184,7 @@ if (Test-Path $PackagePath)
184184
{
185185
Write-Host (" Lib (self): {0} = {1:n0}" -f $file.Name, $file.Length) -ForegroundColor White
186186
}
187-
else
187+
else
188188
{
189189
Write-Host (" Additional: {0} = {1:n0}" -f $file.Name, $file.Length) -ForegroundColor Yellow
190190
}
@@ -233,7 +233,7 @@ if (Test-Path $PackagePath)
233233
{
234234
Write-Host (" Lib (self): {0} = {1:n0}" -f $file.Name, $file.Length) -ForegroundColor White
235235
}
236-
else
236+
else
237237
{
238238
Write-Host (" Additional: {0} = {1:n0}" -f $file.Name, $file.Length) -ForegroundColor Yellow
239239
}
@@ -251,7 +251,7 @@ if (Test-Path $PackagePath)
251251

252252
Pop-Location
253253
}
254-
else
254+
else
255255
{
256-
Write-Error "Path $PackagePath not found for analysis!"
256+
Write-Error "Path $PackagePath not found for analysis!"
257257
}

SmokeTests/SmokeTestDownloadNuGetVersion.ps1 renamed to SmokeTests/SmokeTest_DownloadPackages.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#####
2-
# This script downloads the specified version of NuGet packages for
2+
# This script downloads the specified version of NuGet packages for
33
# the required smoke tests from NuGet.
44
# This is useful for performing current analysis on prior builds of the Toolkit.
55
#

azure-pipelines.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
displayName: Use NuGet 5.11.x
3232
inputs:
3333
versionSpec: 5.11.x
34-
34+
3535
- task: DotNetCoreCLI@2
3636
inputs:
3737
command: custom
@@ -139,5 +139,5 @@ jobs:
139139
artifactType: container
140140
artifactName: SmokeTestBundles
141141

142-
- powershell: .\SmokeTests\SmokeTestAnalysis.ps1
142+
- powershell: .\SmokeTests\SmokeTest_AnalyzePackages.ps1
143143
displayName: Analyze Package Sizes

build/build.cake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ var inheritDocVersion = "2.5.2";
3030

3131
var baseDir = MakeAbsolute(Directory("../")).ToString();
3232
var buildDir = baseDir + "/build";
33-
var Solution = baseDir + "/Windows Community Toolkit.sln";
33+
var Solution = baseDir + "/CommunityToolkit.Windows.sln";
3434
var toolsDir = buildDir + "/tools";
3535

3636
var binDir = baseDir + "/bin";

0 commit comments

Comments
 (0)