Visual Studio Creating Android project Error - c#

I am new on Xamarin visual studio and I want to develop an android project but I got this error " Object reference not set to an instance of an object"
Actually, I see the error JUST for the C# project and JUST for Android!
I can create the project for IOS and Android under F# project!! but For C# Android I got the error.
I have installed Android SDK and JDK and it shows a green check on the Android setting.
I use visual studio 2012, I tried to reinstall both Xamarin and VIStudio but the error remains.
would you help me, thanks?
EDIT
I installed Visual Studio 2017 and it works fine.

Xamarin doesn't support older versions of VS anymore. The recommendation is to use Visual Studio 2015 or 2017 currently:
Xamarin for Visual Studio supports any Visual Studio 2015 or 2017 (Community, Professional, and Enterprise) and non-Express editions of Visual Studio 2013 Update 2.
https://developer.xamarin.com/guides/cross-platform/getting_started/requirements/#Windows_Requirements

Related

Sharing violation after opening a VS2017 project in VS/Mac 2017

I am trying to convert a project of mine from Visual Studio 2017 for Windows to Visual Studio 2017 for Mac. I can open the project file and the various C# classes in my project, but when I try to compile the project, I get this error.
The same code on VS2017 for Windows compiles without an issue. What am I doing wrong?

Missing ASP.NET Web Application in visual studo 2015

Im trying to follow along with code school curriculum but i am unable to find any template for ASP.NET Web Application with my version of visual studio community 2015. My new project dialog looks like thisvisual studio query
but i seem to be missing the whole web selection option. I am currently running windows 8 and this is the about/help for my version of VS:
Microsoft Visual Studio Community 2015
Version 14.0.24720.00 Update 1
Microsoft .NET Framework
Version 4.6.01055
Installed Version: Community
Visual Basic 2015 00322-20000-00000-AA718
Microsoft Visual Basic 2015
Visual C# 2015 00322-20000-00000-AA718
Microsoft Visual C# 2015
Visual C++ 2015 00322-20000-00000-AA718
Microsoft Visual C++ 2015
Application Insights Tools for Visual Studio Package 4.2.60128.3
Application Insights Tools for Visual Studio
It seems that your VS 2015 installation miss the Microsoft ASP.NET and Web Tools extension.

How to setup Android, iOS and Visual Studio with Xamarin Studio?

I'm new to stack overflow as well as new to Xamarin Studio. I recently downloaded and installed XamarinInstaller which installed Andriod SDK, JAVA SDK, Xamarin Studio and Xamarin for Visual Studio [At that time of installation Visual Studio was not installed] on my system and after that it asked me to install NET Framework 4.5.1 and GTK# for .NET which I did. After all this i installed Visual Studio 2012 Ultimate and when i opened and checked Xamarin Studio i couldn't code for Android it gives me some error and also on Visual Studio whenever i try to start a new project i can't find andriod or ios on it.
How to setup Android and ios on Xamarin Studio?
How to link Xamarin on Visual Studio?
How to setup Android and iOS on Visual Studio?

How can I get WPF and Windows Phone templates in Expression Blend 2013?

I have a few installs of Visual Studio Express 2013 (Windows Phone, Windows Store and Desktop) but the only options there are when creating a new project in Blend are for Windows Store apps.
Opening a WPF solution in Blend that was created in Visual Studio 2013 just shows the XAML and no design view loads or is available.
I have browsed the Blend install directory and there are Silverlight and WPF templates in C:\Program Files (x86)\Microsoft Visual Studio 12.0\Blend\ProjectTemplates\en\CSharp (although no Windows Store templates).
I have tried repairing the Visual Studio Express Desktop but with no luck.
This webpage implies there is a Blend for Visual Studio 2013 SDK for WPF but I cannot find the download link for this. There was some mention as well in another Stackoverflow post that the templates would be available in update 2 for Visual Studio but I have installed this and there are no extra templates.
Any idea how I can access the templates so I can edit in Blend?
I found this on this Link
You can download Blend for Visual Studio 2013 with Visual Studio Express
for Windows, Visual Studio Express for Windows Phone, and Visual Studio
Professional 2013 and higher.
Here, I took a snapshot;
So, when you download Visual Studio Express for Windows or Windows Phone, you get Blend
for Visual Studio 2013 but for Windows (WinRT / Store) & Windows Phone. You don't get
Blend for WPF or Sliverlight Applications. If you do want Blend for Visual Studio 2013
Full Edition, that you can get by downloading Visual Studio 2013 Professional or Higher.
You can try Visual Studio 2013 Professional or Higher free for 90 Days.
Here is the Link;
http://www.visualstudio.com/en-us/downloads/download-visual-studio-vs#DownloadFamilies_2
Hope this helps you understand, why you are not able to see the designer in Blend 2013 when you open a WPF project created in Visual Studio 2013.

Monogame 3.2 in Visual Studio 2013 doesn't work?

I've already edited the vstemplate file to change the version number from 11.0 to 12.0 like the answer to a similar question says on here, but that only makes Visual Studio crash after a create a Windows Store XAML Monogame project instead of giving me the version error. The project ends up getting created, but after I restart visual studio it doesn't want to open any of the source files even after I retarget the project to Windows 8.1. Im using visual studio 2013 express btw.
After a lot of problems, I found a better way of getting it to work.
First install Visual studio 2013 (or 2012, that will work too)
Download XNA 4.0 Refresh and install it
Download MonoGame 3.2 and install it
Then you can start using the MonoGame templates in Visual Studio without problems.
Haven't tried it for a Store app, but it fixed all my other problems with Visual Studio 2013 and MonoGame. I used Visual Studio 2013 Express for Desktop to test it.

Categories