Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 Web 应用程序项目,其中包含一些带有代码的 asmx 文件。我怎样才能编译它们,以便每个文件都有一个单独的 dll,即我得到 file1.dll、file2.dll 等而不是 project.dll?TIA
你不能。单个 .NET 项目编译为单个 .NET 程序集。如果您想要多个程序集,请创建多个项目。
我不确定您为什么要这样做,但我建议为每个服务创建一个项目,并且我还建议对所有项目使用相同的公钥。