Пример #1
0
        public void TestNewProjectNewSceneAddCircularReference()
        {
            var editor = new Editor();

            editor.LoadExtensions();
            Project     p1 = editor.CreateProject("p1", Path.GetRandomFileName());
            Project     p2 = editor.CreateProject("p2", Path.GetRandomFileName());
            ProjectItem d1 = p1.Create(new Scene());
            ProjectItem d2 = p2.Create(new Scene());

            d1.AddReference(d2);
            d2.AddReference(d1);
        }