Skip to content

Feature: Removed FullTrustProcess #10283

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 54 commits into from
Oct 30, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
ecb02f5
feat: RecycleBinManager
lukeblevins Oct 23, 2022
c568a66
feat: misc FTP removal
lukeblevins Oct 23, 2022
8eff046
feat: DeviceManager singleton in Files.App
lukeblevins Oct 25, 2022
eff4ad4
feat: RecentItemsManager singleton in Files.App
lukeblevins Oct 25, 2022
2160290
sync with main
lukeblevins Oct 25, 2022
4f4e86e
Move LibrariesHandler handling code and watchers to LibraryManager
itsWindows11 Oct 25, 2022
cc79a2c
Remove LibrariesHandler from fulltrust process
itsWindows11 Oct 25, 2022
4de9ca8
Remove NetworkDrivesHandler
itsWindows11 Oct 25, 2022
0a9464e
Remove from full trust handler
itsWindows11 Oct 25, 2022
e30c5d8
Merge pull request #2 from itsWindows11/dev/lubl/networkdriveshandler
lukeblevins Oct 26, 2022
136ca7f
Merge branch 'dev/lubl/trashhandler' into dev/lubl/trashhandler
lukeblevins Oct 26, 2022
5c81a5c
Merge pull request #1 from itsWindows11/dev/lubl/trashhandler
lukeblevins Oct 26, 2022
ae74efb
Merge branch 'main' into dev/lubl/trashhandler
yaira2 Oct 26, 2022
cab06e0
feat: Single project MSIX
lukeblevins Oct 26, 2022
c5ac79e
fix: address feedback
lukeblevins Oct 26, 2022
2b9c439
chore: resolve conflicts from main
lukeblevins Oct 26, 2022
578127c
fix: tweak nuget package locations
lukeblevins Oct 26, 2022
a3c1ba6
Fixed two build errors
yaira2 Oct 26, 2022
76bc2ff
project cleanup
hez2010 Oct 27, 2022
9f2c4bf
manifest fixes
hez2010 Oct 27, 2022
747e38c
Merge branch 'main' into dev/lubl/trashhandler
yaira2 Oct 27, 2022
c02216f
Left out cleanup
hez2010 Oct 27, 2022
6cf4f45
Merge branch 'dev/lubl/trashhandler' of github.com:lukeblevins/Files …
hez2010 Oct 27, 2022
3a00835
Update azure-pipelines.yml
yaira2 Oct 27, 2022
7c9d92a
Update azure-pipelines-release.yml
yaira2 Oct 27, 2022
ce27d4e
fix the incorrect path
hez2010 Oct 27, 2022
2236b32
Merge branch 'dev/lubl/trashhandler' of github.com:lukeblevins/Files …
hez2010 Oct 27, 2022
3aba3d9
remove explicit configuration settings
hez2010 Oct 27, 2022
4d691c2
Fixes to publish profiles and launchSettings
hez2010 Oct 27, 2022
ff70cd0
Fix incorrect theme path
hez2010 Oct 27, 2022
19e3c76
Add missing dependency
hez2010 Oct 27, 2022
8695f66
Update Files.App.csproj
yaira2 Oct 27, 2022
878509d
Fix sideload configuration
hez2010 Oct 28, 2022
ccd55be
Add WAP project back
hez2010 Oct 29, 2022
ac28c48
Remove unnecessary nullable directives
hez2010 Oct 29, 2022
95a84b8
Oops
hez2010 Oct 29, 2022
a0a961a
Use lowercase arm64
hez2010 Oct 29, 2022
ebd482e
Fix pipeline
hez2010 Oct 29, 2022
95e596a
Adding quotes to pipeline
hez2010 Oct 29, 2022
90d06b5
Fix pipeline
hez2010 Oct 29, 2022
090731a
Remove unused project
hez2010 Oct 29, 2022
84dd808
Try to workaround the restoring issue
hez2010 Oct 29, 2022
6b6b341
Fix rid issue in BackgroundTask
hez2010 Oct 29, 2022
1d862b2
Fix build
hez2010 Oct 29, 2022
9b61511
Fix sln
hez2010 Oct 29, 2022
2f28e9a
Workaround crossgen2 restoring issue
hez2010 Oct 29, 2022
377d8aa
Another try to workaround crossgen2 restoring issue
hez2010 Oct 29, 2022
abee0dc
Restore crssogen2 on build
hez2010 Oct 29, 2022
1fb1332
Use msbuild for restoring in CI
hez2010 Oct 29, 2022
2b5815c
Merge branch 'main' into dev/lubl/trashhandler
hez2010 Oct 29, 2022
de27d6e
Update Package.appxmanifest
yaira2 Oct 30, 2022
ffd14b1
Add release tiles
yaira2 Oct 30, 2022
42ebbc1
Rename package
yaira2 Oct 30, 2022
0e83773
Fix pipeline
yaira2 Oct 30, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ BenchmarkDotNet.Artifacts/
project.lock.json
project.fragment.lock.json
artifacts/
**/Properties/launchSettings.json

# StyleCop
StyleCopReport.xml
Expand Down Expand Up @@ -174,7 +173,6 @@ publish/
*.azurePubxml
# Note: Comment the next line if you want to checkin your web deploy settings,
# but database connection strings (with potential passwords) will be unencrypted
*.pubxml
*.publishproj

# Microsoft Azure Web App publish settings. Comment the next line if you want to
Expand Down
10 changes: 0 additions & 10 deletions Directory.Build.props

This file was deleted.

388 changes: 186 additions & 202 deletions Files.sln

Large diffs are not rendered by default.

38 changes: 18 additions & 20 deletions builds/azure-pipelines-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@ jobs:
inputs:
targetType: 'inline'
script: |
[xml]$xmlDoc = Get-Content $(Build.SourcesDirectory)\src\Files.Package\Package.appxmanifest
[xml]$xmlDoc = Get-Content '$(Build.SourcesDirectory)\src\Files.App (Package)\Package.appxmanifest'
$xmlDoc.Package.Identity.Name="${{parameters.packageIdentityName}}"
$xmlDoc.Package.Identity.Publisher="Files"
$xmlDoc.Package.Properties.DisplayName="${{parameters.packageDisplayName}}"
$xmlDoc.Package.Applications.Application.VisualElements.DisplayName="${{parameters.packageDisplayName}}"
$xmlDoc.Save('$(Build.SourcesDirectory)\src\Files.Package\Package.appxmanifest')
$xmlDoc.Save('$(Build.SourcesDirectory)\src\Files.App (Package)\Package.appxmanifest')
failOnStderr: true

# This replaces references to the dev icon with the specified icon variant
Expand Down Expand Up @@ -114,13 +114,13 @@ jobs:
script: |
for /f %%a in ('dir /b /a:d %localappdata%\Microsoft\VisualStudio\17*') do echo UsePreviews=True>%localappdata%\Microsoft\VisualStudio\%%a\sdk.txt

- task: NuGetToolInstaller@1

- task: NuGetCommand@2
- task: MSBuild@1
inputs:
feedsToUse: config
nugetConfigPath: nuget.config
restoreSolution: '$(solution)'
platform: 'x64'
solution: '$(solution)'
configuration: '$(sideloadBuildConfiguration)'
msbuildArguments: '/t:restore /p:Configuration="$(sideloadBuildConfiguration)";Platform="$(buildPlatform)";PublishReadyToRun=true'
maximumCpuCount: true

- task: DownloadSecureFile@1
name: caCertificate
Expand Down Expand Up @@ -168,20 +168,18 @@ jobs:
inputs:
targetType: 'inline'
script: |
[xml]$xmlDoc = Get-Content $(Build.SourcesDirectory)\src\Files.Package\Package.appxmanifest
[xml]$xmlDoc = Get-Content '$(Build.SourcesDirectory)\src\Files.App (Package)\Package.appxmanifest'
$xmlDoc.Package.Identity.Name="49306atecsolution.FilesUWP"
$xmlDoc.Package.Identity.Publisher="CN=53EC4384-7F5B-4CF6-8C23-513FFE9D1AB7"
$xmlDoc.Package.Properties.DisplayName="Files"
$xmlDoc.Package.Applications.Application.VisualElements.DisplayName="Files"

# Removes packageManagement from Store release
$nsmgr = New-Object System.Xml.XmlNamespaceManager($xmlDoc.NameTable)
$nsmgr.AddNamespace("pkg", "http://schemas.microsoft.com/appx/manifest/foundation/windows10")
$nsmgr.AddNamespace("rescap", "http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities")
$pm = $xmlDoc.SelectSingleNode("/pkg:Package/pkg:Capabilities/rescap:Capability[@Name='packageManagement']", $nsmgr)
$xmlDoc.Package.Capabilities.RemoveChild($pm)

$xmlDoc.Save('$(Build.SourcesDirectory)\src\Files.Package\Package.appxmanifest')
$xmlDoc.Save('$(Build.SourcesDirectory)\src\Files.App (Package)\Package.appxmanifest')
failOnStderr: true

# This replaces references to the dev icon with the specified icon variant
Expand Down Expand Up @@ -234,13 +232,13 @@ jobs:
script: |
for /f %%a in ('dir /b /a:d %localappdata%\Microsoft\VisualStudio\17*') do echo UsePreviews=True>%localappdata%\Microsoft\VisualStudio\%%a\sdk.txt

- task: NuGetToolInstaller@1

- task: NuGetCommand@2
- task: MSBuild@1
inputs:
feedsToUse: config
nugetConfigPath: nuget.config
restoreSolution: '$(solution)'
platform: 'x64'
solution: '$(solution)'
configuration: '$(buildConfiguration)'
msbuildArguments: '/t:restore /p:Configuration="$(buildConfiguration)";Platform="$(buildPlatform)";PublishReadyToRun=true'
maximumCpuCount: true

- task: MSBuild@1
inputs:
Expand All @@ -249,7 +247,7 @@ jobs:
configuration: '$(buildConfiguration)'
msbuildArguments: '/t:build;_GenerateAppxPackage /p:AppxBundlePlatforms="$(buildPlatform)" /p:AppxPackageDir="$(appxPackageDir)" /p:AppxBundle=Always /p:UapAppxPackageBuildMode=StoreUpload'
maximumCpuCount: true

- task: CopyFiles@2
displayName: 'Copy Files to: $(build.artifactstagingdirectory)'
inputs:
Expand All @@ -274,4 +272,4 @@ jobs:
skipPolling: false
deletePackages: true
numberOfPackagesToKeep: '5'
isMandatoryUpdate: true
isMandatoryUpdate: true
20 changes: 10 additions & 10 deletions builds/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ steps:
inputs:
targetType: 'inline'
script: |
[xml]$xmlDoc = Get-Content $(Build.SourcesDirectory)\src\Files.Package\Package.appxmanifest
[xml]$xmlDoc = Get-Content '$(Build.SourcesDirectory)\src\Files.App (Package)\Package.appxmanifest'
$xmlDoc.Package.Identity.Name="49306atecsolution.FilesUWP"
$xmlDoc.Package.Identity.Publisher="CN=53EC4384-7F5B-4CF6-8C23-513FFE9D1AB7"
$xmlDoc.Package.Properties.DisplayName="Files"
$xmlDoc.Package.Applications.Application.VisualElements.DisplayName="Files"
$xmlDoc.Save('$(Build.SourcesDirectory)\src\Files.Package\Package.appxmanifest')
$xmlDoc.Save('$(Build.SourcesDirectory)\src\Files.App (Package)\Package.appxmanifest')
failOnStderr: true

- task: PowerShell@2
Expand Down Expand Up @@ -70,13 +70,13 @@ steps:
script: |
for /f %%a in ('dir /b /a:d %localappdata%\Microsoft\VisualStudio\17*') do echo UsePreviews=True>%localappdata%\Microsoft\VisualStudio\%%a\sdk.txt

- task: NuGetToolInstaller@1

- task: NuGetCommand@2
- task: MSBuild@1
inputs:
feedsToUse: config
nugetConfigPath: nuget.config
restoreSolution: '$(solution)'
platform: 'x64'
solution: '**/*.sln'
configuration: '$(buildConfiguration)'
msbuildArguments: '/t:restore /p:Configuration=Debug;Platform="$(buildPlatform)";PublishReadyToRun=true'
maximumCpuCount: true

- task: MSBuild@1
inputs:
Expand Down Expand Up @@ -117,7 +117,7 @@ steps:
# inputs:
# testSelector: 'testAssemblies'
# testAssemblyVer2: |
# **\$(buildConfiguration)\Files.InteractionTests\net6.0\Files.InteractionTests.dll
# **\$(buildConfiguration)\Files.InteractionTests\net7.0\Files.InteractionTests.dll
# !**\*TestAdapter.dll
# !**\obj\**
# searchFolder: '$(System.DefaultWorkingDirectory)'
Expand All @@ -132,4 +132,4 @@ steps:
- task: PublishBuildArtifacts@1
displayName: 'Publish Artifact: drop'
inputs:
PathtoPublish: '$(build.artifactstagingdirectory)'
PathtoPublish: '$(build.artifactstagingdirectory)'
2 changes: 1 addition & 1 deletion nuget.config
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
<configuration>
<packageSources>
<add key="NuGet official package source" value="https://api.nuget.org/v3/index.json" />
<add key="Local Packages" value="src\Files.Package\nupkgs\" />
<add key="Local Packages" value="src\Files.App\nupkgs\" />
</packageSources>
</configuration>
70 changes: 4 additions & 66 deletions src/BackgroundTasks/BackgroundTasks.csproj
Original file line number Diff line number Diff line change
@@ -1,82 +1,20 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net7.0-windows10.0.22000.0</TargetFramework>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
<Platforms>x86;x64;arm64</Platforms>
<RuntimeIdentifiers>win-x86;win-x64;win-arm64</RuntimeIdentifiers>
<AssemblyName>BackgroundTasks</AssemblyName>
<DefaultLanguage>en-US</DefaultLanguage>
<TargetPlatformMinVersion>10.0.19041.0</TargetPlatformMinVersion>
<IsTrimmable>true</IsTrimmable>
<Configurations>Debug;Release;Sideload</Configurations>
<Platforms>x86;x64;ARM64</Platforms>
<RuntimeIdentifiers>win10-x86;win10-x64;win10-arm64</RuntimeIdentifiers>
</PropertyGroup>
<PropertyGroup>
<CsWinRTComponent>true</CsWinRTComponent>
<CsWinRTWindowsMetadata>10.0.22000.0</CsWinRTWindowsMetadata>
<CsWinRTGeneratedFilesDir>$(MSBuildProjectDirectory)\bin\$(Platform)\$(Configuration)</CsWinRTGeneratedFilesDir>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Windows.CsWinRT">
<Version>2.0.0</Version>
</PackageReference>
<PackageReference Include="Microsoft.Windows.CsWinRT" Version="2.0.0" />
</ItemGroup>
<ItemGroup>
<None Update="WinRT.Host.runtimeconfig.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<PlatformTarget>x86</PlatformTarget>
<DefineConstants>DEBUG;TRACE;NETFX_CORE</DefineConstants>
<NoWarn>;2008</NoWarn>
<UseVSHostingProcess>false</UseVSHostingProcess>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
<PlatformTarget>x86</PlatformTarget>
<DefineConstants>TRACE;NETFX_CORE</DefineConstants>
<NoWarn>;2008</NoWarn>
<UseVSHostingProcess>false</UseVSHostingProcess>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|arm64'">
<PlatformTarget>arm64</PlatformTarget>
<DefineConstants>DEBUG;TRACE;NETFX_CORE</DefineConstants>
<NoWarn>;2008</NoWarn>
<UseVSHostingProcess>false</UseVSHostingProcess>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|arm64'">
<PlatformTarget>arm64</PlatformTarget>
<DefineConstants>TRACE;NETFX_CORE</DefineConstants>
<NoWarn>;2008</NoWarn>
<UseVSHostingProcess>false</UseVSHostingProcess>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<PlatformTarget>x64</PlatformTarget>
<DefineConstants>DEBUG;TRACE;NETFX_CORE</DefineConstants>
<NoWarn>;2008</NoWarn>
<UseVSHostingProcess>false</UseVSHostingProcess>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
<PlatformTarget>x64</PlatformTarget>
<DefineConstants>TRACE;NETFX_CORE</DefineConstants>
<NoWarn>;2008</NoWarn>
<UseVSHostingProcess>false</UseVSHostingProcess>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Sideload|x86'">
<DefineConstants>TRACE;NETFX_CORE</DefineConstants>
<NoWarn>;2008</NoWarn>
<PlatformTarget>x86</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Sideload|arm64'">
<DefineConstants>TRACE;NETFX_CORE</DefineConstants>
<NoWarn>;2008</NoWarn>
<PlatformTarget>arm64</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Sideload|x64'">
<DefineConstants>TRACE;NETFX_CORE</DefineConstants>
<NoWarn>;2008</NoWarn>
<PlatformTarget>x64</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
</PropertyGroup>
</Project>
10 changes: 0 additions & 10 deletions src/BackgroundTasks/WinRT.Host.runtimeconfig.json

This file was deleted.

Loading