C# type defined in an assembly that is not referenced

后端 未结 7 1263
梦毁少年i
梦毁少年i 2021-01-01 23:00

I have two projects A and B. Project A makes use of type X in project B, so I have a reference to B added in A. Everything built fine.

I signed project B using a s

7条回答
  •  迷失自我
    2021-01-01 23:47

    Sorry for late answer, but this helped me:

    (Assuming that you have AnyCPU solution platform currently)

    • switch solution platform to x86.
    • compile
    • switch back
    • compile again.

提交回复
热议问题