Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
3
Question by Wikzo · Aug 23, 2010 at 10:06 AM · editor-scriptingvisualstudioexternal-tools

How to set Visual Studio 2010 as default script editor in Unity

Hi,

I am starting to learn how to use Unity.

I am following some good tutorial videos from 3D Buzz, and they are using Visual Studio 2008. 3D Buzz

I want to follow on, so I have downloaded Visual Studio 2010 C# Express, but unlike what they do in their videos, I can't get Unity to use Visual Studio Express as the default script editor.

I am hitting Edit --> Preferences ... --> External Script Editor. But how am I supposed to select Visual Studio Express? Do I need to navigate to the file itself on my hard drive, and if so, can you please help me find it? I have searched through my folders, but there are simply too many in the Microsoft Visual Studio Express that I don't know which one to choose. Keep in mind that I am also new to Visual Studio Express as well.

Thank you in advance.

Screenshot of the windows

Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image BeB_Wir3 · Jan 06, 2015 at 10:46 PM 0
Share

hey man! a bunch of thanks for your reply! even after all these years! i have checked it out, but havent got it working yet. i haven't spend much time on it yet, but i will soon to get it working! and again, many thanks!

avatar image Decimation Studios · Jan 17, 2015 at 05:44 AM 0
Share

You're welcome Beb_Wir3

6 Replies

· Add your reply
  • Sort: 
avatar image
6
Best Answer

Answer by joedrigon · Aug 23, 2010 at 05:15 PM

You aren't allowed to open VS Express from within Unity (even though you can browse and select it in preferences) you'd need VS Pro or some other version of VS. The reason why intellisense might not work is because you haven't sync'd Unity to your VS project.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Ferb · Jan 15, 2015 at 12:45 PM 0
Share

It may not work with VS Express, but there is now another free version of Visual Studio, Visual Studio Community Edition. Using that, you can get full integration with Unity.

Free Visual Studio Tools for Unity

avatar image Ferb · Jan 15, 2015 at 01:41 PM 0
Share

Although you can't open VS Express, there is now another free version called Visual Studio Community Edition that, in combination with Visual Studio Tools for Unity, will allow you all the Unity integration you want.

avatar image
6

Answer by LFLFM · Feb 20, 2011 at 02:30 PM

OK I found the solution... It's pretty simple and pretty much works just as it should, it just doesn't TELL us that its working!

Here you go: (tested with latest version of Unity 3 (downloaded it on 18th feb 2011; and VS2010 Express):

1 . Edit --> Preferences ... --> External Script Editor -> "C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\vcsexpress.exe"

So far so good right, everyone's doing just this... Well... its already working! you just don't know it!

2 . right-click your script file -> "Sync MonoDevelopment Project" - YES, it SAYS "MonoDevelopment", but what it really means is "Visual Studio Express"; so go for it and click it

double-clicking script files will still open mono, so here you give up... forget double clicking the files...

3 . open your project folder in windows explorer and your VISUAL STUDIO project (".csproj") and solution (".sln") files are sitting there; open the project file and visual studio will do the rest; with INTELLISENSE and everything!

Now we just don't have the ease of clicking stuff in Unity to open in VS, we have to go into VS and manipulate files ourselves; but its no biggie really... :-)

Comment
Add comment · Show 6 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image SirGive · Jan 27, 2012 at 06:10 PM 0
Share

Dude this is A$$anonymous$$AZING

avatar image BeB_Wir3 · May 23, 2013 at 09:02 PM 0
Share

I tried it with Unity 4.0.0, but i failed. i think i got trapped at step 3, but i dont understand exactly what it says. so i tried to create a $$anonymous$$VC# probject into my unity folder; start the project from here; redo step 2; reinstall $$anonymous$$VC#; redoing above atempts.

what am i missing here?

avatar image Lythom · Jul 06, 2013 at 10:32 AM 0
Share

I had it working with unity 4.1.5. After the step 2 "sync $$anonymous$$onoDevelop Project" the .sln file exists in the project folder and can be open with visual studio express 2010 with intellisense and everything.

avatar image BeB_Wir3 · Jul 06, 2013 at 06:00 PM 0
Share

Yeah i got it going now. I thought i could open the scripts via unity, which i hoped for, but i silmpy can't. But syncing the project and then opening VS workes for me.

Also, what an amazing program to work with, it's making me lazy.

avatar image xCamway · Jun 21, 2015 at 08:37 PM 0
Share

I know this is an older post, but I just did this on unity 4.5.4, default script editor works with double clicking as well. I added "E:\Program Files (x86)\$$anonymous$$icrosoft Visual Studio 12.0\Common7\IDE\devenv.exe".

Show more comments
avatar image
-1

Answer by Wikzo · Aug 23, 2010 at 10:45 AM

Ok, I think I found it via "C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\vcsexpress.exe"

Now I have another problem, however, that when I open up a script in Visual Studio Express, the autocomplete intellisense doesn't work.

I don't know whether this is a Unity or Visual Studio related question, but in the video when he types "transform.", a box appears and shows him a bunch of options like "transform.position.x".

Does anybody know how to enable this feature? I have tried to press CTRL+ALT+SPACE (I Googled it), but it doesn't work.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image jashan · Aug 23, 2010 at 11:33 AM 0
Share

You shouldn't post questions in answers ... make it kind of difficult to answer properly (answering in comments is not really ideal).

If you're using the solution created by Unity, this should work immediately. $$anonymous$$aybe you're project / solution is missing the reference UnityEngine.dll. However, I think there may be a limitation with VCsExpress that prevents you from using that solution ... in that case, it should still work when you simply open the project that Unity creates.

avatar image
0

Answer by Joshua · Jun 17, 2011 at 03:20 PM

There is now a page in the doc´s explaining how to get Unity to work with Visual Studio Pro or Express. Read up on it here.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by Decimation Studios · Jan 02, 2015 at 09:49 AM

I know this is an outdated thread, but I have some links that will help out with future versions such as VS 2012 and 2013.

This tutorial makes it much easier: http://michaelcummings.net/mathoms/configuring-unity-to-use-visual-studio-2012-2013/

And if you want the tools for more power, download it here: https://visualstudiogallery.msdn.microsoft.com/20b80b8c-659b-45ef-96c1-437828fe7cf2

Be sure to have VS Community installed first.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
  • 1
  • 2
  • ›

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

8 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Unity external script editor won't change 6 Answers

Control output of visual studio 2013 output 0 Answers

Can't open script via Visual Studio (only last 2 days) 3 Answers

cannot open visual studio instead of mono developer 4 Answers

About the Visual C# Express Editor limitation 6 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges