Skip to content

Commit 53a7635

Browse files
committed
Use correct casing for certain terminologies
Change Nuget -> NuGet
1 parent 7586eeb commit 53a7635

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

Microsoft.Toolkit.Uwp.Notifications/Microsoft.Toolkit.Uwp.Notifications.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
<DebugType>Full</DebugType>
2323
<TargetPlatformIdentifier>UAP</TargetPlatformIdentifier>
2424
<!-- Workaround for issue NuGet/Home#8388; change behavior during NuGet restore time vs. final build to avoid NuGet conflict in VS 2019 -->
25-
<NugetTargetMoniker Condition="'$(DesignTimeBuild)' == 'true'">native</NugetTargetMoniker>
26-
<NugetTargetMoniker Condition="'$(DesignTimeBuild)' != 'true'">UAP,Version=v10.0</NugetTargetMoniker>
25+
<NuGetTargetMoniker Condition="'$(DesignTimeBuild)' == 'true'">native</NuGetTargetMoniker>
26+
<NuGetTargetMoniker Condition="'$(DesignTimeBuild)' != 'true'">UAP,Version=v10.0</NuGetTargetMoniker>
2727
<PackageTargetFallback>uap10.0</PackageTargetFallback>
2828
<TargetPlatformVersion>10.0.19041.0</TargetPlatformVersion>
2929
<DefaultTargetPlatformMinVersion>10240</DefaultTargetPlatformMinVersion>

SmokeTests/SmokeTest.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,10 @@
123123
<Import Project="$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets" />
124124
<Target Name="BeforeBuild">
125125
<ItemGroup Condition="$(CurrentProject) != 'UWPBaseline' and '$(CurrentProject)' != 'UWPBaselineWinUI'">
126-
<ToolkitNugets Include="../bin/nupkg/$(CurrentProject).*.nupkg"/>
127-
<ToolkitNuget Condition="$([System.Text.RegularExpressions.Regex]::IsMatch('%(Identity)', `$(CurrentProject).([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?(?:\+[0-9A-Za-z-]+)?.nupkg`))" Include="@(ToolkitNugets)"/>
126+
<ToolkitNuGets Include="../bin/nupkg/$(CurrentProject).*.nupkg" />
127+
<ToolkitNuGet Condition="$([System.Text.RegularExpressions.Regex]::IsMatch('%(Identity)', `$(CurrentProject).([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?(?:\+[0-9A-Za-z-]+)?.nupkg`))" Include="@(ToolkitNuGets)" />
128128
</ItemGroup>
129-
<Error Condition="'@(ToolkitNuget)' == '' and $(CurrentProject) != 'UWPBaseline' and '$(CurrentProject)' != 'UWPBaselineWinUI'" Text="NuGet $(CurrentProject).[SEMVER].nupkg doesn't exist!"/>
130-
<Error Condition="'$(CurrentProject)' != 'UWPBaseline' and '$(CurrentProject)' != 'UWPBaselineWinUI' and '$(NuGetPackageVersion)' == 'To Fill In With Local Version Number'" Text="Please set NuGetPackageVersion at the top of SmokeTest.csproj with the version to smoke test locally."/>
129+
<Error Condition="'@(ToolkitNuGet)' == '' and $(CurrentProject) != 'UWPBaseline' and '$(CurrentProject)' != 'UWPBaselineWinUI'" Text="NuGet '$(CurrentProject).[SEMVER].nupkg' doesn't exist!" />
130+
<Error Condition="'$(CurrentProject)' != 'UWPBaseline' and '$(CurrentProject)' != 'UWPBaselineWinUI' and '$(NuGetPackageVersion)' == 'To Fill In With Local Version Number'" Text="Please set 'NuGetPackageVersion' at the top of 'SmokeTest.csproj' with the version to smoke test locally." />
131131
</Target>
132132
</Project>

SmokeTests/SmokeTests.proj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
Properties="CurrentProject=%(ProjectsToBuild.Identity);Configuration=%(ProjectsToBuild.Configuration);Platform=%(ProjectsToBuild.Platform);NuGetPackageVersion=$(NuGetPackageVersion)" />
5353
</Target>
5454

55-
<Target Name="ChooseProjectsToBuild" DependsOnTargets="CheckNugets">
55+
<Target Name="ChooseProjectsToBuild" DependsOnTargets="CheckNuGets">
5656
<ItemGroup>
5757
<BuildPlatform Include="$(BuildPlatforms)" />
5858
<BuildConfiguration Include="$(BuildConfigurations)" />
@@ -80,14 +80,14 @@
8080
</ItemGroup>
8181
</Target>
8282

83-
<Target Name="CheckNugets">
83+
<Target Name="CheckNuGets">
8484
<PropertyGroup>
85-
<ToolkitNugets>../bin/nupkg/*.nupkg</ToolkitNugets>
85+
<ToolkitNuGets>../bin/nupkg/*.nupkg</ToolkitNuGets>
8686
</PropertyGroup>
8787
<ItemGroup>
88-
<ToolkitNugets Include="$(ToolkitNugets)" />
88+
<ToolkitNuGets Include="$(ToolkitNuGets)" />
8989
</ItemGroup>
90-
<Error Condition="'@(ToolkitNugets)' == ''" Text="Directory '$(ToolkitNugets)' is empty"/>
90+
<Error Condition="'@(ToolkitNuGets)' == ''" Text="Directory '$(ToolkitNuGets)' is empty" />
9191
</Target>
9292

9393
</Project>

0 commit comments

Comments
 (0)