mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-20 06:47:56 +08:00
c651a4b36e
* [Setup] Add support for installing both dotnet 3 and 5 (#12306) * [PowerToys Run] Update to net5 (#12286) * Change targets of projects * Update Microsoft.Toolkit.Uwp.Notifications, changed TargetFramework for PowerLauncher project in order to resolve an issue with ModernWpf * Specify windows version in order to fix build errors * Fixed suppressed warnings * Updated sdk * Removed usage of obsolete GlobalAssemblyCache * Removed obsolete DesktopNotificationManagerCompat * Update nuget versions * Update installer * [PowerToys Run] Obsolete APIs and warnings introduced in .net5 (#12423) * Change targets of projects * Update Microsoft.Toolkit.Uwp.Notifications, changed TargetFramework for PowerLauncher project in order to resolve an issue with ModernWpf * Fixed suppressed warnings * Removed obsolete DesktopNotificationManagerCompat * Get rid of binary formatter * Update tests * Don't include new image cache file to the report * There's no need to call IsOwner as it doesn't make sense * Fix different nullability exception * Exclude extra dlls from tests Co-authored-by: Andrey Nekrasov <yuyoyuppe@users.noreply.github.com>
12 lines
378 B
C++
12 lines
378 B
C++
#pragma once
|
|
|
|
#include <filesystem>
|
|
#include <optional>
|
|
|
|
namespace fs = std::filesystem;
|
|
namespace updating
|
|
{
|
|
bool dotnet_is_installed(const size_t major, const size_t minor, const size_t requiredMinimalPatch);
|
|
std::optional<fs::path> download_dotnet(const wchar_t* dotnetDesktopDownloadLink);
|
|
bool install_dotnet(fs::path dotnet_download_path, const bool silent);
|
|
} |