c# - Can't reference all folders in universal Windows App -


so, i'm writing universal windows app , have referencing problem. when put business logic code in shared project, views in respective projects (windows , windows phone), can't reference view-folders (i c# "the type or namespace not found" error). i've checked namespaces , names, it's should be. , weird thing is, sometimes can reference some of subfolders (i have 3 subfolders in views folder , right can reference 2 of them , yesterday reference 1 , before couldn't see views namespace). when put views folder in shared project, isn't fixed - again see different folders @ different times. so, have done wrong, or problem somewhere else ?

p.s. know paths in windows case-insensitive, i've noticed windows-phone project (according vs) @ ~/visual studio 2013/... , windows project @ ~/visual studio 2013/... . in explorer @ same place, mean ?

sounds bad layering, begin with. (platform-specific) views should hold reference (platform-independent) business logic. business logic shouldn't need accessing platform-specific code in view.

if really, has to, you'd need build plug-in-like model there's platform-independent interface both platform-specific pieces provide implementations of.


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -