Share variables between projects

后端 未结 5 813
天命终不由人
天命终不由人 2021-01-05 22:04

I have a solution with some projects. One of this projects is the one I\'ve defined as main, also his class has a main Method.

Inside this class, I\'ve defined some

5条回答
  •  时光说笑
    2021-01-05 22:51

    You need to add a reference to Project A to project B - right click on the project node in the solution explorer, select references, then projects then Project A.

    You will then have access to all the types in Project A.

    See this How To on MSDN.

提交回复
热议问题