visual-studio-mac

Unable to update Azure Functions Core Tools in Visual Studio Mac

走远了吗. 提交于 2021-02-18 17:53:06
问题 I'm developing an Azure Functions App which has a variety of different triggers (HTTP, QUEUE, TIMER and SignalR). They work fine when I'm developing on my Work PC (Windows) but they don't work when I'm developing at home on my Mac. I get the following error: A host error has occurred [28/03/2019 20:37:53] Microsoft.Azure.WebJobs.Extensions.Storage: Could not load type 'Microsoft.Azure.WebJobs.Hosting.IOptionsFormatter' from assembly 'Microsoft.Azure.WebJobs.Host, Version=3.0.3.0, Culture

How to enable autocomplete when pressing enter in VS C#

二次信任 提交于 2021-02-11 17:51:46
问题 I want that Visual Studio Intellisense accept the suggested keyword after pressing enter. I could not find any option to toggle that. By Default you can autocomplete the suggested keyword by pressing space or tabulator or an interpunctation. I edited the settings.json in $HOME/Library/Application Support/Code/User/settings.json on MacOs { "telemetry.enableTelemetry": false, "window.zoomLevel": 0, "editor.suggestSelection": "first", "vsintellicode.modify.editor.suggestSelection":

How to enable autocomplete when pressing enter in VS C#

笑着哭i 提交于 2021-02-11 17:51:04
问题 I want that Visual Studio Intellisense accept the suggested keyword after pressing enter. I could not find any option to toggle that. By Default you can autocomplete the suggested keyword by pressing space or tabulator or an interpunctation. I edited the settings.json in $HOME/Library/Application Support/Code/User/settings.json on MacOs { "telemetry.enableTelemetry": false, "window.zoomLevel": 0, "editor.suggestSelection": "first", "vsintellicode.modify.editor.suggestSelection":

How to install MySQL Connector for .NET C# on mac?

前提是你 提交于 2021-02-11 10:31:07
问题 How to install MySQL Connector on mac and communicate and retrieve information from the database from Visual Studio for Mac. What should you do? When I install Connector not macOS option (remember that I want to install MySQL Connector .NET ) How to do it ? I would like to thank you for every answer :) I've tried a lot of things, I do not have to do it? I expect the answer will be simple but I can not find it. Thank you in advance for any helpful answer :) 回答1: In Project -> Manage NuGet

How to multitarget in Xamarin.Forms with Visual Studio for Mac?

别等时光非礼了梦想. 提交于 2021-02-10 14:40:27
问题 I started out creating a .NET Standard Library that I intended to make a NuGet of - but came to find that I also needed platform-specific functionality. So, I found this stack overflow question - which indicated I could use a Multiplatform Library template instead. But here I encountered a problem with DependencyService - and a problem with Custom Renderer - effectively meaning that there was no way for the non-platform-specific to communicate with platform-specific code in the library. I

How to multitarget in Xamarin.Forms with Visual Studio for Mac?

陌路散爱 提交于 2021-02-10 14:38:39
问题 I started out creating a .NET Standard Library that I intended to make a NuGet of - but came to find that I also needed platform-specific functionality. So, I found this stack overflow question - which indicated I could use a Multiplatform Library template instead. But here I encountered a problem with DependencyService - and a problem with Custom Renderer - effectively meaning that there was no way for the non-platform-specific to communicate with platform-specific code in the library. I

Problems with Bindings in Xamarin Forms (MVVM)

喜夏-厌秋 提交于 2021-01-29 08:45:12
问题 I am having some problems understanding xaml with mvvm. Sometimes works but others doesn't. ViewModel (implements INotifyPropertyChanged): private Class1 firstClass; public Class1 FirstClass{ get{return firstClass;} set{firstClass = value; OnPropertyChanged();} } private string name; public string Name{ get{return name;} set{name = value; OnPropertyChanged();} } private string address; public string Address{ get{return address;} set{address = value; OnPropertyChanged();} } View: private

Does Visual Studio for Mac 2019 not work with mono-game along with pipeline?

心不动则不痛 提交于 2021-01-29 05:19:42
问题 I'm starting to use MonoGame and use a MacOS Mojave. I downloaded version 3.7.1 from the official website along with the standalone pipeline( THOUGH I DOWNLOADED PIPELINE ONLY FOR ADDITIONAL TOOLS ). After installation I opened VS 2019 and checked the project template and no new MonoGame template. I thought that it should work right away? Do I need to download an older VS version? 回答1: It doesn't seem to work for now, but you cann use one of the those two work around: 1) If you already have

CSC: error CS0041: Unexpected error writing debug information — 'Operation is not supported on this platform.'

南楼画角 提交于 2020-11-30 11:08:23
问题 Just downloaded Visual Studio Professional for Mac and I cannot seem to build anything as I always get the same error: /Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/xbuild/14.0/bin/Microsoft.CSharp.targets (CoreCompile target) -> CSC: error CS0041: Unexpected error writing debug information -- 'Operation is not supported on this platform.' 19 Warning(s) 1 Error(s) Not sure what to change on my project to get things to compile. 回答1: I was able to work around this problem two ways:

CSC: error CS0041: Unexpected error writing debug information — 'Operation is not supported on this platform.'

你说的曾经没有我的故事 提交于 2020-11-30 11:04:55
问题 Just downloaded Visual Studio Professional for Mac and I cannot seem to build anything as I always get the same error: /Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/xbuild/14.0/bin/Microsoft.CSharp.targets (CoreCompile target) -> CSC: error CS0041: Unexpected error writing debug information -- 'Operation is not supported on this platform.' 19 Warning(s) 1 Error(s) Not sure what to change on my project to get things to compile. 回答1: I was able to work around this problem two ways: