Skip to content

Commit 8815521

Browse files
authored
Code Quality: Rename BackgroundTasks to Files.App.BackgroundTasks (#12842)
1 parent da0c1e0 commit 8815521

File tree

5 files changed

+6
-7
lines changed

5 files changed

+6
-7
lines changed

Files.sln

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Files.Core", "src\Files.Cor
1818
EndProject
1919
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Files.Sdk.Storage", "src\Files.Sdk.Storage\Files.Sdk.Storage.csproj", "{53371D77-7AC1-4975-9A2A-5E0EB0B37CE3}"
2020
EndProject
21-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BackgroundTasks", "src\BackgroundTasks\BackgroundTasks.csproj", "{BB1DA0B0-4E5B-4336-961E-DF389482C094}"
21+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Files.App.BackgroundTasks", "src\Files.App.BackgroundTasks\Files.App.BackgroundTasks.csproj", "{BB1DA0B0-4E5B-4336-961E-DF389482C094}"
2222
EndProject
2323
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Files.InteractionTests", "tests\Files.InteractionTests\Files.InteractionTests.csproj", "{4ED01D20-8529-4DEF-8C1B-4E31031AE7E0}"
2424
EndProject

src/Files.App (Package)/Package.appxmanifest

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@
131131
DisplayName="Files" />
132132
</uap5:Extension>
133133

134-
<Extension Category="windows.updateTask" EntryPoint="BackgroundTasks.UpdateTask" />
134+
<Extension Category="windows.updateTask" EntryPoint="Files.App.BackgroundTasks.UpdateTask" />
135135

136136
<uap:Extension Category="windows.fileTypeAssociation">
137137
<uap:FileTypeAssociation Name="archives">
@@ -154,7 +154,7 @@
154154
<Extension Category="windows.activatableClass.inProcessServer">
155155
<InProcessServer>
156156
<Path>Files.App\WinRT.Host.dll</Path>
157-
<ActivatableClass ActivatableClassId="BackgroundTasks.UpdateTask" ThreadingModel="both" />
157+
<ActivatableClass ActivatableClassId="Files.App.BackgroundTasks.UpdateTask" ThreadingModel="both" />
158158
</InProcessServer>
159159
</Extension>
160160
</Extensions>

src/BackgroundTasks/BackgroundTasks.csproj renamed to src/Files.App.BackgroundTasks/Files.App.BackgroundTasks.csproj

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

44
<PropertyGroup>
55
<TargetFramework>net7.0-windows10.0.22621.0</TargetFramework>
6-
<AssemblyName>BackgroundTasks</AssemblyName>
76
<DefaultLanguage>en-US</DefaultLanguage>
87
<TargetPlatformMinVersion>10.0.19041.0</TargetPlatformMinVersion>
98
<IsTrimmable>true</IsTrimmable>

src/BackgroundTasks/UpdateTask.cs renamed to src/Files.App.BackgroundTasks/UpdateTask.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
using Windows.Storage;
1010
using Windows.UI.StartScreen;
1111

12-
namespace BackgroundTasks
12+
namespace Files.App.BackgroundTasks
1313
{
1414
public sealed class UpdateTask : IBackgroundTask
1515
{

src/Files.App/Files.App.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
</ItemGroup>
100100

101101
<ItemGroup>
102-
<ProjectReference Include="..\BackgroundTasks\BackgroundTasks.csproj" />
102+
<ProjectReference Include="..\Files.App.BackgroundTasks\Files.App.BackgroundTasks.csproj" />
103103
<ProjectReference Include="..\Files.App.Storage\Files.App.Storage.csproj" />
104104
<ProjectReference Include="..\Files.Core\Files.Core.csproj" />
105105
<ProjectReference Include="..\Files.Sdk.Storage\Files.Sdk.Storage.csproj" />
@@ -108,7 +108,7 @@
108108
</ItemGroup>
109109

110110
<ItemGroup>
111-
<TrimmerRootAssembly Include="BackgroundTasks" />
111+
<TrimmerRootAssembly Include="Files.App.BackgroundTasks" />
112112
<TrimmerRootAssembly Include="Files" />
113113
<TrimmerRootAssembly Include="Files.App.Storage" />
114114
<TrimmerRootAssembly Include="Files.Core" />

0 commit comments

Comments
 (0)