File tree Expand file tree Collapse file tree 1 file changed +0
-29
lines changed
Packages/com.unity.ide.visualstudio/Editor Expand file tree Collapse file tree 1 file changed +0
-29
lines changed Original file line number Diff line number Diff line change @@ -59,35 +59,6 @@ static VisualStudioIntegration()
5959 } ) ;
6060
6161 EditorApplication . update += OnUpdate ;
62-
63- CheckLegacyAssemblies ( ) ;
64- }
65-
66- private static void CheckLegacyAssemblies ( )
67- {
68- var checkList = new HashSet < string > ( new [ ] { KnownAssemblies . UnityVS , KnownAssemblies . Messaging , KnownAssemblies . Bridge } ) ;
69-
70- try
71- {
72- var assemblies = AppDomain
73- . CurrentDomain
74- . GetAssemblies ( )
75- . Where ( a => checkList . Contains ( a . GetName ( ) . Name ) ) ;
76-
77- foreach ( var assembly in assemblies )
78- {
79- // for now we only want to warn against local assemblies, do not check externals.
80- var relativePath = FileUtility . MakeRelativeToProjectPath ( assembly . Location ) ;
81- if ( relativePath == null )
82- continue ;
83-
84- Debug . LogWarning ( $ "Project contains legacy assembly that could interfere with the Visual Studio Package. You should delete { relativePath } ") ;
85- }
86- }
87- catch ( Exception )
88- {
89- // abandon legacy check
90- }
9162 }
9263
9364 private static void RunOnceOnUpdate ( Action action )
You can’t perform that action at this time.
0 commit comments