-
-
Notifications
You must be signed in to change notification settings - Fork 448
Upgrade to .net 6 #803
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
Upgrade to .net 6 #803
Conversation
This need to be delayed to later.
personally feel a bit too soon to do so considering we just done it for 1.8.0 |
also those that are using this pr build, please list what areas have been tested, so reviewer doesnt have to test all again. |
It's similar to our dotnet 5 upgrade. Plugin will work even though they don't upgrade. |
yeah it's true that it may be a bit early. Appveyor hasn't finished their visual studio 2022 image🤣. However, it's easy to do, so I just create one for test. |
that probably means we take half year to finish the 1.8.0. Probably a bit slow🤣 |
Yeah true, but to others, we just done a force, if we do this it's going to feel like another force update so soon. |
Yeah they will work but there is potential that 1.8.x users download new plugins with the new api then will break. Any plugins built with 6 will also break for these users. |
hm that's true |
@jjw24 I think it is possible to add multiple framework target here. So there's no issue of forcing people to use net6.0. We can remove it in the future. |
interesting. let's test it out |
.Net 7 may be released in November. Do we want to directly go to .Net 7 if we are not planning to release soon (Or give preview a try)? |
I have been actually daily driving this .net 6 change atm and I'm thinking of merging it to dev once tested some scenarios, so maybe hold off 7 or do it in a separate PR? |
@taooceros can you try doing a fresh build of this branch locally using visual studio 2022, are you getting any build errors? |
I can build it successfully on vs2022 |
I am getting the Fody error where the DLL is locked down by another process, tried doing a clean of both project and the .nuget folder as well as restarting VS2022. Did you get this error? |
I did. But it disappear after a restart. |
I am getting the above error consistently with two separate machines. I don't think it's necessary to target .Net 5, if any user is having issues later on running older flow version installing plugins using the new .Net 6 plugin API we can just ask them to upgrade Flow. I will remove the .Net 5 target framework. |
Getting consistent build error in VS2022 where the compiled plugin dll is locked down by a process.
It's pretty easy to upgrade (just replace all net5.0 with net6.0), so I don't see a reason we don't want to upgrade.