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.
我正在从解决方案中的多个项目生成 NuGet。在主项目的开发过程中需要其中一个项目。(当我说 main 时,我的意思是我使用 IncludeReferencedProjects 选项运行 nuget 的项目)我不希望这个项目包含在 nuget 中。但是 developmentDependency 属性仅适用于包,不适用于解决方案中的 DLL。有没有办法从 NuGet 中排除这个 DLL?
解决方案可能正在重组解决方案并且在主项目中没有代码,它仅包含对 NuGet 中所需项目的引用。