Last active
December 28, 2015 07:03
-
-
Save aienabled/7f6f3f453042ef905ffd to your computer and use it in GitHub Desktop.
Avoid (re)generation of the Unity VisualStudio solution file for Unity 5.2+
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using SyntaxTree.VisualStudio.Unity.Bridge.Configuration; | |
using UnityEditor; | |
/// <summary> | |
/// Avoid (re)generation of the solution file | |
/// Unfortunately this settings is hidden since Unity 5.2 (when UnityVS was integrated into VS) | |
/// HOW TO USE: place into your Assets/Editor folder. | |
/// https://gist.github.com/aienabled/7f6f3f453042ef905ffd | |
/// </summary> | |
[InitializeOnLoad] | |
public static class AvoidUnityVisualStudioSolutionRegeneration | |
{ | |
static AvoidUnityVisualStudioSolutionRegeneration() | |
{ | |
Configurations.Active.GenerateSolutionFile = false; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment