именно так я добавляю остальные папки
Код: Выделить всё
using VideoPlayer_Proto.Models;
using VideoPlayer_Proto.Controllers;
using VideoPlayer_Proto.Views;
Код: Выделить всё
private PlaylistManager playlistManager = new PlaylistManager();
Код: Выделить всё
Severity Code Description Project File Line Suppression State
Error (active) CS0246 The type or namespace name 'PlaylistManager' could not be found (are you missing a using directive or an assembly reference?) VideoPlayer_Proto C:\path to\project\source\repos\VideoPlayer_Proto\VideoPlayer_Proto\Views\Form1.cs 36
Код: Выделить всё
namespace VideoPlayer_Proto.Controllers
Я пытался связать файл следующим образом
Код: Выделить всё
private PlaylistManager playlistManager = new PlaylistManager();
P.S.
я пытаюсь не использовать инструменты WPF. поскольку я все еще учусь, я хочу напечатать весь код, а не использовать инструмент «щелкни и перетащи»
Подробнее здесь: https://stackoverflow.com/questions/790 ... o-my-class
Мобильная версия