How to include another project Console Application exe in an Asp.Net website?

前端 未结 3 2127
谎友^
谎友^ 2021-01-13 01:43

I\'ve got two projects: a .Net 4.0 Console Application and an Asp.Net 4.0 Website (they are in the same solution). Now I\'d like to include

3条回答
  •  耶瑟儿~
    2021-01-13 02:31

    On the project you are trying to reference, make sure you change the output type to class Library. This should fix it.

提交回复
热议问题