Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
Microsoft Open Source Windows

Microsoft Launches Visual Studio 2019 Preview 1 For Windows and Mac; Open-Sources WPF, Forms and WinUI (venturebeat.com) 72

An anonymous reader writes: At its Microsoft Connect(); 2018 virtual event today, Microsoft announced the initial public preview of Visual Studio 2019 -- you can download it now for Windows and Mac. Separately, .NET Core 2.2 has hit general availability and .NET Core 3.0 Preview 1 is also available today.

At the event today, Microsoft also made some open-source announcements, as is now common at the company's developer shindigs. Microsoft open-sourced three popular Windows UX frameworks on GitHub: Windows Presentation Foundation (WPF), Windows Forms, and Windows UI XAML Library (WinUI). Additionally, Microsoft announced the expansion of the .NET Foundation's membership model.

This discussion has been archived. No new comments can be posted.

Microsoft Launches Visual Studio 2019 Preview 1 For Windows and Mac; Open-Sources WPF, Forms and WinUI

Comments Filter:
  • Mixed feelings (Score:5, Interesting)

    by AmiMoJo ( 196126 ) on Tuesday December 04, 2018 @05:33PM (#57749926) Homepage Journal

    WPF is actually great, probably the best GUI framework I've come across so far. I'd love to see cross platform support - being able to create say a .NET app with WPF UI that can run under Windows and Mono would be fantastic.

    On the other hand can we please slow down with the Visual Studio updates. Do we really need a new version every two years?

    • Re:Mixed feelings (Score:5, Insightful)

      by OzPeter ( 195038 ) on Tuesday December 04, 2018 @06:31PM (#57750186)

      On the other hand can we please slow down with the Visual Studio updates. Do we really need a new version every two years?

      Pro-tip .. you don't have to upgrade to a new version of VS when it comes out, unless .. gasp .. you want to use the new features or fixes

      • by AmiMoJo ( 196126 )

        Problem is everyone else does and then you have trouble opening their projects... And they do the usual thing of abandoning the old one so if you want bug fixes you better upgrade.

        • Problem is everyone else does and then you have trouble opening their projects...

          These days sensible projects use systems like CMake so that you only need to upgrade your compiler if the project has a requirement for it. Granted not every project does but it's a more sane solution to the update issue.

        • In a ".NET Core" world, you should have considerably less trouble with that. I know I've been managing my projects from the dotnet command line tool for a while now. The GUI was always kind of an inconvenience for that.

          Of course you could use the GUI to stage some changes to the project file, but before checking it in, you should remove all the VS specific cruft and slim it down to pure .NET.

          On the other hand, if you're still programming in C and C++ (I write Linux kernel modules in VS) you're screwed. I th
      • We've upgraded to the next version of Visual Studio when the version after that has been out for a few months.

        We get the benefits of the latest VS by:
        - Build a VM with the latest VS and static analysis tools
        - Put our source code on the VM
        - Build with VS, fix compile errors
        - Run the full static analysis tool suite, fix most things found
        - Save source code
        - Put source code on out existting dev environment, excluding project files, solution files, etc.
        - Build source with the version of VS we use today (not the

    • by Anonymous Coward

      #1 Microsoft has had no direction and avoided any statement of direction on WPF / desktop UI for the last 8 years. MS wanted everyone to build store apps which didn't fly for corporations

      #2 Microsoft in a friendly has packed a suitcase and is heading to the door to leave WPF / Winforms / WinUI with sending back to the GitHub repository a 'thinking of you card' every Christmas and Easter.

      #3 Microsoft is remaking itself into a company which sells an Office suite, Windows server operating systems, Windows des

      • 1) WPF is called UWP now... it's been since the rewrite. It's pretty nice and while the rewrite never really caught on because WPF was more "nerd friendly", UWP was clearly more user friendly. WPF didn't require a graphics artist, UWP did... etc... That said, if you invest some time in UWP and learning to make more appy type apps as opposed to applications, you'll like it.

        2) Winforms had to go. It was a thin and almost useless replacement for Visual Basic 6. You would never consider writing a new applicatio
        • UWP is assuredly NOT WPF. It was meant to replace it, but it didn't, because it threw users of legacy Windows versions under the bus.
    • by rl117 ( 110595 )
      We don't need a new version of the IDE every 2 years. But the compiler and associated tools bring much needed bugfixes and stuff like C++17 and soon C++20. Shame it's all bundled so tightly together.
    • I love all the updates to Visual Studio. With VS2017 I reported problems with CMake and all have been fixed in updates. The software I work on is now much simpler to build on Windows than it was before. Almost all the issues I reported where new feature requests.

    • No, JavaFX crushes WPF.

  • Notes and caveats (Score:5, Informative)

    by Daltorak ( 122403 ) on Tuesday December 04, 2018 @05:36PM (#57749940)

    A lot of people around here don't keep up with Microsoft technology, so here's a few notes and caveats:

    1. The Windows and Mac versions of Visual Studio 2019 are completely separate products built from different code bases. They share compilers and .NET Core stuff, and a lot of work is going into making the editors feel the same. But you can't actually use Visual Studio for Mac to work on classic Win32 / .NET Framework applications.

    2. Windows Forms and WPF are also Windows-only technology, and that isn't changing even though they'll work with .NET Core 3. There are way too many hooks and dependencies on Windows-specific technology (e.g. DirectX, text rendering, themes, handles) for these to be made into cross-platform applications without major rearchitecting work. In other words, don't wait up for them to produce a competitor to Qt....

    3. The source code for Windows Forms and WPF have actually been available as "reference source" for more than a decade, so there are no real surprises to be discovered here.

    4. All three libraries are being hosted on Github and are licensed under MIT. These aren't mirrors -- the teams at Microsoft will actually be doing their everyday work in the open on Github. Unfortunately, the full commit history didn't come along for the ride.

    5. One of the nice little improvements here is the ability to package your own version of Windows Forms with your app, instead of relying on whatever is installed with the system. .NET Core doesn't (currently) support static linking so it'll still have to exist as a DLL file beside the EXE.

    • by OzPeter ( 195038 )

      5. One of the nice little improvements here is the ability to package your own version of Windows Forms with your app, instead of relying on whatever is installed with the system. .NET Core doesn't (currently) support static linking so it'll still have to exist as a DLL file beside the EXE.

      I'm curious about why you would want to do this. Windows Forms has been around for such a long time I would have thought that the technology would be considered a stable standard by now. Or is the intention to package it up for non-windows platforms?

      1. The Windows and Mac versions of Visual Studio 2019 are completely separate products built from different code bases. They share compilers and .NET Core stuff, and a lot of work is going into making the editors feel the same. But you can't actually use Visual Studio for Mac to work on classic Win32 / .NET Framework applications.

      Doe this mean that I can now build an C#/Xamarin iOS/Android/MS app on OS X using VS for OS X, instead of writing in Windows and still requiring an OS X box for submission?

      • Just like in Xamarin Studio for Mac, you can use VS for Mac to code for iOS and Android. As for writing an MS app, I think we're still a little bit off from having full UWP support on Mac for development.

        I'm really hoping to see Mac support for UWP some day.
    • by Kjella ( 173770 )

      2. Windows Forms and WPF are also Windows-only technology, and that isn't changing even though they'll work with .NET Core 3. There are way too many hooks and dependencies on Windows-specific technology (e.g. DirectX, text rendering, themes, handles) for these to be made into cross-platform applications without major rearchitecting work. In other words, don't wait up for them to produce a competitor to Qt....

      Wouldn't WINE potentially have all the missing bits? With .NET Core and WinForms/WPF under the MIT license, WINE under LGPL it should be possible to build non-Windows versions of both OSS and proprietary apps on the Microsoft stack with very little hassle. Granted, the WINE reimplementations might have bugs or limitations but when you have an open source running on top it should be a lot easier to do a side-by-side comparison with Windows and confirm that at least for the way WinForms/WPF uses these librari

  • >WPF is now OpenSource

    Looking forward to a Linux/OpenGL port.
    Always wanted Moonlight to eventually become a WPF replacement...

    • I wouldn't be surprised if it is a wrapper around a bunch of Win32 API calls.

      • It is in fact a wrapper around these things as well as DirectX. I don't expect to see much of it on non-Windows platforms anytime soon. But I'd love to be proven wrong. It's one of the better UI technologies out there.
        • I liked using WinForms when I did C# programming. I also liked C# as a language. It was leagues ahead of the crap they had before. But still, like you said, it was not something easy to port to other platforms. I still do most of my programming in C or C++ however.

          I have looked at Rust but the syntax seems to get more obnoxious with each release and to be honest, I do not feel like writing code for a language that is in a perpetual state of flux.

  • Does this work with Python?

    • by Anonymous Coward

      Yes, IronPython. That's the great thing about .NET, it's built around things like the CLR and CTS which means anything running on it can be used by any language running on it of which IronPython is perhaps one of the single biggest success stories.

  • by Anonymous Coward

    NET core spies on people and is in violation of GDPR laws in EU. It collect personal information about your PC such is your MAC address.

    There is a bug report where people attempted to persuade the devs (MS) to make it "opt in" so it is disabled by default. However, dev basically told them that they are not going to stop spying on people:

    https://github.com/dotnet/cli/issues/3093

    This is the main reason why we cannot use NET in our organization. It is really too bad as it could be rather useful.

  • I just ordered a USB floppy drive so I can boot my old computer in DOS. That's my big announcement.

The truth of a proposition has nothing to do with its credibility. And vice versa.

Working...