visual-studio-mac

Can run program with Mono but not with Visual Studio Mac

六月ゝ 毕业季﹏ 提交于 2020-05-16 03:19:09
问题 So I have a C# program that I'm making in Visual Studio Mac 2019. It uses the SFML.Net framework which depends on a dynamic library: libcsfml-graphics.2.5.0.dylib . Internally, the framework has a method called sfRenderWindow_createUnicode(...) . This method uses a DLLImport for CSFML.graphics . If I run the program in Visual Studio, I get a DllNotFoundException with message csfml-graphics . In my global config file for Mono, I have a DLL Mapping: <dllmap dll="csfml-graphics" target="libcsfml

Could not find `SQLitePCLRaw.batteries_v2`

半世苍凉 提交于 2020-04-14 08:23:09
问题 I have added a sqlite-net-pcl NuGet package to the Xamarin.iOS project. The app ends with the following exception: Could not find `SQLitePCLRaw.batteries_v2`referenced by assembly `SQLite-net, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null`. Is known any workaround for this issue? macOS Sierra version: 10.12.5 Xcode version: 8.3.2 sqlite-net-pcl version: 1.0.11 Visual Studio for Mac version: 7.0 Xamarin.iOS version: 10.10.0.33 回答1: Fixed in sqlite-net-pcl 1.3.1. 来源: https:/

Cant find package manager console in visual studio for mac

谁说我不能喝 提交于 2020-04-08 09:16:10
问题 I am using Visual studio for mac. I need to install some packages but I can't find package manager console for that. Visual studio version: Preview 1 (7.0 build 347) 回答1: Similar to Xamarin Studio, you have to use its dialog, https://developer.xamarin.com/guides/cross-platform/xamarin-studio/nuget_walkthrough/ As there was no cross platform PowerShell, Xamarin Studio lacks of Package Manager Console. It might come one day in Visual Studio for Mac. We will see. 回答2: Warning: A commenter

Cant find package manager console in visual studio for mac

若如初见. 提交于 2020-04-08 09:15:27
问题 I am using Visual studio for mac. I need to install some packages but I can't find package manager console for that. Visual studio version: Preview 1 (7.0 build 347) 回答1: Similar to Xamarin Studio, you have to use its dialog, https://developer.xamarin.com/guides/cross-platform/xamarin-studio/nuget_walkthrough/ As there was no cross platform PowerShell, Xamarin Studio lacks of Package Manager Console. It might come one day in Visual Studio for Mac. We will see. 回答2: Warning: A commenter

Cant find package manager console in visual studio for mac

混江龙づ霸主 提交于 2020-04-08 09:14:34
问题 I am using Visual studio for mac. I need to install some packages but I can't find package manager console for that. Visual studio version: Preview 1 (7.0 build 347) 回答1: Similar to Xamarin Studio, you have to use its dialog, https://developer.xamarin.com/guides/cross-platform/xamarin-studio/nuget_walkthrough/ As there was no cross platform PowerShell, Xamarin Studio lacks of Package Manager Console. It might come one day in Visual Studio for Mac. We will see. 回答2: Warning: A commenter

Write Xamarin version information in Console or file

巧了我就是萌 提交于 2020-03-22 03:37:30
问题 Currently, to get Xamarin version information we need to do the following: Xamarin Studio Xamarin Studio > About Xamarin Studio > Show Details > Copy Information [button] I need to have these information in a file or writing them in a console. Do we have a command to do this? Thank you. 回答1: To get Visual Studio for Mac version: /usr/libexec/PlistBuddy -c 'print :CFBundleVersion' /Applications/Visual\ Studio.app/Contents/Info.plist To get currently used Mono version: mono --version or you can

Visual Studio for Mac azure remote debugging on Mac OS X

本小妞迷上赌 提交于 2020-02-03 05:49:25
问题 The matter is pretty simple: I'm on Visual Studio for Mac on Mac OS X Sierra , everything works perfectly and the deploy on Azure is great. The problem comes when I need to debug some odd error on the deployed remote app since it doesn't happen locally. I guess it's related to some third-party web service call but I really cannot figure out from the log. 来源: https://stackoverflow.com/questions/43991820/visual-studio-for-mac-azure-remote-debugging-on-mac-os-x

Visual Studio for Mac: Cache Location

无人久伴 提交于 2020-01-24 19:53:40
问题 EDIT: I didn't include the fact that I was leveraging the MySql.Data package to connect to MySql via LINQ, as it didn't seem relevant. After asking the question, I switched to the LinqToDb.MySql package and the problems seems to have disappeared, so I think it was a bug in MySql.Data. Though I'm good to go, I'm leaving the question up as my solution and an answer to the original question might help someone else. Original Post: I am building a C# solution in Visual Studio Community for Mac (7

Visual studio (MAC) Console Application [duplicate]

半腔热情 提交于 2020-01-24 03:26:08
问题 This question already has answers here : External Terminal / Debug outside the IDE (2 answers) Closed 3 years ago . maybe some of you know, that Visual Studio (Preview) is ready to use. I have simple question, maybe I did something wrong, or it doesn't work properly. When I start to debug Console Application doesn't want to let me read name from keyboard. string name = Console.ReadLine(); Console.WriteLine(name); Can someone help me? I'd like to see how it works correctly. 回答1: By default VS

Set Multiple Startup Projects in Visual Studio for Mac?

流过昼夜 提交于 2020-01-21 04:17:26
问题 Is it possible/how do I set multiple start up projects in Visual Studio for Mac? It is very easy and common to do it in VS for Windows (https://msdn.microsoft.com/en-us/library/ms165413.aspx) but struggling to find the option on VS for Mac in the application and online. 回答1: You can do this by creating a run configuration for the solution. Select the solution in the Solution window and right click it and select Options. Select Run - Configurations. Click the New button and specify a name for