Visual Studio for Mac (formerly called Xamarin Studio) has a cool feature where you can easily create NuGet platform-specific multiplatform library projects.
However, VSMac doesn't know how to include Windows as one of the target platforms (only iOS and Android). I thought I would try creating a NuGet library project in VSMac (targeting only iOS and Android) and then have Visual Studio 2017 Windows add the Windows version, but VS2017Win can't even load the solution that VSMac creates ("This version of Visual Studio is unable to open the following projects.").
Do I just have to sit tight and wait for Microsoft to add this functionality to VS2017Win?
Do I just have to sit tight and wait for Microsoft to add this functionality to VS2017Win?
If I understand your question correctly, you want to create a cross-platform package that uses native APIs on iOS, Android, and Windows. This functionality has been supported on Visual Studio 2017 on windows. You can refer to the detail info from the document:Create cross-platform packages
Besides, since Visual Studio for Mac is still a preview version, many features need to be improved and added. If want to use Visual Studio for Mac to create the cross-platform package and include Windows as one of the target platforms, the current method seems to be only wait for Microsoft to add this functionality to VS2017 for Mac.
Hope this can help you.
Related
Visual Studio can have multiple Extension SDKs which are used to ease the development.
Is Xamarin SDK belongs to one of those Extension SDKs of Visual Studio
IDE?
Xamarin SDK is an open-source framework to develop mobile application. And it is bundled as a free tool within Microsoft Visual Studio's integrated development environment.
To answer your question, Yes Xamarin SDK is a part of SDKs in Visual Studio.
Visual Studio use the NuGet Package Manager to Install and manage packages(Like the Xamarin SDK and other Extension SDKs you mentioned in your question).
Those packages are added to your project and you can use them to develop your project.
Xamarin is installed by default if you create a Xamarin.forms project in Visual-Studio.
Xamarin is shipped as a Visual Studio Workload. Although this documentation page doesn't show the individual SDK packages, they are included in the component: Component.Xamarin.
i.e. Xamarin.Android.Sdk / Xamarin.VisualStudio.Apple.Sdk / etc
If you installed Visual Studio 2019 and watched the installer, you'd see the names of these packages as they progress!
Otherwise you can just go into Visual Studio and click on Help -> About Visual Studio and see all of the various packages!
I'm using Windows and I have a need for adding custom Visual Studio (VS) snippets to my project, but some of the project contributors have a Mac and, as such, use Visual Studio for Mac. From what I've seen, the only possible way to create extensions for VS for Mac is by using a Mac.
What I'd like to know is, what can I use to create either a cross-version extension, that works in VS and VS for Mac, or, on a worst case scenario, how can I create extensions for VS for Mac on Windows?
I upgrade visual studio 2017 to version 15.5.2, when I create a new project of xamarin forms not show PCL (Portable Class Libraries) project that appear .net standard and Shared Projects.
I need to create some project PCL of xamarin forms, help me.
Since a recent version the templates replace the PCL library with a .NET Standard library. And I suggest that you stick with it, as it will be the future.
You should be able to create a PCL library if you really want to and make it work. Also, as a workaround, you could create the project on Visual Studio for Mac. It doesn't have the updated templates (yet) and you will still be able to create the app with a PCL. Just copy that or commit it to source control and open it on Windows afterwards.
I created a C# solution with Xamarin Studio (on Mac) that uses GTK. When I clone that to Windows and open it in Visual Studio, I'm disappointed to see that all the GTK references are broken.
In Xamarin, I see that the GTK libraries are in the Mono Framework, and not just simple dlls. The references point to paths in /Library/Frameworks/Mono.framework/' according to the UI, but in the underlying.csproj` file, there is no path at all.
In Visual Studio, those references are broken, and the paths are empty. The Mono for Windows installer (mono-3.2.3-gtksharp-2.12.11-win32-0.exe, in my case) does not add the GTK libs to the GAC (which seems like a dumb thing to not do).
Is there a way to get GTK# recognized by Visual Studio in a way that doesn't break the project for Xamarin Studio?
Either install Xamarin Studio on the Windows machine or install GTK# by itself. You will not be able to design UI from Visual Studio but you will be able to build it and debug/run it.
http://www.go-mono.com/mono-downloads/download.html
I just installed .NET framework 4.5, the Windows 8 SDK, and the Windows 8 DDK on 2 different machines (one at home managed by me, one at work originally setup by IT) both with Visual Studio 2010 Professional SP1 already installed, and both running Window 7 Professional.
I had an old C++/Win32 application in Windows XP that used both the Windows SDK and DDK. I updated it for Windows 7 and Visual Studio 2010 project settings. However, it would not build because some of the SDK/DDK include and library files are new, and it couldn't find them with Platform Toolset set to "v100" in Visual Studio.
Manually adding the Include and Lib folders to the project made it build and run correctly.
Is there some way that I can add the newly installed SDK and DDK to Visual Studio 2010's "Platform Toolset" list? I thought it was supposed to do this automatically, but neither of the machines I use have it in their list after install and reboot.
After researching this quite a bit, I finally found a solution. It doesn't look like it can be added to "Platform Toolset" via any simple method, but at least you don't have to add the paths on every single project you want to use the API. This worked for me, and allowed me to build Microsoft's "USBView sample application" written for VS2012. The way Microsoft recommends (from the official Microsoft Visual C++ Team blog) is:
For a single project:
http://blogs.msdn.com/b/vcblog/archive/2012/03/25/10287354.aspx
This seems to work with the final SDK release as well.
To apply those settings across multiple projects:
http://blogs.msdn.com/b/vcblog/archive/2012/11/23/using-the-windows-8-sdk-with-visual-studio-2010-configuring-multiple-projects.aspx