MP1 vs 1.37 Visual Studio Version (2 Viewers)

Anthony Vaughan

MP Donator
  • Premium Supporter
  • June 25, 2015
    596
    367
    Home Country
    United Kingdom United Kingdom
    Now that you are using .NET 4.7.2, over 4.0, in the upcoming release of MP1 vs 1.37, are you using VS 2022 to compile or are you sticking with 2019?
     

    Anthony Vaughan

    MP Donator
  • Premium Supporter
  • June 25, 2015
    596
    367
    Home Country
    United Kingdom United Kingdom
    I use 2019
    Yes. So do I.

    I also have VS 2022 installed to handle my own development; mostly using WPF.

    Ages ago I accidentally started MP1 by double-clicking the .sln file, which opened VS 2022, and it seemed to want to make loads of changes to infrastructure. It seemed to expect .NET framework later than 4.0 - I have no idea why. I've steered clear of using VS 2022 for MP1 since then.

    So, I've been using a batch file that ensures MP1 is opened using VS 2019 ever since.

    I think I'll try using VS 2022 to open the new version of MP1 to see whether I get the same response as last time. I'll let you know what happens.
     

    Anthony Vaughan

    MP Donator
  • Premium Supporter
  • June 25, 2015
    596
    367
    Home Country
    United Kingdom United Kingdom
    I've just tried compiling vs 1.36 and 1.37 using VS 2022 and had no issues. I also tried opening 1.31 using VS 2022 without issues as well.

    I can only think that in the early days of VS 2022 there were issues with projects only using 4.0 that no longer apply.

    So, VS 2022 seems to work fine for MP1.

    At least I don't have to maintain more than one version of VS any longer;).
     

    Anthony Vaughan

    MP Donator
  • Premium Supporter
  • June 25, 2015
    596
    367
    Home Country
    United Kingdom United Kingdom
    Talking about moving to .NET framework vs 4.7.2, I had an issue with EntityFramework after moving the projects to 4.7.2; EntityFramework still being at vs 4.0. As soon as I moved EntityFramework to 4.5 to issues went away. Bear in mind that I use EntityFramework for my refactored version.

    This suggests to me that you may want to consider moving your packages, BASS.NET etc, to at least 4.5, though I notice that BASS.NET can go to net47.

    Does that make sense?
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,959
    13,420
    Kyiv
    Home Country
    Ukraine Ukraine
    I don't know .NET well, and I don't know how it is compatible across versions, upgrading to a higher version may break compatibility with current plugins, many of which are available as source code, others are not.
    Although we already did something similar when upgrading to x64.
    But overall it was not a bad idea to discuss it.

    @Developers
     

    andy_p

    Portal Member
    July 10, 2008
    18
    5
    London
    Home Country
    United Kingdom United Kingdom
    I hope you don't get stuck on the "old" entity framework. Switching to EF5 and .Net Core is quite a leap, but I doubt the old .Net framework will get much love from MS going forwards.
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,959
    13,420
    Kyiv
    Home Country
    Ukraine Ukraine
    I hope you don't get stuck on the "old" entity framework.
    We depend not only on plugins but also on the libraries used, not all of them are available in the new framework... Mediaportal without plugins is not a Mediaportal.
    Well, we also lack developers who would understand more with C# and .NET.
     

    andy_p

    Portal Member
    July 10, 2008
    18
    5
    London
    Home Country
    United Kingdom United Kingdom
    we also lack developers who would understand more with C# and .NET.
    I had always said I wanted to contribute to more projects when I retired.
    I've been retired for a year now and haven't really done anything useful yet - maybe this is my chance :)
     

    Users who are viewing this thread

    Similar threads

    I currently have two Quatros running, one connect, one duo using OTA antennae, mostly UHF fringe area, mostly cat5 local network. Hauppauge card retired long ago. I have also retired very early SD units, the Quatros seem to work much better than the older units. Go to SD's support website and download and install the windows...
    I currently have two Quatros running, one connect, one duo using OTA antennae, mostly UHF fringe area, mostly cat5 local network...
    I am currently using a Hauppauge WinTV QuadHD PCIe card on MP1 (1.37) for DVB-T, but 2 of the tuners have died. Thinking about...
    Replies
    3
    Views
    1K
    MP 1.37 Final (Willow) Bugfix II released, download links updated...
    MP 1.37 Final (Willow) Bugfix II released, download links updated...
    We have just released MediaPortal 1.37 - Willow x86 and x64 version. Highlights of this release Bugfixes: [MP1-5232] - GPU...
    Replies
    4
    Views
    3K
    Thank, very helpful. My download was done today from the link on Download MediaPortal for free! - MEDIAPORTAL but is the initial release MediaPortalSetup_x86_1.37.000_2025-04-14-08-37.zip. The page MediaPortal 1.37 Release - MEDIAPORTAL has a more recent link, MediaPortalSetup_x86_1.37.000_2025-05-03-18-19.zip. I've now installed...
    Thank, very helpful. My download was done today from the link on Download MediaPortal for free! - MEDIAPORTAL but is the initial...
    I updated to 1.37 (x86) today, and the TV service is now failing to start. TVService.log has this line: Tvservice stopped due to...
    Replies
    2
    Views
    1K
    Now with Version 1.37 x64 MP is near to perfect with repect to speed, robustness and funtionality. There is just one point where I have an Idea for further improvement. As I am not too interested in advetisments, I am using comskip to mark times of ads, which is normally working, as it should but produces an error when trying to...
    Now with Version 1.37 x64 MP is near to perfect with repect to speed, robustness and funtionality. There is just one point where I...
    Now with Version 1.37 x64 MP is near to perfect with repect to speed, robustness and funtionality. There is just one point where I...
    Replies
    0
    Views
    966
    I used to use the grabber but a few years back it disappeared on FreeSat DVBS. That is when I changed to EPG Collector. The extra benefit is that it collects from the Sky platform so it will give EPG for all the FreeSat channels plus the unencrypted movie channels on the Sky platform. It also allows me to pick the channels dedicated...
    I used to use the grabber but a few years back it disappeared on FreeSat DVBS. That is when I changed to EPG Collector. The extra...
    Hi everyone, I hope you are all well My Mum's Mediaportal lost it's marbles thanks to Microsoft update, (even though I had update...
    Replies
    2
    Views
    2K
    Top Bottom