I'm using .NET MAUI and I need to open Finder for a specific folder (not picking a folder, I just want users to be able to see where files are stored). In Windows I use this:
Windows.System.Launcher.LaunchFolderPathAsync("<folder>")
But I can't find the equivalent for Mac Catalyst.
Related
I have a Xamarin Mac app I've been handed to make some changes. I've got everything working correctly as far as Windows Visual Studio Xamarin connecting to Mac Xamarin -- the Mac ssh agent works and whatnot.
However, how do I compile the app? When I build it on Windows, it generates an .exe file. Is something supposed to be generated on the Mac side, too? Or do I take that .exe file and somehow package it into an OSX app?
I was trying to stay in my Windows environment to do the coding and building as much as possible.
Thank you.
You will need to compile/package/debug it on macOS.
The build process is performed locally on Windows, generating IL assemblies that cannot be used for running or debugging apps, and it doesn't create application bundles.
re: https://developer.xamarin.com/releases/vs/xamarin.vs_4/xamarin.vs_4.2/#Xamarin.Mac_minimum_support.
macOS Apps
Mac apps can be opened and compiled in Visual Studio to check for errors, however to debug or create a working executable the project must currently be built on a Mac. This limited support for Mac projects allows for easier code sharing in Visual Studio between iOS, Android, Windows, and Mac apps.
re: https://developer.xamarin.com/guides/cross-platform/windows/visual-studio/#macOS_Apps
I wrote a C# console app using a new Console Project in Xamarin Studio. Now, how do I deploy it without requiring other users to manually install Mono on their machines? Ideally, I'd like to just distribute a binary executable (not using the Mac App Store).
You should use the mkbundle tool to include all dependencies within your binary. Scroll down to "Bundles" in the below link.
http://www.mono-project.com/Guide:Running_Mono_Applications
I've been using MonoTouch 6.0.6 and xCode 4.2 for a while and everything was good. Recently one requirement came for which I had to use iOS6 SDK. I downloaded Xcode 4.5 dmg file from app dev centre. When I try to install, its just an app so it doesn't install. I want my Monotouch to use Xcode 4.5, how do I do? I am stuck on this and not able to find the solution.
Thank you!
You should just drag the app from the .DMG into your Applications folder, open it, and then it'll handle the rest. Monotouch will then use Xcode 4.5.
I got it working. Here is what I did -
a. Opening the DMG file, it mounted on a drive and kept on desktop.
b. Click on the XCode on the mounted drive opened XCode, so I copied the XCode.app to application folder
c. In Monotouch, under preferences-> SdK Location, select the Application/Xcode.app as the apple sdk.
Using this, Monotouch picks up the new SDK and start using iOS6 simulator.
Is there any other solutions to create desktop application for Mac with C#?
If you want to use C#, you can use mono to develop WinForms applications.
Mono is what you need, either use their IDE or there also seems to be a plugin for XCode
i have an application in MS Visual studio that uses ionic.zip.dll, can any one knows the compatible dll for the same in Mac OS X so that the file zipped in Mac OS X application could be opened with the same ionic.zip.dll.
I don't know anything about ionic.zip.dll but if you want to zip/unzip files in Cocoa you could try this Google framework.