[Solved] Having trouble getting Unity set up with VS 2017 community

I installed the unity component for VS 2017, and changed the unity external editor to VS 2017 but it still opens with monodevelop.

So I uninstalled Unity and installed fresh. Now I am getting this error:

3460201--274424--upload_2018-4-12_17-32-23.png

Would anyone with VS experience mind helping me out?

Thank you

You need to have Visual Studio + Unity Tools for Visual Studio. Just saying that explicitly in case you only did 1 of those.
After that, adding it as the external editor, as you said you did, is the only other thing that is required, as far as I know.

My experience with troubleshooting Visual Studio and Unity is pretty much non-existent. I’ve simply never had it bug out with the way I install them. I start the installer for Visual Studio Community, select the entry for game development with Unity, deselect the Unity editor from the installer, and let it install. After that I simply install the release of Unity I want.

I know this isn’t very helpful but it’s literally worked for me every single time following these steps on multiple systems.

OK, here is how I have VS installed.

And here is my Unity Preferences

Now If I start a new Project in Unity and create a C# Script, then double-click it, I get the error from the OP.

I got it working! I had to have Unity.exe run as admin.