I am working on a VS 2019 Extension that is currently using .NET Framework (4.8). I want to upgrade it to .NET 5.0 but the VSIX project does not support it or any .NET Core version. I want to avoid .NET Standard if at all possible. I can find no info on the next Visual Studio version (2021?) and if .NET 5.0 VSIX projects will be supported or not. I would think Microsoft would be working on this but on the other hand VS is still a 32 bit app. :-) Sorry if this is not the right venue but this is my first question here.
Writing Visual Studio Extension (VSIX) with .NET 5.0
Your main extension must be x86 .NET Framework, as it is hosted by the VS process. You could move some your your functions to .NET Standard 2.0, or to a .NET Core 5.0 console app.
Thanks. I don't think I can take advantage of all of the 5.0 features in a Standard 2.0 library however and I cant run these libraries out of process. I think I will just have to wait for Microsoft to update VS to .NET 5.0 internally. (Hopefully VS 2021) –
Glaring
Don't hold your breath –
Supporting
I wont... Its 2021 and VS is still a 32 bit app! –
Glaring
@Glaring I know it doesn't help, but it's still 2021 and VS is now 64 bit! –
Blowhole
Finally!!!! VS 2022 is 64 bit but still runs on .NET Framework. (I understand that they don't want to introduce 2 major changes in one rev) I will have to wait at least to the next rev (2024?) for .NET 5 or 6 or whatever Core version there is by then. Still not holding breath. –
Glaring
© 2022 - 2024 — McMap. All rights reserved.
baseline
of all .NET implementions (including .NET Core) that meet the spec at a certain point in time. So if you intended to use .NET Core 3.0 well that's just something that is under the .NET Standard 2.1 banner. Going forward it is just .NET 5, a single implemention for everything. The rest is kinda moot – Woolly