Is it a bad practice to reference an exe file in C# project

前端 未结 5 750
粉色の甜心
粉色の甜心 2020-12-14 15:07

I have one simple question.

I know that I can reference an .net executable file in my C# project.

I don\'t want to make unnecessary project with \"Output Typ

5条回答
  •  萌比男神i
    2020-12-14 15:59

    .NET DLL or EXE, both are assemblies, you could use either exe or dll by referencing them. There is no problem in shipping exe with your code, until unless you don't want to get this exe executed separately.

提交回复
热议问题