c# - Why am I getting a namespace error with Manufaktura Library -


i attempting use library manufaktura draw music notation in wpf application.

i have using statement need according instructions on this page

using manufaktura.controls; using manufaktura.model; using manufaktura.music; using manufaktura.controls.wpf; using manufaktura.model.mvvm; 

i have appropriate dlls referenced in solution explorer of visual studio well.

when used code sample getting 2 errors (three 2 same).

code instruction:

public class testdataviewmodel : viewmodel {     private score data;      public score data     {         { return data;  }         set { data = value; onpropertychanged(() => data); }     }      public void loadtestdata()     {      } } 

errors:

error 1 type or namespace name 'score' not found (are missing using directive or assembly reference?)

and

error 3 type arguments method 'manufaktura.model.mvvm.viewmodel.onpropertychanged(system.linq.expressions.expression>)' cannot inferred usage. try specifying type arguments explicitly.

am missing something?

i think need reference libraries instead of adding using statements. so, right-click project's references , "add reference..." each class library listed in documentation.

fyi, second error consequence of score type not being found. once complier knows score, should go away.

update: inspected manufaktura.controls class library , score class in namespace manufaktura.controls.model. try adding using statement namespace too.


Comments

Popular posts from this blog

dns - How To Use Custom Nameserver On Free Cloudflare? -

python - Pygame screen.blit not working -

c# - Web API response xml language -