mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 02:36:19 +02:00
[deps]Upgrade to .NET 7 (#20979)
* Update projects to .NET 7 * Updated packages to 7.0-rc1 * [ColorPicker] Wrap WM_KEYUP param in unchecked context * [PTRun][OneNote] Added a NoWarn to CS8981 * [MeasureTool] Wrap buffer in wstring_view in SetClipBoardToText * Target .NET 7 for PowerToys.Interop * Update publish profiles * Removed System.Text.Json.dll from Product.wxs since it's included in .NET 7 * Use .NET 7 in CI * Removed individual CodeAnalysis package from projects * Updated CodeAnalysis package in Directory.Build.props * Updated NuGet packages to latest 7.0 rc2 * Fix merge mistake with Settings.UI.Library project * Updated installer with .NET 7 RC2 install * [GPOWrapper] Updated GPOWrapperProjection to .NET 7 * [FileLockSmith] Updated to .NET 7 * [FileLocksmith] Update Interop to .NET 7 * Upgrade .NET 7 specific libraries to GA version * [PowerToysSetup] Updated .NET 7 urls to GA * [CI] removed .NET 7 SDK preview version from UseDotNet task * [PowerToysSetup] Update HasDotnet variable name * [PowerToysInterop] Downgrade target back to .NET 6 * [FileLockSmith] Downgrade Interop library back to .NET 6 * Revert "[FileLockSmith] Downgrade Interop library back to .NET 6" This reverts commit356ad048e3. * Revert "[PowerToysInterop] Downgrade target back to .NET 6" This reverts commit74dbcfdefe. * [Analyzers][CPP] Disable warning for 4679 caused by .NET 7 in C++/CLI * [CI] Set maximum cpu count to 2 for PowerToys.sln build * [CI] Set maximumCpuCount to false in hopes of arm64 working * Changed .NET 7 runtime display name * [ci] Use .net 7 sdk
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<PropertyGroup>
|
||||
<AssemblyTitle>PowerToys.Run</AssemblyTitle>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<TargetFramework>net6.0-windows10.0.19041.0</TargetFramework>
|
||||
<TargetFramework>net7.0-windows10.0.19041.0</TargetFramework>
|
||||
<UseWPF>true</UseWPF>
|
||||
<UseWindowsForms>true</UseWindowsForms>
|
||||
<StartupObject>PowerLauncher.App</StartupObject>
|
||||
@@ -80,14 +80,14 @@
|
||||
<PackageReference Include="Interop.Microsoft.Office.Interop.OneNote" Version="1.1.0.2" />
|
||||
<PackageReference Include="Mages" Version="2.0.1" />
|
||||
<PackageReference Include="LazyCache" Version="2.4.0" />
|
||||
<PackageReference Include="Microsoft.Data.Sqlite" Version="6.0.9" />
|
||||
<PackageReference Include="Microsoft.Data.Sqlite" Version="7.0.0" />
|
||||
<PackageReference Include="Microsoft.Toolkit.Uwp.Notifications" Version="7.1.2" />
|
||||
<PackageReference Include="Microsoft.Xaml.Behaviors.Wpf" Version="1.1.39" />
|
||||
<PackageReference Include="ModernWpfUI" Version="0.9.4" />
|
||||
<PackageReference Include="ScipBe.Common.Office.OneNote" Version="3.0.1" />
|
||||
<PackageReference Include="System.Reactive" Version="5.0.0" />
|
||||
<PackageReference Include="System.Data.OleDb" Version="6.0.0" />
|
||||
<PackageReference Include="System.ServiceProcess.ServiceController" Version="6.0.0" />
|
||||
<PackageReference Include="System.Data.OleDb" Version="7.0.0" />
|
||||
<PackageReference Include="System.ServiceProcess.ServiceController" Version="7.0.0" />
|
||||
<PackageReference Include="UnitsNet" Version="4.145.0" />
|
||||
</ItemGroup>
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<PublishProtocol>FileSystem</PublishProtocol>
|
||||
<TargetFramework>net6.0-windows10.0.19041.0</TargetFramework>
|
||||
<TargetFramework>net7.0-windows10.0.19041.0</TargetFramework>
|
||||
<PublishDir>$(PowerToysRoot)\$(Platform)\$(Configuration)\modules\launcher</PublishDir>
|
||||
<RuntimeIdentifier>win-$(Platform)</RuntimeIdentifier>
|
||||
<SelfContained>false</SelfContained>
|
||||
|
||||
Reference in New Issue
Block a user