Skip to content

Commit 374bb79

Browse files
authored
Merge pull request #228 from taooceros/DotNet5Upgrade
Update to .Net5
2 parents 1390b9b + 479bd75 commit 374bb79

File tree

24 files changed

+59
-68
lines changed

24 files changed

+59
-68
lines changed

Flow.Launcher.Core/Flow.Launcher.Core.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>netcoreapp3.1</TargetFramework>
4+
<TargetFramework>net5.0-windows</TargetFramework>
55
<UseWpf>true</UseWpf>
66
<UseWindowsForms>true</UseWindowsForms>
77
<OutputType>Library</OutputType>

Flow.Launcher.Infrastructure/Flow.Launcher.Infrastructure.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>netcoreapp3.1</TargetFramework>
4+
<TargetFramework>net5.0-windows</TargetFramework>
55
<ProjectGuid>{4FD29318-A8AB-4D8F-AA47-60BC241B8DA3}</ProjectGuid>
66
<OutputType>Library</OutputType>
77
<UseWpf>true</UseWpf>

Flow.Launcher.Plugin/Flow.Launcher.Plugin.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>netcoreapp3.1</TargetFramework>
4+
<TargetFramework>net5.0-windows</TargetFramework>
55
<ProjectGuid>{8451ECDD-2EA4-4966-BB0A-7BBC40138E80}</ProjectGuid>
66
<UseWPF>true</UseWPF>
77
<OutputType>Library</OutputType>

Flow.Launcher.Test/Flow.Launcher.Test.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>netcoreapp3.1</TargetFramework>
4+
<TargetFramework>net5.0-windows10.0.19041.0</TargetFramework>
55
<ProjectGuid>{FF742965-9A80-41A5-B042-D6C7D3A21708}</ProjectGuid>
66
<OutputType>Library</OutputType>
77
<AppDesignerFolder>Properties</AppDesignerFolder>

Flow.Launcher/App.xaml.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ await Stopwatch.NormalAsync("|App.OnStartup|Startup cost", async () =>
6161
_settingsVM = new SettingWindowViewModel(_updater, _portable);
6262
_settings = _settingsVM.Settings;
6363

64-
6564
_alphabet.Initialize(_settings);
6665
_stringMatcher = new StringMatcher(_alphabet);
6766
StringMatcher.Instance = _stringMatcher;

Flow.Launcher/Flow.Launcher.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
44
<OutputType>WinExe</OutputType>
5-
<TargetFramework>netcoreapp3.1</TargetFramework>
5+
<TargetFramework>net5.0-windows10.0.19041.0</TargetFramework>
66
<UseWPF>true</UseWPF>
77
<UseWindowsForms>true</UseWindowsForms>
88
<StartupObject>Flow.Launcher.App</StartupObject>
@@ -81,7 +81,7 @@
8181

8282
<ItemGroup>
8383
<PackageReference Include="InputSimulator" Version="1.0.4" />
84-
<PackageReference Include="ModernWpfUI" Version="0.8.3" />
84+
<PackageReference Include="ModernWpfUI" Version="0.9.3" />
8585
<PackageReference Include="NHotkey.Wpf" Version="1.2.1" />
8686
<PackageReference Include="NuGet.CommandLine" Version="5.4.0">
8787
<PrivateAssets>all</PrivateAssets>

Flow.Launcher/Properties/PublishProfiles/NetCore3.1-SelfContained.pubxml renamed to Flow.Launcher/Properties/PublishProfiles/Net5.0-SelfContained.pubxml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
77
<PublishProtocol>FileSystem</PublishProtocol>
88
<Configuration>Release</Configuration>
99
<Platform>Any CPU</Platform>
10-
<TargetFramework>netcoreapp3.1</TargetFramework>
10+
<TargetFramework>net5.0-windows10.0.19041.0</TargetFramework>
1111
<PublishDir>..\Output\Release\</PublishDir>
1212
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
1313
<SelfContained>true</SelfContained>

Plugins/Flow.Launcher.Plugin.BrowserBookmark/Flow.Launcher.Plugin.BrowserBookmark.csproj

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
44
<OutputType>Library</OutputType>
5-
<TargetFramework>netcoreapp3.1</TargetFramework>
5+
<TargetFramework>net5.0-windows</TargetFramework>
6+
<UseWPF>true</UseWPF>
67
<ProjectGuid>{9B130CC5-14FB-41FF-B310-0A95B6894C37}</ProjectGuid>
78
<AppDesignerFolder>Properties</AppDesignerFolder>
89
<RootNamespace>Flow.Launcher.Plugin.BrowserBookmark</RootNamespace>
@@ -54,22 +55,13 @@
5455
</ItemGroup>
5556

5657
<ItemGroup>
57-
<Content Include="Languages\*.xaml">
58-
<Generator>MSBuild:Compile</Generator>
59-
<SubType>Designer</SubType>
58+
<Content Include="Images\*.png">
6059
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
6160
</Content>
62-
<Content Include="Images\*.png">
61+
<Content Include="Languages\*.xaml">
6362
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
6463
</Content>
6564
</ItemGroup>
66-
67-
<ItemGroup>
68-
<Page Include="Views\SettingsControl.xaml">
69-
<Generator>MSBuild:Compile</Generator>
70-
<SubType>Designer</SubType>
71-
</Page>
72-
</ItemGroup>
7365

7466
<ItemGroup>
7567
<PackageReference Include="System.Data.SQLite" Version="1.0.112" />

Plugins/Flow.Launcher.Plugin.Calculator/Flow.Launcher.Plugin.Calculator.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
44
<OutputType>Library</OutputType>
5-
<TargetFramework>netcoreapp3.1</TargetFramework>
5+
<TargetFramework>net5.0-windows</TargetFramework>
66
<ProjectGuid>{59BD9891-3837-438A-958D-ADC7F91F6F7E}</ProjectGuid>
77
<AppDesignerFolder>Properties</AppDesignerFolder>
88
<RootNamespace>Flow.Launcher.Plugin.Caculator</RootNamespace>

Plugins/Flow.Launcher.Plugin.ControlPanel/Flow.Launcher.Plugin.ControlPanel.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
44
<OutputType>Library</OutputType>
5-
<TargetFramework>netcoreapp3.1</TargetFramework>
5+
<TargetFramework>net5.0-windows</TargetFramework>
66
<ProjectGuid>{1EE20B48-82FB-48A2-8086-675D6DDAB4F0}</ProjectGuid>
77
<AppDesignerFolder>Properties</AppDesignerFolder>
88
<RootNamespace>Flow.Launcher.Plugin.ControlPanel</RootNamespace>

0 commit comments

Comments
 (0)