Skip to content

Commit 379547b

Browse files
committed
Init
1 parent ee6674e commit 379547b

File tree

768 files changed

+1409
-112
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

768 files changed

+1409
-112
lines changed

Directory.Build.props

Lines changed: 31 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,34 @@
11
<!-- Copyright (c) Files Community. Licensed under the MIT License. -->
22
<Project>
3-
<PropertyGroup>
4-
<TargetFrameworkVersion>net9.0</TargetFrameworkVersion>
5-
<TargetWindowsVersion>10.0.22621.0</TargetWindowsVersion>
6-
<MinimalWindowsVersion>10.0.19041.0</MinimalWindowsVersion>
7-
<WindowsSdkPackageVersion>10.0.22621.57</WindowsSdkPackageVersion>
8-
<WindowsTargetFramework>$(TargetFrameworkVersion)-windows$(TargetWindowsVersion)</WindowsTargetFramework>
9-
</PropertyGroup>
3+
<!-- Directories -->
4+
<PropertyGroup>
5+
<RootDir>$(MSBuildThisFileDirectory)</RootDir>
6+
<SourceDir>$(RootDir)\src</SourceDir>
7+
<TestsDir>$(RootDir)\tests</TestsDir>
8+
<BuildDir>$(RootDir)\eng</BuildDir>
9+
<RepoDir>$(RootDir)\.github</RepoDir>
10+
11+
<AppXManifestProvider>$(BuildDir)\PackageManifest.props</AppXManifestProvider>
12+
<AppXPackageProjectPath>$(SourceDir)\Files.App (Package)</AppXPackageProjectPath>
13+
</PropertyGroup>
14+
15+
<!-- Target framework -->
16+
<PropertyGroup>
17+
<TargetFrameworkVersion>net9.0</TargetFrameworkVersion>
18+
<TargetWindowsVersion>10.0.22621.0</TargetWindowsVersion>
19+
<MinimalWindowsVersion>10.0.19041.0</MinimalWindowsVersion>
20+
<WindowsSdkPackageVersion>10.0.22621.57</WindowsSdkPackageVersion>
21+
<WindowsTargetFramework>$(TargetFrameworkVersion)-windows$(TargetWindowsVersion)</WindowsTargetFramework>
22+
</PropertyGroup>
23+
24+
<!-- App environment -->
25+
<PropertyGroup>
26+
<AppEnvironment>$(Configuration)</AppEnvironment>
27+
<ConfigurationCallName Condition="'$(AppEnvironment)' == 'Dev'">Debug</ConfigurationCallName>
28+
<ConfigurationCallName Condition="'$(AppEnvironment)' != 'Dev'">Release</ConfigurationCallName>
29+
30+
<AppChannel Condition="$(AppEnvironment.Contains('Stable'))">Stable</AppChannel>
31+
<AppChannel Condition="$(AppEnvironment.Contains('Preview'))">Preview</AppChannel>
32+
<AppChannel Condition="$(AppEnvironment.Contains('Dev'))">Dev</AppChannel>
33+
</PropertyGroup>
1034
</Project>

Files.slnx

Lines changed: 71 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,62 +1,117 @@
11
<Solution>
22
<Configurations>
3+
<BuildType Name="Dev" />
4+
<BuildType Name="SideloadPreview" />
5+
<BuildType Name="SideloadStable" />
6+
<BuildType Name="StorePreview" />
7+
<BuildType Name="StoreStable" />
38
<Platform Name="arm64" />
49
<Platform Name="x64" />
510
<Platform Name="x86" />
611
</Configurations>
12+
<Folder Name="/eng/" Id="02ea681e-c7d8-13c7-8484-4ac65e1b71e8">
13+
<File Path="eng/PackageLogo.props" />
14+
<File Path="eng/PackageManifest.props" />
15+
</Folder>
716
<Folder Name="/global/" Id="ddb4ef12-cc4e-5e88-e6fc-71a802f4de97">
817
<File Path="Directory.Build.props" />
918
<File Path="Directory.Packages.props" />
1019
</Folder>
1120
<Folder Name="/src/" />
1221
<Folder Name="/src/core/" Id="8d626ea8-cb54-bc41-363a-217881beba6e">
13-
<Project Path="src/Files.Core.SourceGenerator/Files.Core.SourceGenerator.csproj" />
22+
<Project Path="src/Files.Core.SourceGenerator/Files.Core.SourceGenerator.csproj">
23+
<BuildType Solution="Dev|*" Project="Debug" />
24+
<BuildType Solution="SideloadStable|*" Project="Release" />
25+
</Project>
1426
<Project Path="src/Files.Core.Storage/Files.Core.Storage.csproj">
27+
<BuildType Solution="Dev|*" Project="Debug" />
28+
<BuildType Solution="SideloadStable|*" Project="Release" />
1529
<Platform Solution="*|arm64" Project="arm64" />
1630
<Platform Solution="*|x64" Project="x64" />
1731
<Platform Solution="*|x86" Project="x86" />
1832
</Project>
1933
<Project Path="src/Files.Shared/Files.Shared.csproj">
34+
<BuildType Solution="Dev|*" Project="Debug" />
35+
<BuildType Solution="SideloadStable|*" Project="Release" />
2036
<Platform Solution="*|arm64" Project="arm64" />
2137
<Platform Solution="*|x64" Project="x64" />
2238
<Platform Solution="*|x86" Project="x86" />
2339
</Project>
2440
</Folder>
2541
<Folder Name="/src/platforms/" Id="82099983-647e-f067-e69a-cd800643a918">
2642
<Project Path="src/Files.App (Package)/Files.Package.wapproj" Type="c7167f0d-bc9f-4e6e-afe1-012c56b48db5">
43+
<BuildType Solution="Dev|*" Project="Debug" />
44+
<BuildType Solution="SideloadStable|*" Project="Release" />
45+
<Platform Solution="SideloadPreview|arm64" Project="ARM64" />
46+
<Platform Solution="StorePreview|arm64" Project="ARM64" />
47+
<Platform Solution="StoreStable|arm64" Project="ARM64" />
2748
<Deploy />
2849
</Project>
2950
<Project Path="src/Files.App.BackgroundTasks/Files.App.BackgroundTasks.csproj">
30-
<Platform Solution="*|arm64" Project="arm64" />
51+
<BuildType Solution="Dev|*" Project="Debug" />
52+
<BuildType Solution="SideloadStable|*" Project="Release" />
3153
<Platform Solution="*|x64" Project="x64" />
3254
<Platform Solution="*|x86" Project="x86" />
55+
<Platform Solution="Dev|arm64" Project="arm64" />
56+
<Platform Solution="SideloadPreview|arm64" Project="ARM64" />
57+
<Platform Solution="SideloadStable|arm64" Project="arm64" />
58+
<Platform Solution="StorePreview|arm64" Project="ARM64" />
59+
<Platform Solution="StoreStable|arm64" Project="ARM64" />
3360
</Project>
3461
<Project Path="src/Files.App.Controls/Files.App.Controls.csproj">
62+
<BuildType Solution="Dev|*" Project="Debug" />
63+
<BuildType Solution="SideloadStable|*" Project="Release" />
3564
<Platform Solution="*|arm64" Project="arm64" />
3665
<Platform Solution="*|x64" Project="x64" />
3766
<Platform Solution="*|x86" Project="x86" />
3867
</Project>
3968
<Project Path="src/Files.App.CsWin32/Files.App.CsWin32.csproj">
69+
<BuildType Solution="Dev|*" Project="Debug" />
70+
<BuildType Solution="SideloadStable|*" Project="Release" />
4071
<Platform Solution="*|arm64" Project="arm64" />
4172
<Platform Solution="*|x64" Project="x64" />
4273
<Platform Solution="*|x86" Project="x86" />
4374
</Project>
44-
<Project Path="src/Files.App.Launcher/Files.App.Launcher.vcxproj" Id="25fd5045-6d4c-4dd0-b3ac-613ab59cbb07" />
45-
<Project Path="src/Files.App.OpenDialog/Files.App.OpenDialog.vcxproj" Id="a2ff3f3b-8ebc-4108-b99d-1476b7876656" />
75+
<Project Path="src/Files.App.Launcher/Files.App.Launcher.vcxproj" Id="25fd5045-6d4c-4dd0-b3ac-613ab59cbb07">
76+
<BuildType Solution="Dev|*" Project="Debug" />
77+
<BuildType Solution="SideloadStable|*" Project="Release" />
78+
</Project>
79+
<Project Path="src/Files.App.OpenDialog/Files.App.OpenDialog.vcxproj" Id="a2ff3f3b-8ebc-4108-b99d-1476b7876656">
80+
<BuildType Solution="Dev|*" Project="Debug" />
81+
<BuildType Solution="SideloadStable|*" Project="Release" />
82+
</Project>
4683
<Project Path="src/Files.App.OpenDialog/Files.App.OpenDialog.Win32.vcxproj" Id="b3fe3f3b-cecc-4918-b72b-5488c3774125">
47-
<Platform Project="Win32" />
84+
<BuildType Solution="Dev|*" Project="Debug" />
85+
<BuildType Solution="SideloadStable|*" Project="Release" />
86+
<Platform Solution="Dev|arm64" Project="Win32" />
87+
<Platform Solution="Dev|x64" Project="Win32" />
88+
<Platform Solution="SideloadStable|arm64" Project="Win32" />
89+
<Platform Solution="SideloadStable|x64" Project="Win32" />
90+
</Project>
91+
<Project Path="src/Files.App.SaveDialog/Files.App.SaveDialog.vcxproj" Id="ebfa367f-cbdb-4cd0-b838-d6b95f61d1f6">
92+
<BuildType Solution="Dev|*" Project="Debug" />
93+
<BuildType Solution="SideloadStable|*" Project="Release" />
4894
</Project>
49-
<Project Path="src/Files.App.SaveDialog/Files.App.SaveDialog.vcxproj" Id="ebfa367f-cbdb-4cd0-b838-d6b95f61d1f6" />
5095
<Project Path="src/Files.App.SaveDialog/Files.App.SaveDialog.Win32.vcxproj" Id="7756a1a4-17b5-4e6b-9b12-f19aa868a225">
51-
<Platform Project="Win32" />
96+
<BuildType Solution="Dev|*" Project="Debug" />
97+
<BuildType Solution="SideloadStable|*" Project="Release" />
98+
<Platform Solution="Dev|arm64" Project="Win32" />
99+
<Platform Solution="Dev|x64" Project="Win32" />
100+
<Platform Solution="SideloadStable|arm64" Project="Win32" />
101+
<Platform Solution="SideloadStable|x64" Project="Win32" />
52102
</Project>
53103
<Project Path="src/Files.App.Server/Files.App.Server.csproj">
104+
<BuildType Solution="Dev|*" Project="Debug" />
105+
<BuildType Solution="SideloadStable|*" Project="Release" />
54106
<Platform Solution="*|arm64" Project="arm64" />
55107
<Platform Solution="*|x64" Project="x64" />
56108
<Platform Solution="*|x86" Project="x86" />
57-
<Deploy />
109+
<Deploy Solution="Dev|*" />
110+
<Deploy Solution="SideloadStable|*" />
58111
</Project>
59112
<Project Path="src/Files.App.Storage/Files.App.Storage.csproj">
113+
<BuildType Solution="Dev|*" Project="Debug" />
114+
<BuildType Solution="SideloadStable|*" Project="Release" />
60115
<Platform Solution="*|arm64" Project="arm64" />
61116
<Platform Solution="*|x64" Project="x64" />
62117
<Platform Solution="*|x86" Project="x86" />
@@ -68,20 +123,27 @@
68123
<BuildDependency Project="src/Files.App.SaveDialog/Files.App.SaveDialog.vcxproj" />
69124
<BuildDependency Project="src/Files.App.SaveDialog/Files.App.SaveDialog.Win32.vcxproj" />
70125
<BuildDependency Project="src/Files.App.Server/Files.App.Server.csproj" />
126+
<BuildType Solution="Dev|*" Project="Debug" />
127+
<BuildType Solution="SideloadStable|*" Project="Release" />
71128
<Platform Solution="*|arm64" Project="arm64" />
72129
<Platform Solution="*|x64" Project="x64" />
73130
<Platform Solution="*|x86" Project="x86" />
74-
<Deploy />
131+
<Deploy Solution="Dev|*" />
132+
<Deploy Solution="SideloadStable|*" />
75133
</Project>
76134
</Folder>
77135
<Folder Name="/tests/">
78136
<Project Path="tests/Files.App.UITests/Files.App.UITests.csproj">
137+
<BuildType Solution="Dev|*" Project="Debug" />
138+
<BuildType Solution="SideloadStable|*" Project="Release" />
79139
<Platform Solution="*|arm64" Project="arm64" />
80140
<Platform Solution="*|x64" Project="x64" />
81141
<Platform Solution="*|x86" Project="x86" />
82142
<Deploy />
83143
</Project>
84144
<Project Path="tests/Files.InteractionTests/Files.InteractionTests.csproj">
145+
<BuildType Solution="Dev|*" Project="Debug" />
146+
<BuildType Solution="SideloadStable|*" Project="Release" />
85147
<Platform Solution="*|arm64" Project="arm64" />
86148
<Platform Solution="*|x64" Project="x64" />
87149
<Platform Solution="*|x86" Project="x86" />

eng/PackageLogo.props

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<Project>
2+
<ItemGroup>
3+
<Content Include="$(SourceDir)\Files.App\Assets\AppTiles\$(AppEnvironment)\**" />
4+
</ItemGroup>
5+
</Project>

eng/PackageManifest.props

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<Project>
2+
<ItemGroup>
3+
<AppxManifest Include="$(BuildDir)\PackageManifestCollection\$(AppEnvironment)\Package.appxmanifest">
4+
<SubType>Designer</SubType>
5+
</AppxManifest>
6+
</ItemGroup>
7+
</Project>

0 commit comments

Comments
 (0)