Unity Community


Results 1 to 8 of 8

  1. Posts
    17

    Visual Studio 2010 issue

    Does Unity 3.0 fully support Visual Studio 2010 as a script editor? I selected Visual Studio 2010 as my script editor of choice under preferences but Unity doesn't open up Visual Studio when I double-click a script file. The script file opens up in UniSCiTe, the default editor, and I get the error "Couldn't call method SyncVisualStudioProject because the class SyncVS couldn't be found.". I tried googling this issue but the posts I found were from the Unity 3.0 beta and I don't know if anything has changed in the meantime.


  2. Posts
    2
    Are you using VS 2010 Express? A box in Unity's preferences states that Visual Studio Express doesn't allow itself to be controlled from another application. (But professional edition should work).


  3. Posts
    2

    Unity 3: SyncVS couldn't be found error(?)

    Hi,

    I have Visual Studio 2010 Ultimate, and am getting the same error with Unity 3 when attempting to edit script : "Couldn't call method SyncVisualStudioProject because the class SyncVS couldn't be found."

    Any insight here would be greatly appreciated!


  4. Posts
    2
    I've actually just figured out a work around:

    - Open the VS 2010 project outside of Unity 3 (i.e. using VS2010 with Unity not running)
    - VS2010 may then ask you to convert it from an earlier version (I suspect this includes MonoDevelop if you last used this to edit a script)
    - Save and exit VS2010

    The VS2010 editor should then correctly link from within Unity 3.


  5. Posts
    8
    Same problem here with VS 2010 Ultimate. The workaround works but its annoying that unity can't get it right :/

    The error thrown in console looks like this:
    Code:  
    1. Couldn't call method SyncVisualStudioProject because the class SyncVS couldn't be found.
    2. UnityEditor.DockArea:OnGUI()


  6. Posts
    14
    I'm having the same problem with Visual Studio Ultimate. I've notice that it will eventually open in Visual Studio if you just keep trying to open up script files in Unity (double click on them). I wonder if Visual Studio is taking too long to open the files so Unity automatically opens them in its own editor. I know that this happens if Visual Studio can't open for some reason (trial version expiration).


  7. Posts
    20
    Quote Originally Posted by Mann1ng View Post
    I've actually just figured out a work around:

    - Open the VS 2010 project outside of Unity 3 (i.e. using VS2010 with Unity not running)
    - VS2010 may then ask you to convert it from an earlier version (I suspect this includes MonoDevelop if you last used this to edit a script)
    - Save and exit VS2010

    The VS2010 editor should then correctly link from within Unity 3.
    Yep, this worked for me. Thank you.

    It would be great if this weren't necessary, though.
    Last edited by prodystopian; 11-23-2010 at 08:09 AM.


  8. Posts
    2,603
    mine opens fine but only my scripts folder shows up in VS, anyone else have the same problem ?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •