1,048 questions
0
votes
0
answers
10
views
Visual Studio for Mac not using specified android version
I am trying to update a Xamarin application using Visual Studio for Mac to use API level 14 (SDK 34.0.3). I have the following entry in the AndroidManifest:
When I try to select SDK version 34 from ...
0
votes
0
answers
22
views
Porting "Visual Studio for Mac" Project to Visual Studio Code...Is it possible?
Can Visual Studio Code port over/convert a project that was originally developed in Visual Studio for Mac? I have to publish an emergency update and just found out Visual Studio for Mac has been ...
0
votes
1
answer
183
views
Unable to build a NET 8 solution in Visual Studio for Mac
I've received a Visual Studio solution that references NET 8 and I'm attempting to open it on Visual Studio for Mac.
I've installed NET 8 from the MS website and enabled the "Use the .NET 8 SDK ...
1
vote
0
answers
581
views
Cannot create archive for publishing MAUI project in Visual Studio for Mac or Windows
I have a .NET MAUI project that I converted from Xamarin, it builds and debugs fine and all of the provisioning profiles are found. Ultimately I am trying to get it published on App Store Connect.
...
0
votes
0
answers
40
views
On start the app, Simulator showing black screen and closed immediately thru Visual Studio For Mac
I was trying to upgrade the SDK for an xamarine mobile application, I am using Visual Studio 2022 and updated the SDK to 17.5 in project property and running the application on xCode 15.4 on IOS ...
1
vote
2
answers
1k
views
Why .net 8 is not list in the target framework in VS 2022 - MacOs
Target framework 8 is not listing in the visual studio 2022 (17.6.1) version even after installing the .net 8 in my Mac machine. it still showing only 7
I was installed .net 8 and corresponding ...
0
votes
0
answers
72
views
How do I request permission from the user to access their microphone?
When running an Avalonia desktop application on macOS, how do I trigger the modal for requesting access to a user's microphone? There seems to be no Info.plist file built into the Visual Studio For ...
0
votes
1
answer
304
views
.NET 8 on iMac doesn't install
Visual Studio 2022, Visual Studio for Mac and Visual Studio Code make me crazy when I have to deploy apps for iOS (and macOS). I have my .NET 8 MAUI application that is working on Windows and Android. ...
0
votes
0
answers
32
views
Error: Framework OpenGLES not found with VS Mac project
I have a VS Mac project using OpenTK 4.8.2.
Visual Studio Mac is 17.6.11, MacBookPro M1 is MacOS 14.4.1.
When building I receive this error:
/usr/local/share/dotnet/packs/Microsoft.macOS.Sdk/13.3.7142/...
0
votes
0
answers
28
views
No suitable test found in -path- Nunit - Visual Studio Mac
I am trying to use nunitTestAdapter in Visual Studio Mac, but when trying to debug a test I see the following error in Test tab(screenshot attatched):
The operation failed due to an internal error, ...
1
vote
0
answers
40
views
Unable to revert warning severity changes in my Unity project in Visual Studio for Mac
Out of curiosity I set a Warning in VS (Deprecated) to Silent severity using the Quick Actions, (I wanted to set it to silent in one script only) however, I am unable to revert it back to a Warning. I ...
0
votes
0
answers
54
views
Visual studio 2022 for MAC, Go to Implementation / definition opens assembly browser instead of source code
When I alt+click / use go to definition / implementation on a class from an external library in VS2022 for MAC. It opens the Assembly browser instead of showing me the code.
If I debug through it and ...
5
votes
2
answers
4k
views
Workloads installed but not recognized by Visual Studio Mac
I regretfully ran Visual Studio Updates a few days ago, and following the update, I am stuck in a state that does not let me build or debug my .NET MAUI project. When I launch Visual Studio, There is ...
0
votes
2
answers
456
views
Maui dotnet 8 works with dotnet build - not inside visual studio for mac 17.6.7
i have a Maui solution I upgraded from dotnet 7 to dotnet 8 it fails in visual studio for mac 17.6.7 on dotnet command line it builds just fine. Can i make this so;ution build inside moc visual studio?...
0
votes
1
answer
925
views
How to check and fix HotReload with MAUI .net 8?
I can't get Hot Reload to work on Visual Studio 2022 Mac with .net 8 and MAUI on either iOS or Android.
It is enabled in the IDE settings:
And also shows as connected when running:
But when making a ...
8
votes
2
answers
12k
views
.NET 8.0 not showing in Visual Studio 2022 (General Release)
I am encountering an issue with Visual Studio 2022 on my Mac, and I hope someone can help me resolve it. I am unable to use .NET 8, even though I have followed the usual steps for enabling preview ...
1
vote
0
answers
358
views
Unable to run MAUI project on Visual Studio Mac
I have a MAUI project that runs on a Windows Device fine on a windows machine in Visual Studio 2022.
Having great difficulty getting it to communicate with my Mac though, so have pulled the code onto ...
0
votes
1
answer
260
views
Xamarin Forms: could not launch the ios application on the device
I could not launch the xamarin.form IOS application on the device. The application can be deployed successfully but the launch failed.
error MT1007: Failed to launch the application on the device '...
5
votes
2
answers
1k
views
.NET MAUI Android Emulator Cannot Execute dll Visual Studio Mac
I am running Visual Studio on a Mac for .NET MAUI. I was playing around with some package versions following a Visual Studio update about a week ago, and now when I try to run my project on the ...
10
votes
3
answers
8k
views
[VS MAC]Updating to .NET 8 all of my Maui projects display Error NETSDK1139: The target platform identifier ios was not recognized
Yesterday I updated from .NET 7.0 to .NET 8.0 following my colleague doing so and having it work immediately. For myself however, on both my VS Mac and my VS Windows I get the error
Error NETSDK1139: ...
0
votes
1
answer
490
views
Xamarin failed to codesign, resource fork, Finder information, or similar detritus not allowed
I recently moved this Xamarin Forms app to a new developer account. It's been a few years since I've worked on it and I have not been able to get it to build. I recreated the provisioning profiles and ...
0
votes
1
answer
64
views
"Properties" context option on a file in Visual Studio does not do anything
In Visual Studio I am right-clicking on appsettings.json to bring up the context menu and selected the Properties option.
Nothing happened. I am on macOS. For a coworker who also has Visual Studio [...
0
votes
0
answers
96
views
Is it possible to simulate MetricKit payload in Xamarin or Maui app
I'm trying to avoid waiting the full 24 hours for MetricKit payloads to arrive in my application for better testing. I see XCode provides a debug option to Simulate MetricKit Payloads but naturally ...
0
votes
0
answers
360
views
MAUI iOS App works only iPhone is plugged to Mac and launched on VS Debugger
I apologise in advance for not being able to provide any kind of information about reproducing the error. I have a .NET MAUI app that (almost :-)) perfectly works when launched by Visual Studio ...
0
votes
2
answers
69
views
ReactiveUI class and interface disappeared after upgrading
I'm migrating a Xamarin.iOS project to .Net6. I also upgraded ReactiveUI.Fody Nuget package from 9.8.1 to 19.5.1.
The class ReactiveViewController and interface IActivatable that I was using before ...
0
votes
0
answers
671
views
Is there any Alternative Package Available for ZXing.Net.Mobile while Migrating From Xamarin IOS to .NET 7 IOS?
I can see my Existing Barcode Scan Package(ZXing.Net.Mobile - 2.4.1) does not support .Net 7 IOS Platform.
I ve been using this for Xamarin IOS earlier. Now after Migration its not supporing.
I was ...
0
votes
1
answer
357
views
Problem with AppKit namespace not being recognized in .Net MAUI project
I have created a .Net MAUI project after downloading macOS 14.0 and Visual Studio 2022 For Mac, as well as the latest version of XCode (15.0.1). No changes were made to the project template, and the ...
0
votes
0
answers
105
views
Alternatives to the XAML Live Preview in Visual Studio for Mac 2022
Prior to me transitioning my work in MacBook, I'm used to using the XAML Live Preview tool of Visual Studio 2022 in my Windows Laptop. However, I noticed that this is not the case for Visual Studio ...
0
votes
1
answer
2k
views
Waiting for the debugger to connect to Iphone ov port 10000 via usb - visual studio for mac maui
I am not very familiar with Mac as I do all my development in windows but I need to verify a functionality that only works on a mac and when running any project in mac I cannot connect to the debugger ...
0
votes
2
answers
1k
views
Visual Studio 2022 17.8 Preview 2 for Mac (m1) - with .NET core 8 support?
I would like to do some web development on my M1 mac machine, with ASP .NET core 8, but it seems like I am not able to find a Visual Studio version, that allows me to do so.
I was expecting to see a ...
0
votes
0
answers
210
views
Issues with MAUI deployment
I have developed a MAUI application using Mac VS 17.6.4 with the latest workloads installed for Xcode 15. I have tested the mobile app on my iPhone 12 after compiling the app in both debug and release ...
0
votes
1
answer
124
views
Global using packages in Visual studio for mac 2019
I have project on .net 6.0.106, and when i build it, it gives me error:
BuildingPassport/HousePassport.Domain/obj/Debug/net6.0/HousePassport.Domain.GlobalUsings.g.cs(1,1): Error CS0116: A namespace ...
0
votes
1
answer
311
views
Xamarin.forms iOS app signed with invalid signature when deploying in debug on device
Steps to Reproduce
Set Apple signing to automatic with correct team for app bundle id
Build and run to actual ios device
Expected Behavior
App built and signed and debugging on ios device.
Actual ...
1
vote
0
answers
254
views
Xamarin.iOS, Info.plist - App Icon setting - is set back to None after Saving and reopening the file
I'm facing an issue in my Xamarin.Forms iOS project, and I'm hoping someone can help me to resolve it. (Visual Studio Mac, Xamarin forms)
Problem Summary:
In my Xamarin.Forms iOS project, I'm having ...
0
votes
0
answers
192
views
Visual Studio for Mac miss .net6 for .NET MAUI after update
After I updated my Visual Studio for Mac and installed .NET 8 preview, then I cannot create a MAUI with .NET 6.
You can see from the following picture, I can only choose .NET7 or .NET8.
[]
Detailed ...
1
vote
0
answers
160
views
Visual studio mac Automatic Provisioning failed: An App ID with Identifier 'aaa.bbb.ccc' is not available. Please enter a different string
I am trying to upgrade my iOS native application to Mac Catalyst. Had to make platforms folder with iOS and Catalyst folders and in proj file I specify that it usesmaui 'true'.
When I choose automatic ...
1
vote
0
answers
51
views
Razor page always shows Production for environment variable even in visual studio IIS Express (Mac OS)
I am trying to load a certain script tag development and production however when I run IIS Express and output to console it is always production. Is this a glitch or am I using this incorrectly.
...
0
votes
0
answers
256
views
Need help converting .net core console build into a macOS app
I'm building a console app in visual studio 2022 for Mac. It is a .net program built targeting version 7 of the framework. So far so good. I have my program launching by clicking on the generated ...
0
votes
0
answers
277
views
Xamarin forms app takes forever to deploy in android, from VS Mac
When Xamarin forms app is deployed to android device it builds successfully but doesn't deploy, gets stuck while installing package.
Solutions tried:
Tried deploying to multiple android devices, but ...
0
votes
0
answers
48
views
Visual Studio Mac doesn't put the cursor on a new line after typing an open curly brace followed by "return" in C# since last update
Since the last Update it looks like this, when I hit "return" after the curly brace:
private void MyMethod() {
|<cursor is here>}
What it looked like and I want it to look like is ...
0
votes
1
answer
219
views
Exception Settings Missing in VS for Mac
I just switched from a PC to a Mac for web development. We use ASP.NET Core, and we develop the backend using Visual Studio.
I'm just trying to find the Exception Settings window in VS for Mac. In ...
1
vote
1
answer
999
views
How can I analyze the memory usage of my app built with Visual Studio Mac on iOS?
I built a .NET MAUI app using Visual Studio 2022 for Mac. The app appears to be getting jettisoned on physical iOS devices due to high memory usage as indicated in Jetsamevent reports. How can I view ...
9
votes
3
answers
6k
views
Xamarin iOS Compatibility Issues with latest Xcode 15
I am currently testing the compatibility of my iOS applications developed using Xamarin iOS. However, I'm encountering problems with both Xcode 15 beta and Visual Studio 2022 (version 17.6) on my ...
0
votes
1
answer
136
views
Visual Studio for Mac build error Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/4.5/aspnet_compiler.exe is invalid
I'm trying to build a solution in Visual Studio (2022) for Mac and getting this error Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/4.5/aspnet_compiler.exe is invalid. The project's ...
0
votes
2
answers
588
views
Visual Studio 2022 for Mac Manage Branches and Remotes window missing buttons
I'm using Visual Studio 2022 version 17.6 (build 1575). On the menu Git -> Manage Branches and Remotes" window the buttons New, Edit, Delete & Switch Brach are missing. The product ...
0
votes
1
answer
526
views
Populating the properties of a Picker based on a complex object/model
I'm trying to rebuild a web-application in MAUI.
There is a select-element with 3 different string values.
This input field relates to the property of an object which has the type int.
My question ...
0
votes
1
answer
974
views
Visual Studio Preview 17.7 on mac?
I am currently trying to set up a new environment on my mac, have Visual Studio for Mac installed but need to get the latest preview version of Visual Studio (17.7) running. Is there any way to do ...
0
votes
1
answer
211
views
Passed parameter in ASP.NET Core 5 reactjs textfield to controller is always 0
I am new to React.js and ASP.NET Core 5 and I'm developing using Visual Studio Mac. I'm having this problem where the value being passed from text field to controller is always zero (0) even though I ...
-1
votes
1
answer
757
views
Visual Studio 2022 Mac: How to Compile SASS?
Is there a method to compile SASS files on Visual Studio 2022 for Mac? In the Windows version I had installed an extension to do this, but was unable to find something similar for Mac.
1
vote
1
answer
114
views
I can't compile a Visual Studio Solution with Blazor Client/Server/Shared projects and Xamarin App/App.iOS/App.Android projects
I would like to create a Visual Studio slution with 6 projects:
Blazor.Client
Blazor.Server
Blazor.Shared
XamarinApp
XamarinApp.Android
XamarinApp.iOS
The first I did was create two individual ...