Skip to content

Commit d7f8eeb

Browse files
committed
Remove redundant code from project files
- Remove un-necessary attributes. - Remove un-used `BinDir` item metadata.
1 parent af82293 commit d7f8eeb

File tree

7 files changed

+1
-15
lines changed

7 files changed

+1
-15
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@
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) -->
46-
4745
<!-- Desktop Win32 apps -->
4846
<ItemGroup Condition="'$(TargetFramework)' == 'net461' or '$(TargetFramework)' == 'netcoreapp3.1'">
4947
<!-- Reference Windows SDK NuGet of correct target platform version -->

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1500,7 +1500,6 @@
15001500
<Name>Visual C++ 2015 Runtime for Universal Windows Platform Apps</Name>
15011501
</SDKReference>
15021502
</ItemGroup>
1503-
<ItemGroup />
15041503
<PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' &lt; '14.0' ">
15051504
<VisualStudioVersion>14.0</VisualStudioVersion>
15061505
</PropertyGroup>

NuGet.config

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
<configuration>
22
<packageSources>
3-
<clear />
4-
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
53
<add key="AzureLatest" value="https://pkgs.dev.azure.com/dotnet/CommunityToolkit/_packaging/CommunityToolkit-MainLatest/nuget/v3/index.json" protocolVersion="3" />
64
<add key="MUX-Shared" value="https://pkgs.dev.azure.com/ms/microsoft-ui-xaml/_packaging/MUX-Shared/nuget/v3/index.json" />
75
</packageSources>
8-
<disabledPackageSources>
9-
<clear />
10-
</disabledPackageSources>
116
</configuration>

SmokeTests/SmokeTests.proj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@
5656

5757
<ToolkitProject Include="@(ToolkitPackage)">
5858
<Platforms>x86;x64;ARM;ARM64</Platforms>
59-
<BinDir>bin</BinDir>
6059
<AssemblyName>%(ToolkitPackage.Identity)</AssemblyName>
6160
</ToolkitProject>
6261

build/Windows.Toolkit.Common.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@
4343
<ContinuousIntegrationBuild>$(TF_BUILD)</ContinuousIntegrationBuild>
4444
</PropertyGroup>
4545

46-
</Project>
46+
</Project>

build/Windows.Toolkit.Common.targets

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
<Project>
22

33
<PropertyGroup>
4-
<!-- TODO: Dynamically generate Title if one wasn't set -->
54
<Title Condition="'$(Title)' == ''">$(Product) Asset</Title>
6-
</PropertyGroup>
7-
8-
<PropertyGroup>
95
<CommonTags Condition="$(IsCoreProject)">$(CommonTags);.NET</CommonTags>
106
<CommonTags Condition="$(IsUwpProject)">$(CommonTags);UWP</CommonTags>
117
<PackageTags Condition="'$(PackageTags)' != ''">$(CommonTags);$(PackageTags)</PackageTags>

build/Windows.Toolkit.VisualStudio.Design.props

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
<PropertyGroup>
1010
<AppendTargetFrameworkToOutputPath>False</AppendTargetFrameworkToOutputPath>
1111
<AppendRuntimeIdentifierToOutputPath>False</AppendRuntimeIdentifierToOutputPath>
12-
<EmbeddedResourceUseDependentUponConvention>True</EmbeddedResourceUseDependentUponConvention>
1312
<ParentTargetFramework>uap$(TargetPlatformBaseVersion).$(TargetPlatformMinRevision)</ParentTargetFramework>
1413
<ParentProjectName>$(MSBuildProjectName.Remove($(MSBuildProjectName.LastIndexOf('.'))))</ParentProjectName>
1514
</PropertyGroup>

0 commit comments

Comments
 (0)