I have windows 10 and visual studio 2015 community. I tried installing monogame 3.4 and this what showed up

can and one help me?
I also have Windows 10 and Visual 2015 Community and when I installed this I had no problem.
The only things I can think that may interfere with the installer are:
Have you installed C# part of Visual Studio?
Have you installed Visual Studio for another user?
Have you run Visual Studio at least once?
Also you can try with the latest installer from develop. If this also fails, try reinstalling Visual Studio.
Where are your VS2015 project templates stored on your PC? Are they in My Documents/Visual Studio 2015/Templates/ProjectTemplates? If not, where else are they? We've seen several times how VS2015 will sometimes put them elsewhere, and I'm trying to work out what leads to this.
Yes, I have the C# part. This is my personal computer I'm the only user. I been using VS for a few weeks I started a Class online for Monogame in Visual Studio 2015. I've tried uninstalling it several time, also.
The installer looks for My Documents/Visual Studio 2015/Templates/ProjectTemplates\Visual C# which is why it is important to know where that folder is on your machine.
the installer won't let me install any templates. My problem is trying to figure out why the install doesn't detect my Visual Studio Community 2015.
That's why I'm asking where that folder is on your machine.
Oh I apologize, I do have that directory but nothing is in the folder.
It is somewhere on your machine. Is it in One Drive, or on another hard drive?
I have a ssd as my boot drive and a hdd as my storage. I moved all my Libraries (downloads, documents, pictures, etc.) to the hdd. In short, it on my storage drive but my Visual Studio 2015 is on my boot drive
That seems to be it. The moving of the Documents folder, but the Documents folder that the NSIS installer finds is still in the original location.
I've always had my Storage set up this way and its never gave me any problems before
I have changed the my documents location to another drive and the installer found it.
If it helps, the registry entry for where to find the templates for Visual 2015 is: HKEY_CURRENT_USER\SOFTWARE\Microsoft\VisualStudio\14.0 UserProjectTemplatesLocation.
Maybe that's what we need to do. I don't trust the $DOCUMENTS token in the NSIS script, especially when admin privileges are requested. Looking in the NSIS source, it can use either CSIDL_PERSONAL or CSIDL_COMMON_DOCUMENTS (the CSIDL approach was deprecated back in Windows Vista in favour of the KnownFolder approach). I think what is happening here is that CSIDL_COMMON_DOCUMENTS might be used when run at admin level, and this is what is returning different values for some users depending on how they have set things up.
@Myhand91 If you would like to give this installer a try, it should fix the issue with the missing templates.
http://teamcity.monogame.net/repository/download/MonoGame_PackagingWindows/5275:id/MonoGameSetup.exe
Let me know if it fixes the issue and we'll merge it into the main branch.
No, hang on. There's still an issue.
Both versions worked for me, but I did not have the problem
That one I linked showed the VS options available, but the templates never ended up in the folder.
@Tzenchor, there have been several people report this issue, so it's common enough that we have to do something about it.
OK so deleting the documents folder in my SSD boot drive I got it to allow me to check the the Visual Studio 2015. I ran it and the monogame fold is now in a new Documents fold in the SSD Boot drive. I just moved them to the right documents fold and it worked. Thanks guy for all the help and sorry it took so long for replies. It's morning so i had class. Thanks for all the help again.
Ok, I got it now. The installer now uses the registry key setup by Visual Studio. It no longer assumes the templates are in the user's Documents folder, wherever that may be.
Most of the time was just trying to get NSIS installer script working. Give this installer a try if you can.
http://teamcity.monogame.net/repository/download/MonoGame_PackagingWindows/5501:id/MonoGameSetup.exe
Deleted the previous PR because I tried to use git rebase to squash commits, and that ended badly. Created a new PR.
I have just tried it, now it only finds Visual 2010 and Visual 2015 (which is good, because previously it would detect 2013 that is not installed anymore).
Comparing the templates with what I had before:
On Visual 2010 now I have access to the IOS template that was not available before (not sure if it works or not)
On Visual 2015, I have lost the Linux template, but that might have been a residue of an older Monogame installation
On Visual 2010 now I have access to the IOS template that was not available before (not sure if it works or not)
Yes, it's new and works if you have Xamarin.iOS.
On Visual 2015, I have lost the Linux template, but that might have been a residue of an older Monogame installation
I don't recall there ever being a Linux template for Visual Studio. There's the DesktopGL template which will work across Windows, Mac and Linux.
Yes, it's new and works if you have Xamarin.iOS.
Except that Xamarin don't support VS2010 any more, so it should probably go in VS2012 and higher only. Same with Android.
And thanks for testing it so quickly.
I don't recall there ever being a Linux template for Visual Studio. There's the DesktopGL template which will work across Windows, Mac and Linux.
I had both, so probably that one came from Monogame 3.4
A lot of people may still have this issue I fixed it by simply creating a folder named VIsual C# in Documents\Visual Studio 2017\Templates\ProjectTemplates
In ProjectTemplates directory I noticed the folder didn't exist and the folder is what the installer is looking for and wants to install the templates to that folder. It is an easy fix instead of messing with registry entries or anything else someone tells you to do to fix this. This worked for me I hope it helps anyone else confused
What @TickyAnarch wrote, worked for me.
@TickyAnarch trick worked for me. But, obviously installer is looking for something it shouldn't. On a clean install of both Windows 10 and VS 2017, this folder does _not_ exist unless manually created.
If @TickyAnarch 's solution doesn't work for you and you are on a multi-user machine and are not using the Admin account for daily work:
This worked for me https://github.com/MonoGame/MonoGame/issues/4612#issuecomment-480354949
After that when I ran VS in administrator mode, I saw the templates in the VS. Later I copied the templates from the AdminAccount …. ProjectTemplates\Visual C# to non admin folder (...ProjectTemplates\Visual C#) and then I started seeing the templates in the standard user VS too.
What @TickyAnarch wrote, worked for me too. ;D
Most helpful comment
A lot of people may still have this issue I fixed it by simply creating a folder named VIsual C# in Documents\Visual Studio 2017\Templates\ProjectTemplates
In ProjectTemplates directory I noticed the folder didn't exist and the folder is what the installer is looking for and wants to install the templates to that folder. It is an easy fix instead of messing with registry entries or anything else someone tells you to do to fix this. This worked for me I hope it helps anyone else confused