开发者

How to reference the Application object from another project in the same solution?

开发者 https://www.devze.com 2023-03-11 19:50 出处:网络
I have a solution containing two projects: a windows phone project and an authentication library. In the authentication library I want to reference the开发者_运维问答 phone project\'s App.xaml.cs in

I have a solution containing two projects: a windows phone project and an authentication library.

In the authentication library I want to reference the开发者_运维问答 phone project's App.xaml.cs in code. Is this even possible?


The right thing to do is to move the code that you want to use in both libraries to a separate assembly and reference this assembly from both of your projects.

0

精彩评论

暂无评论...
验证码 换一张
取 消