Search Unity

Auto Open C# Project On Launch

Discussion in 'Assets and Asset Store' started by thefallengamesstudio, Jan 25, 2019.

  1. thefallengamesstudio

    thefallengamesstudio

    Joined:
    Mar 7, 2016
    Posts:
    360
    Hey developers,
    Here's a tiny asset we fond very useful in all of our projects and decided to release it for free.



    Hope you enjoy it :)
    Suggestions are much appreciated!
     
    Last edited: Jan 25, 2019
  2. Player7

    Player7

    Joined:
    Oct 21, 2015
    Posts:
    1,401
    But it doesn't let you just launch a Unity project without not having run Unity Editor at all ? ie you've got a project setup in Unity, but don't want to bother launching the editor just to get Visual Studio to open up all the correct things?
     
  3. thefallengamesstudio

    thefallengamesstudio

    Joined:
    Mar 7, 2016
    Posts:
    360
    You lost me. You mean starting VS without starting Unity? You can do so by double-clicking the .sln in the project folder. But I'm pretty sure you meant something else, so please clarify

    --Lucian
     
  4. Player7

    Player7

    Joined:
    Oct 21, 2015
    Posts:
    1,401
    yeah I know that, but the problem is opening the sln file doesn't really work that well from what I've found. In any case you still need the Unity editor open for it to compile changes... wasn't Unity working on something to build/compile within Visual Studio without the editor open? Sorry kinda off topic from this asset.. so basically this asset just automatically opens the code side of the project in your editor of choice the moment you open the Unity project in the editor right?
     
  5. thefallengamesstudio

    thefallengamesstudio

    Joined:
    Mar 7, 2016
    Posts:
    360
    Yes, that's what it does.
    I don't have any knowledge about compiling code outside Unity.
    But -at least on 2018.3- hitting "Rebuild solution" in VS doesn't give any errors and it also skips unity's own compilation step. I didn't try this with Unity closed, though