Build Visual Studio Project for Linux Systems - linux

Is there a way to build a project in visual studio for linux sytems? This Github repository (https://github.com/nilaoda/N_m3u8DL-CLI) is very useful for my project, in this repository is just the visual studio project files (.sln ,c# source code etc.), I cloned it in my visual studio and want to build it but not as executable but for linux system? Is this somehow possible?

Looking at their documentation (translated to English), the application is built on the .NET Framework, which is only intended to work on Windows-based devices. Their documentation also states it's supported on Windows XP and up, and requires the .NET Framework 4.6 runtime, which Linux can't use.
If it was using .NET (previously .NET Core) you'd be in business, but as is, without a rewrite in .NET, you won't be able to run this or build it for Linux devices.

Related

How to do .NET Core remote development with Visual Studio 2019

Is it possible to develop and build a .NET Core application locally, then push it to a remote Linux system, run it there and attach the remote debugger?
Can I execute a run script from within Visual Studio which does all the tasks via SSH? (I'm thinking of something similiar to run configuration "Shell Script" in Intellij IDE.)
I'm aware of Visual Studio Code and the remote development extension, but I'm not a fan of that IDE.
If you're thinking of something like what you could do with Java in for example Netbeans, or c++ for linux in Visual Studio, then you can't do that easily/ as conveniently with .NET core and linux unfortunately.

How to change Visual Studio 2017 Windows build to Linux build

So, I have a project being built and test on Windows platform, since Visual Studio 2017 works and run program most comfortable for me in Windows. Now, that I have completed debug most part of the code, I'll have to change my platform built target to Linux.
I used an external project (lib) to help with the internet control, which it's built target is also Windows.
Both the project are written with under C++17 standards so cross-platform should work fine.
Following the instruction on Microsoft website, I had successfully built a test project on my remote Linux server.
However, all the tutorials seem to ask people to start up a new "Linux Project", in which I did for the test project. The question is, since I already have a project/solution created and the build target is Windows platform, is there a way to switch the build to Linux Remote Build?
I've tried opening project settings, but the "target build" option is always Windows 10 and is not changeable.

How to create GUI in dotnet core in Linux?

Need for laboratory programming. I have monodevelop and there safely run Gtk# c mono, but I would like to run Gtk# with dotnet core. There are still vscode with dotnet core, but I don't know how to connect it to Gtk#.
Is it possible to change monodevelop to mono for dotnet core?
OR
Is it possible to do so would be in vscode worked with Gtk#?
Bit of a late reaction. Recently started using Avalonia UI, which supports a lot of the standard WPF XAML. Also using Avalon Studio, which can be built on your Linux, if you'd like to develop on Linux, for Windows you can use a Avalonia addon for Visual Studio. Avalon Studio mimicking a very basic Visual Studio (like 2005/2008 express/community editions), but it is very unstable.

Developing code in Visual studio that also runs in Linux

I have developed Visual C++ 2008 code that runs in Windows. I have made it cross platform also so that it runs under Linux.
I am greatly concerned about distributing source code and even just libraries that Linux users can link to.
I have used CMake and Code::Blocks (only in Linux) but it was still developed using Visual Studio 2008 for most development.
The license looked similar for the professional version and the express version. Let me know if binaries can be released to run under Linux and also if it is okay to open source the entire project. I am pretty far into this project. Maybe it should have been done entirely in Linux.
I am also interested to jump to another Windows compiler such as MinGW in addition because of the Visual Studio licensing restrictions. Is this the path that cross platform programs are usually created or can they be created primarily with the professional or express Visual Studio compilers?

CRegKey Visual Studio 2012

I am trying to build a setup bootstrapper which needs to run on every OS from XP to 8. I need a way to detect if the .NET Framework is installed.
I am currently using CRegKey, but when upgrading to Visual Studio 2012 CRegKey does not seem to exist (atlbase.h). This MSDN article says that "This class and its members cannot be used in applications that execute in the Windows Runtime."
Is there another class I can use to read from the registry, or can I detect the installed .NET version another way?

Resources