Questions tagged [visual-studio-mac-2022]

43 questions
1
vote
1 answer

Error compiling MAUI project - missing MonoAOTCompiler.Task

I'm creating a MAUI application targeting iOS and Android. I have been using Visual Studio 2022 for Mac version 17.3. That version doesn't really support archiving the app, so I installed version 17.4 preview 2.1. When I try to compile my app I get…
1
vote
0 answers

How to create an extension for VS Studio 2022 for mac?

I have VS 2022 for Mac, latest released version 17.3.5. I do not have the "IDE Extension" template: I do have the AddinMaker plugin: I do not have the Xamarin support installed in VS Mac 2022, do I need it to create extensions?
1
vote
0 answers

Where is the "Publish" option in Visual Studio 2022 Mac

I recently set up Visual Studio 2022 (preview) on the Mac (M1) Version 17.3. I spent quite a bit of time migrating an older .Net MVC (4.6.1) project and finally got it to build and run locally. I them went to publish it to a test IIS server I run…
Julian Dormon
  • 1,767
  • 4
  • 32
  • 58
1
vote
0 answers

What is the meaning of single circle breakpoint in visual studio?

I am using Visual Studio 2022 (Preview) for mac. This is the usual breakpoint i applied after creating a project. normal breakpoint But as soon as i build the project the breakpoint changes into a single circle. It does not pause the program. Can…
0
votes
1 answer

Nuget package restore using wrong source and failing in Visual Studio for Mac

I recently transferred a Xamarin project to a new MacBook in order to get everything up to date to the latest iOS version. I am using Visual Studio for Mac 2022. This project uses Grial UI(version 3) and Telerik for Xamarin Forms which require…
0
votes
0 answers

Visual Studio Mac 2022 database first scaffold dbContext

I trying to scaffold a MySql database for a new solution in Visual Studio 2022 for Mac. I have installed these packages: Microsoft.EntityFrameworkCore.Tools Microsoft.VisualStudio.Web.CodeGeneration.Design MySql.Data.EntityFrameworkCore Using the…
0
votes
1 answer
0
votes
0 answers

Visual Studio Windows and MacOs charset

I checked for previous posts but can't find an answer. I created my .NET MAUI project at Visual Studio 2022 Windows. When i copy the project to MacOS (simple folder copy) and compile at Visual Studio for Mac, everything works fine. But there seems…
0
votes
0 answers

missing win-iphone identifier error while building Xamarin iOS after updating VS for Mac to 17.4.5

Has any one seen this issue? My dotnet runtimes are as follows: Microsoft.AspNetCore.App 6.0.0 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 6.0.14…
zyzzyxx
  • 323
  • 2
  • 9
0
votes
0 answers

Visual Studio 2022 Mac Error: NuGet packages need to be restored before building. NuGet MSBuild targets are missing and are needed for building

I have a .Net 6 project, I am getting the below error. Error: NuGet packages need to be restored before building. NuGet MSBuild targets are missing and are needed for building. The NuGet MSBuild targets are generated when the NuGet packages are…
0
votes
1 answer

Is there any option to add SpecFlow Extension on VisualStudio for MacOS?

Visual Studio for Mac has option to add extension from Visual Studio > Extensions... From the Extensions window, if I search Specflow and I see nothing is there. Is there any option to install Specflow extension on Visual Studio for Mac?
0
votes
0 answers

CreateAppHost task failed unexpectedly [Input String was not in a correct format]

Regardless of the type of project I tried, I got the following error when building: The "CreateAppHost" task failed unexpectedly. System.FormatException: Input String was not in a correct format. This error refers to the file…
krlzlx
  • 5,752
  • 14
  • 47
  • 55
0
votes
1 answer

Maui build and publication issues

I have a MAUI project that references 3 .dll's that are built with netstandard2.1. I am working on a Mac with Ventura MacOS and Visual Studio 2022 17.4.2. I am having a problem building the .ipa for the iOS platform. I can compile all of the…
0
votes
0 answers

Xamarin.Forms: Could not start Xamarin.Forms Hot Reload session

I am working on a Xamarin project and HotReload does not work anymore since VS2022 Mac, it worked with VS2019 Mac. When I start the app on iOS Simulator I see the following message in XAML Hot Reload Window: Could not start Xamarin.Forms Hot Reload…
Niels
  • 1,366
  • 15
  • 21
0
votes
1 answer

How to change tab size in Visual Studio 2022 for Mac?

I am using Visual Studio 2022 for Mac (currently v17.4). I want to change tab size as they are too big. I cannot see such option anywhere and even in the documentation it says it doesn't apply to Visual Studio for Mac. Is it possible that it isn't…