Debug.LogError($"Please delete {assembly.Location}. Unity 2019.2+ loads it directly from Rider installation. To disable this, open Rider's settings, search and uncheck 'Automatically install and update Rider's Unity editor plugin'.");
Debug.LogError($"Please delete {assembly.Location}. Unity 2019.2+ loads it directly from Rider installation. To disable this, open Rider's settings, search and uncheck 'Automatically install and update Rider's Unity editor plugin'.");
Debug.LogWarning("Unity was started by a version of Rider that is not the current default external editor. Advanced integration features cannot be enabled.");
Debug.LogWarning("Unity was started by a version of Rider that is not the current default external editor. Advanced integration features cannot be enabled.");
Debug.Log($"Unity was started by Rider {originVersion}, but external editor is set to: {path}");
Debug.Log($"Unity was started by Rider {originVersion}, but external editor is set to: {path}");
}
}
}
}
}
}
privatestaticvoidInitProjectFilesWatcher()
privatestaticvoidInitProjectFilesWatcher()
{
{
varwatcher=newFileSystemWatcher();
varwatcher=newFileSystemWatcher();
watcher.Path=Directory.GetCurrentDirectory();
watcher.Path=Directory.GetCurrentDirectory();
watcher.NotifyFilter=NotifyFilters.LastWrite;//Watch for changes in LastWrite times
watcher.NotifyFilter=NotifyFilters.LastWrite;//Watch for changes in LastWrite times
watcher.Filter="*.*";
watcher.Filter="*.*";
// Add event handlers.
// Add event handlers.
watcher.Changed+=OnChanged;
watcher.Changed+=OnChanged;
watcher.Created+=OnChanged;
watcher.Created+=OnChanged;
watcher.EnableRaisingEvents=true;// Begin watching.
watcher.EnableRaisingEvents=true;// Begin watching.
// there is a bug in DllImplementation - use package implementation here instead https://github.cds.internal.unity3d.com/unity/com.unity.ide.rider/issues/21
// there is a bug in DllImplementation - use package implementation here instead https://github.cds.internal.unity3d.com/unity/com.unity.ide.rider/issues/21
api.RegisterCallbacks(Callback);// This can be used to receive information about when the test suite and individual tests starts and stops. Provide this with a scriptable object implementing ICallbacks
api.RegisterCallbacks(Callback);// This can be used to receive information about when the test suite and individual tests starts and stops. Provide this with a scriptable object implementing ICallbacks