-
September 3rd, 2018, 08:38 PM
#1
Multi Platform C++ .Net?
-I wish to create my programs using Microsoft C++ .net, using the appropriate
version of Windows Studio, in 64 bit Windows 10.
-However, I may like to recompile/rebuild that identical source code project
for the sake of the Mac. Were it even possible, I might, in a total
'fantasy of man', like to do that for Linux.
-From what I have heard, only library code that includes '.Net Core' is
compatible with the Mac. Is there a way to rebuild absolutely any
part of a Visual Studio .net for the Mac? If I have used my own .dll
libraries that have an equivalent for the Mac?
-When it comes to Visual Studio C++ .net development, what
is the file extension equivalent for a .dll file, or a .cab, file, or a .exe
file, for that matter?
-
September 4th, 2018, 12:17 AM
#2
Re: Multi Platform C++ .Net?
Originally Posted by Zachary1234
-From what I have heard, only library code that includes '.Net Core' is
compatible with the Mac. Is there a way to rebuild absolutely any
part of a Visual Studio .net for the Mac? If I have used my own .dll
libraries that have an equivalent for the Mac?
The times they are a-changing. .NET used to be strictly Windows but now it has become multi-platform! I never though I'd live to see that happen.
My personal experience with C++/CLI is that it, contrary to what is claimed, never really was a first-class .NET citizen. It's main purpose was to help bring old C++ legacy code to the .NET framework and not for writing new applications from scratch.
That's why I recommend you make sure C++/CLI really is supported for .NET Core. There seems to be some doubt about that,
https://github.com/dotnet/coreclr/issues/659
The safest choice probably is to go for C#. I would be surprised if you couldn't interface to your DLLs also from C# but of course that needs to be investigated.
Finally I don't think the regular Visual Studio is multi-platform. You probably need to consider VS Code if you want to use a Microsoft IDE also on Linux and Mac.
Last edited by wolle; September 4th, 2018 at 12:21 AM.
-
September 4th, 2018, 12:20 AM
#3
Re: Multi Platform C++ .Net?
Notwithstanding this recommendation reply about C#, could someone
please reply to my original questions from a C++.net point of view?
-
September 4th, 2018, 12:33 AM
#4
Re: Multi Platform C++ .Net?
Originally Posted by Zachary1234
Notwithstanding this recommendation reply about C#, could someone
please reply to my original questions from a C++.net point of view?
I think I did but maybe I wasn't straightforward enough. So,
- You most likely cannot use C++/CLI nor Visual Studio for multi-platform developments with .NET Core.
-
September 4th, 2018, 01:23 AM
#5
Re: Multi Platform C++ .Net?
.net core does not support Managed C++. https://docs.microsoft.com/en-us/dot...bout#languages. .net core can be written in c#, f# and vb.net.
Visual Studio has a Mac version called Visual Studio for Mac.
-
September 4th, 2018, 01:29 AM
#6
Re: Multi Platform C++ .Net?
Originally Posted by Zachary1234
Notwithstanding this recommendation reply about C#, could someone
please reply to my original questions from a C++.net point of view?
I never used .NET (managed C++/CLI). Neither for Linux nor for Windows.
However there are Downloads oc .NET Core also for Linux and MacOS:
https://www.microsoft.com/net/download
Victor Nijegorodov
-
September 4th, 2018, 02:49 AM
#7
Re: Multi Platform C++ .Net?
-How much of the body of code that Visual Studio for Max have in common with Visual Studio for Windows,
within the mutual set of C++.NET language support?
-
September 4th, 2018, 03:01 AM
#8
Re: Multi Platform C++ .Net?
Originally Posted by Zachary1234
-How much of the body of code that Visual Studio for Max have in common with Visual Studio for Windows,
within the mutual set of C++.NET language support?
As for me - I have no idea and don't care.
And I guess there are not so many guys (at least on this Forum) who use .NET for any non-Windows platform.
Victor Nijegorodov
-
September 4th, 2018, 09:17 AM
#9
Re: Multi Platform C++ .Net?
Originally Posted by Zachary1234
-How much of the body of code that Visual Studio for Max have in common with Visual Studio for Windows,
within the mutual set of C++.NET language support?
While I have used all VS versions since VS 2.0, and currenty write Net Core 2.1 apps for the desktop and for Azure, I develop only on Windows. As a result, I have never had the need to look at Visial Studio for Mac or compare it's features. Microsoft usually has a feature comparison chart for its vs editions. You may try googling for that.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|