Is there a way to set two C#.Net projects to trust one another? -
i have 2 c#.net projects in single solution modelproject , pluginproject. pluginproject plug-in application, , consequently references api. pluginproject used extract data application plugs into. modelproject contains data model of classes extracted pluginproject.
the extracted data can used independent of application or plug-in, why keeping pluginproject separate modelproject. want modelproject remain independent of pluginproject, , applications api. or in other words want able access extracted data without needing access pluginproject, application, or application's api.
the problem i'm running though pluginproject needs able create , modify classes in modelproject. however, i'd prefer not make these actions public using modelproject. extracted data should read-only, unless later modified pluginproject.
how can keep these projects separate give pluginproject exclusive access modelproject? possible?
you define methods modify modelproject objects internal, other projects using modelproject not able call methods, use internalsvisibletoattribute grant pluginproject access internal methods of modelproject.
Comments
Post a Comment