简体   繁体   English

最新 Xamarin Visual Studio 2017 中缺少模板

[英]Missing Templates in Latest Xamarin Visual Studio 2017

I wanted to start Cross Mobile App Development for that I had heard Xamarin is a good framework if you are good with C# , so , I had downloaded the latest Visual Studio 2017 with Xamarin module installed, for learning I got the Udemy Course for Xamarin and its the latest one, so my question is in the videos and most of the tutorials out there are many templates which are missing in my Visual Studio so to make it simple I want to ask you guys that am I having the correct templates and the videos I'm referring to are old please clarify them I will post the screenshots of my setup and the video's setup.我想开始跨移动应用程序开发,因为我听说 Xamarin 是一个很好的框架,如果你擅长 C#,所以,我下载了最新的 Visual Studio 2017 并安装了 Xamarin 模块,为了学习,我获得了 Xamarin 的 Udemy 课程和它是最新的,所以我的问题是在视频和大多数教程中,我的 Visual Studio 中缺少许多模板,所以为了简单起见,我想问你们我是否有正确的模板和视频我指的是旧的请澄清他们我将发布我的设置和视频设置的屏幕截图。

**PS. **附注。 Please excuse my novice I just started it and Google just got me confused ** Here is my Setup:请原谅我的新手,我刚开始它,谷歌让我感到困惑**这是我的设置: 新项目模板

项目设置 项目设置

找不到表单本机和其他模板

I'm just asking since to learn I need to have the same setup if there's some dissimilarity then I won't be able to have a heads up.我只是问,因为要学习我需要有相同的设置,如果有一些不同,那么我将无法抬头。

First off welcome to the Xamarin world.首先欢迎来到 Xamarin 世界。

Secondly your templates that you have are correct.其次,您拥有的模板是正确的。 They simply changed up a bit in visual studio 2017. For instance, if you want to create a PCL ( Portable Class Library ) project, you select cross-platform app and click ok.他们只是在 Visual Studio 2017 中稍微改变了一点。例如,如果你想创建一个 PCL(便携式类库)项目,你选择跨平台应用程序并单击确定。 Than you get following screen:比你得到以下屏幕: 屏幕

Here can select your coding strategy ( I chose PCL in screenshot ).这里可以选择你的编码策略(我在截图中选择了 PCL)。

If more questions don't hesistate to ask and goodluck ;)如果有更多问题,请不要犹豫问,祝你好运;)

Microsoft keep on improving VS and Xamarin. Microsoft 不断改进 VS 和 Xamarin。 Yesterday I updated VS 2017 to version 15.8.4 and now I see a difference also between your screen Jordy Dieltjens and mine as below, you have "UI Technology" to the left bottom corner and instead I have "Platform".昨天我将 VS 2017 更新到了 15.8.4 版,现在我看到你的屏幕 Jordy Dieltjens 和我的屏幕之间也有区别,如下所示,左下角有“UI 技术”,而我有“平台”。 Also you have "Portable Class Library (PCL)" under "Code sharing strategy" to the right bottom corner where I have ".Net Standard" instead.在右下角的“代码共享策略”下还有“可移植类库(PCL)”,而我有“.Net Standard”。 as per my knowledge PCL is now deprecated and replaced with .Net Standard which is supposed to do the same.据我所知,PCL 现在已被弃用并替换为 .Net Standard,它应该做同样的事情。

跨平台选项

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM