Several times under the Microsoft community edition, put down is VS2017, not 2019
After the installation is complete, found only create dotnet core console application, can't create a desktop application
My basic needs of the project:
1, of course, can run on Linux, Linux is certainly have a desktop, operating system has the form
2, the application form and tray icon
3, TCP and serial/usb communication can
4, can use HttpListener class in dotnet framework, or similar function class, many of my function relies on it provides API
5, thread support
CodePudding user response:
.net core desktop applications and Windows applications, cross-platform default only console application, if need to develop a cross-platform GUI program, you can see the mono or Avalonia,
CodePudding user response:
Website must be downloaded 2019, don't know where you download the
https://visualstudio.microsoft.com/zh-hans/downloads/
On Linux is certainly no Form, WinForm is Windows Form, WPF is Windows Presentation Foundation, cannot leave the Windows,
Your program is to interact with the hardware is given priority to, cross-platform framework may not be suitable for you, too, which is more on the interface, cross-platform,
CodePudding user response:
Reference
WinForm project last year, the simple function, use HttpListener opened the local port 8123 for listening, then according to the access URL information call the local third party DLL Consider to run on Windows XP, and makes it easy to install and other reasons, then I use VS2010 development, using dotnet framework 4.0 profile Now want to consider to make it run on Linux, and dotnet core can be cross-platform, want to consult everybody, can use the dotnet core compilation, or have a better solution See you another problem questions, I think, with the core words to make a website, anyway, the core site also does not rely on iis, listening can solve, control via a browser interface to make web pages, the key is your third party can support cross-platform DLL? Don't support what are white blind CodePudding user response:
reference 1/X - I - n reply: .net core desktop applications and Windows applications, cross-platform default only console application, if the need to develop a cross-platform GUI program, you can see the mono or Avalonia, You mean, dotnet core Windows application cannot run on Linux? CodePudding user response:
reference 4 building small wolves response: Quote: refer to 1st floor X - I - n reply: .net core desktop applications and Windows applications, cross-platform default only console application, if the need to develop a cross-platform GUI program, you can see the mono or Avalonia, You mean, dotnet core Windows application cannot run on Linux? Right, regardless of the.net framework, the.net core,. Net 5, as long as it is "Windows application", can only run in Windows, especially the graphics program, as recommended above, cross-platform web actually is the best solution, if the conditions with no, can consider to mono, avalonia these, CodePudding user response:
reference 4 building small wolves response: Quote: refer to 1st floor X - I - n reply: .net core desktop applications and Windows applications, cross-platform default only console application, if the need to develop a cross-platform GUI program, you can see the mono or Avalonia, You mean, dotnet core Windows application cannot run on Linux? Yes. CodePudding user response:
In fact, not only control does not support the winform, even the System. What Drawing API in Drawing at all, because the paintings dotted line Drawing API is a Windows gdi component provides, but the Drawing does not involve interface, these are a third party in the Linux implementation of another time, can be roughly compatible, CodePudding user response:
reference HZTLTGG reply: 3/f reference WinForm project last year, the simple function, use HttpListener opened the local port 8123 for listening, then according to the access URL information call the local third party DLL Consider to run on Windows XP, and makes it easy to install and other reasons, then I use VS2010 development, using dotnet framework 4.0 profile Now want to consider to make it run on Linux, and dotnet core can be cross-platform, want to consult everybody, can use the dotnet core compilation, or have a better solution See you another problem questions, I think, with the core words to make a website, anyway, the core site also does not rely on iis, listening can solve, control via a browser interface to make web pages, the key is your third party can support cross-platform DLL? Don't support what is white blind Thank you very much! Yes, this is the same question! Now project, the project is a WEB application, the client has solved several problems: 1, because there are part of the client, need some device via the USB connection, the manufacturer provides the DLL, and now the new version of the browser calls the DLL is very trouble, so do a Windows application, open an HTTP client port, make request to access it through a WEB browser, and then through the Windows program calls the DLL 2, some client can use the Processor starts the process of the third party to provide 3, split screen, just like selling tickets at the railway station, see the conductor of the interface is very rich, then there is a small screen, with a lot of words to tell the window in front of the customer, you buy is which day which train ticket, amount receivable/back, under the Windows, the client computer connect two monitors, client Windows programs, after receipt of the corresponding request starts a Windows window display in the small screen, form embedded a WebBrowser, If the client use the web page, the third function may be very difficult CodePudding user response:
I feel or don't change the dotnet core, do not have what meaning