Created
November 26, 2014 13:15
Revisions
-
jbevain created this gist
Nov 26, 2014 .There are no files selected for viewing
This file contains 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,18 @@ using System; using UnityEngine; using UnityEditor; using SyntaxTree.VisualStudio.Unity.Bridge; [InitializeOnLoad] public class ReferenceRemovalProjectHook { static ReferenceRemovalProjectHook() { const string references = "\r\n <Reference Include=\"Boo.Lang\" />\r\n <Reference Include=\"UnityScript.Lang\" />"; ProjectFilesGenerator.ProjectFileGeneration += (string name, string content) => content.Replace(references, ""); } }