Skip to content

Commit f06b6d1

Browse files
committed
Update comments in project files
- Format comments - Adjust whitespace
1 parent 8db8e38 commit f06b6d1

File tree

5 files changed

+19
-14
lines changed

5 files changed

+19
-14
lines changed

Microsoft.Toolkit.Diagnostics/Microsoft.Toolkit.Diagnostics.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
</When>
4545

4646
<When Condition="'$(TargetFramework)' == 'net5.0'">
47+
<!-- .NET 5 SDK doesn't define "NETSTANDARD2_1_OR_GREATER" until a later revision -->
4748
<PropertyGroup>
4849
<DefineConstants>NETSTANDARD2_1_OR_GREATER</DefineConstants>
4950
</PropertyGroup>

Microsoft.Toolkit.HighPerformance/Microsoft.Toolkit.HighPerformance.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
- Box&lt;T&gt;: a type mapping boxed value types and exposing some utility and high performance methods.
2424
- Ref&lt;T&gt;: a stack-only struct that can store a reference to a value of a specified type.
2525
- NullableRef&lt;T&gt;: a stack-only struct similar to Ref&lt;T&gt;, which also supports nullable references.
26-
</Description>
26+
</Description>
2727
<PackageTags>Parallel;Performance;Unsafe;Span;Memory;String;StringPool;Array;Stream;Buffer;Extensions;Helpers</PackageTags>
2828
</PropertyGroup>
2929

Microsoft.Toolkit.Mvvm/Microsoft.Toolkit.Mvvm.csproj

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,18 @@
3535
<PackageReference Include="System.ComponentModel.Annotations" Version="5.0.0" />
3636
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="5.0.0" />
3737
</ItemGroup>
38-
38+
3939
<!-- Source generator project reference for packing -->
4040
<ItemGroup>
4141
<ProjectReference Include="..\Microsoft.Toolkit.Mvvm.SourceGenerators\Microsoft.Toolkit.Mvvm.SourceGenerators.csproj" PrivateAssets="all" />
4242
</ItemGroup>
4343

44-
<!-- Target to pack the source generator into the "analyzers\dotnet\cs" package folder.
45-
The condition is set to .NET Standard 2.0 so that the analyzer is only added to the package
46-
when that target is being built, instead of once for all three targets, which would fail.
47-
It will still be available for all targets anyway though, as analyzers don't have a target. -->
44+
<!--
45+
Target to pack the source generator into the "analyzers\dotnet\cs" package folder.
46+
The condition is set to .NET Standard 2.0 so that the analyzer is only added to the package
47+
when that target is being built, instead of once for all three targets, which would fail.
48+
It will still be available for all targets anyway though, as analyzers don't have a target.
49+
-->
4850
<Target Name="CopyAnalyzerProjectReferencesToPackage" DependsOnTargets="BuildOnlySettings;ResolveReferences" Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
4951
<ItemGroup>
5052
<TfmSpecificPackageFile Include="@(ReferenceCopyLocalPaths->WithMetadataValue('ReferenceSourceTarget', 'ProjectReference')->WithMetadataValue('PrivateAssets', 'All'))">

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

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
</PropertyGroup>
1313

1414
<PropertyGroup Condition="'$(TargetFramework)' == 'net461' or '$(TargetFramework)' == 'netcoreapp3.1' or '$(TargetFramework)' == 'net5.0-windows10.0.17763.0'">
15-
<!-- Define the WINDOWS_UWP conditional symbol, since the Windows.Data.Xml and the Windows.UI.Notification namespaces are available -->
15+
<!-- Define the WINDOWS_UWP conditional symbol, since the 'Windows.Data.Xml' and the 'Windows.UI.Notification' namespaces are available -->
1616
<DefineConstants>$(DefineConstants);WINDOWS_UWP;WIN32</DefineConstants>
1717
</PropertyGroup>
1818

@@ -42,18 +42,17 @@
4242
<None Include="Microsoft.Toolkit.Uwp.Notifications.targets" Pack="true" PackagePath="build\native" />
4343
</ItemGroup>
4444

45-
<!-- In order to support .NET Native, we need to include an appropriate .rd.xml for UWP (remove from everything else) -->
45+
<!-- In order to support .NET Native, we need to include an appropriate '.rd.xml' for UWP (remove from everything else) -->
4646
<ItemGroup Condition="'$(TargetFramework)' != 'uap10.0.19041' and '$(TargetFramework)' != 'native'">
4747
<EmbeddedResource Remove="Properties\Microsoft.Toolkit.Uwp.Notifications.rd.xml" />
4848
</ItemGroup>
4949

50-
<!-- Desktop Win32 apps -->
50+
<!-- For Desktop Win32 apps' WinRT APIs support -->
5151
<ItemGroup Condition="'$(TargetFramework)' == 'net461' or '$(TargetFramework)' == 'netcoreapp3.1'">
52-
<!-- Reference Windows SDK NuGet of correct target platform version -->
5352
<PackageReference Include="Microsoft.Windows.SDK.Contracts" Version="10.0.19041.1" />
5453
</ItemGroup>
5554

56-
<!-- The .NET Core desktop apps also need the Registry NuGet package and System.Reflection.Emit for generating COM class dynamically -->
55+
<!-- The .NET Core desktop apps also need the Registry NuGet package and 'System.Reflection.Emit' for generating COM class dynamically -->
5756
<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.1' or '$(TargetFramework)' == 'net5.0-windows10.0.17763.0'">
5857
<PackageReference Include="Microsoft.Win32.Registry" Version="4.7.0" />
5958
<PackageReference Include="System.Reflection.Emit" Version="4.7.0" />
@@ -64,12 +63,15 @@
6463
<PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform" Version="$(ExtrasUwpMetaPackageVersion)" PrivateAssets="All" IsImplicitlyDefined="true" />
6564
</ItemGroup>
6665

67-
<!-- Native (C++) doesn't need 'System.ValueTuple' (plus it's incompatible with this package) -->
66+
<!-- Native (C++) does not need 'System.ValueTuple' (plus it is incompatible with this package) -->
6867
<ItemGroup Condition="'$(TargetFramework)' != 'native'">
6968
<PackageReference Include="System.ValueTuple" Version="4.5.0" />
7069
</ItemGroup>
7170

72-
<!-- Set the nuspec properties. Dependent on version which isn't updated till after 'GetBuildVersion'. Condition ensures we only set once since this runs multiple times for each target. -->
71+
<!--
72+
Set the nuspec properties. Dependent on version which is not updated till after 'GetBuildVersion'.
73+
Condition ensures we only set once since this runs multiple times for each target.
74+
-->
7375
<Target Name="SetNuspecProperties" AfterTargets="GetBuildVersion">
7476
<PropertyGroup Condition="'$(NuspecProperties)' == ''">
7577
<NuspecProperties>buildOutput=bin\$(Configuration);version=$(Version)</NuspecProperties>

Microsoft.Toolkit.Uwp.SampleApp/Microsoft.Toolkit.Uwp.SampleApp.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,6 @@
124124
</PackageReference>
125125
</ItemGroup>
126126
<ItemGroup>
127-
<!-- A reference to the entire .Net Framework and Windows SDK are automatically included -->
128127
<Content Include="Assets\BrushAssets\TileTexture.png" />
129128
<Content Include="Assets\BrushAssets\NoiseTexture.png" />
130129
<Content Include="Assets\checker.png" />
@@ -1494,6 +1493,7 @@
14941493
</ProjectReference>
14951494
</ItemGroup>
14961495
<ItemGroup>
1496+
<!-- A reference to the entire .Net Framework and Windows SDK are automatically included -->
14971497
<SDKReference Include="Microsoft.Services.Store.Engagement, Version=10.0">
14981498
<Name>Microsoft Engagement Framework</Name>
14991499
</SDKReference>

0 commit comments

Comments
 (0)