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.
除了复制 .cs 文件之外,还有其他方法吗?
更改 .csproj 文件?但是怎么做?
有一个相关的问题,但我对答案不满意:link
您可能对答案不满意,但它仍然是正确的答案,恐怕这仍然是一个骗局。
老实说,重构不会超过一个小时。
您需要手动编辑 .proj 文件并删除 <ProjectTypeGuids> 元素。
您可能还想删除与 IIS 相关的其他元素。对此 .proj 文件和正确设置的类库中的文件进行比较。