Skip to content

Commit 1800528

Browse files
authored
Code Quality: Moved Resources dir to Assets (#15285)
1 parent f316a62 commit 1800528

File tree

4 files changed

+4
-7
lines changed

4 files changed

+4
-7
lines changed

src/Files.App/Constants.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,12 +177,12 @@ public static class ResourceFilePaths
177177
/// <summary>
178178
/// The path to the json file containing a list of file properties to be loaded in the properties window details page.
179179
/// </summary>
180-
public const string DetailsPagePropertiesJsonPath = @"ms-appx:///Resources/PropertiesInformation.json";
180+
public const string DetailsPagePropertiesJsonPath = @"ms-appx:///Assets/Resources/PropertiesInformation.json";
181181

182182
/// <summary>
183183
/// The path to the json file containing a list of file properties to be loaded in the preview pane.
184184
/// </summary>
185-
public const string PreviewPaneDetailsPropertiesJsonPath = @"ms-appx:///Resources/PreviewPanePropertiesInformation.json";
185+
public const string PreviewPaneDetailsPropertiesJsonPath = @"ms-appx:///Assets/Resources/PreviewPanePropertiesInformation.json";
186186
}
187187

188188
public static class Filesystem

src/Files.App/Files.App.csproj

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,8 @@
5252
<Link>NOTICE.md</Link>
5353
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
5454
</Content>
55-
<Content Include="Resources\PreviewPanePropertiesInformation.json">
56-
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
57-
</Content>
58-
<Content Include="Resources\PropertiesInformation.json">
59-
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
55+
<Content Update="Assets\Resources\**">
56+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
6057
</Content>
6158
<Content Update="Assets\FilesOpenDialog\SetFilesAsDefault.reg">
6259
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>

0 commit comments

Comments
 (0)