-
-
Notifications
You must be signed in to change notification settings - Fork 334
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
Update to .Net5 #228
Update to .Net5 #228
Conversation
@taooceros looking good thus far. Remember to also rename the publish profile: |
ok |
@taooceros you forgot to check in the renamed publish-profile file. |
<Page Include="SettingsControl.xaml"> | ||
<Generator>MSBuild:Compile</Generator> | ||
<SubType>Designer</SubType> | ||
</Page> | ||
<Page Include="SearchSourceSetting.xaml"> | ||
<Generator>MSBuild:Compile</Generator> | ||
<SubType>Designer</SubType> | ||
</Page> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this removal intended?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it said duplicate page file, since the default page file has included them.
@@ -109,7 +109,6 @@ | |||
</ItemGroup> | |||
|
|||
<ItemGroup> | |||
<PackageReference Include="Microsoft.Windows.SDK.Contracts" Version="10.0.18362.2005" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this removal intended?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, forget to response. Yes, because .Net 5 change the way of using RT. You can see on the TargetFramework of Program plugin is different from simply net5-windows but adding the version number. That replace the nuget package.
apologies if you have already done so, can we test to double check external plugins still works fine with this upgrade (i know it's just core to 5, but just to make sure) |
Sure, no need for hurry, just put it here for checking. |
Thank you for reminding! |
Updating to .Net 5 and using WinRT seems cause the |
is this still draft or ready for review |
This should be ready now |
Could you please list all the tests that have been done so we can cover all basis |
Will do that after I have my computer. 😉 |
Test Checked:
|
Another things is that .Net 5 obsolete BinaryFormatter because of security issue (though I think it will be secure for us). Should we find an alternative for that? |
Where is it used? |
Only in a few place about the cache. Win32 and UWP, and image usage storage. |
if we can change it, lets do it. Are there any preferred alternatives? |
I am not quite sure. Maybe it is quite possible to simply use JsonStorage, but not sure about whether it will be slower. Another alternative is ProtoBuf-net, and I have taken a try, v2 works fine while v3 doesn't work because of the cyclic reference for UWP. |
Remember to update readme as well |
ok so we need to sort Everything out before 1.8.0 goes out then right? |
yes, because Everything plugin use an old Flow.Infracturature, but that hasn't been loaded to Flow because Flow exist a new one. Actually, due to the new plugin api changed, everything plugin maybe able to get rid of it. |
Let me take a look on whether the xaml do have loaded by default. |
bookmark plugin got the same issue... |
Will take a look on both. Maybe resource xaml is not included by default, but page xaml does😅 |
I add the Content back, and they work. Thank you for the discovery! Seems that only the Page files are loaded by default. |
but that will mean these plugins will not get the new updates to Plugin project |
If they want to get the updated version, they just need to upgrade to .Net 5. It is really easy to do that within a small project. (simply change the targetframework) |
Plugin project will need to be a major version bump then |
Isn't we bump that from 1.4.0 to 1.5.0? Or you mean to bump it to 2.0.0 |
bump to 2.0.0, it's a breaking change for plugins |
Would you please do that for me? I am not quite sure how to bump version😂 |
yeah no problem, leave it with me. I will do that when we release |
maybe when you have time have a look at how we can sync the format. I dont want to end up with too many 'fix format' commits 😛 When I get some time I will see if VSCode is a better tool than Visual Studio and switch if so, because i use it for other programming stuff. |
Yeah sure🤣🤣
I think VSCode is quite great for us to use, even though it will not be able to us to track CPU usage and Memory usage with VSCode. |
No wonder occasionally you leave unused namespaces around 😆 PR LGTM, couple more testing and will merge in with 1.8.0 |
Pull request was closed
.Net 5 Upgrade.
close #197