How to use shared resource file between projects in one solution?

后端 未结 5 1170
忘了有多久
忘了有多久 2020-12-05 07:25

I have a problem with resource files.

I have a solution with two projects. The first project contains ImageResource.resx file with the images that I use

5条回答
  •  清歌不尽
    2020-12-05 08:03

    If a resource file is really shared between projects, you should put it in a shared project.

    Solution 'Sample'
       Project Sample.Data
       Project Sample.Business
       Project Sample.UI
       Project Sample.Resource   //shared resources are put in a shared project  
    

提交回复
热议问题