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.
如何在构建服务器上针对基于 iis 的 web 项目运行 stylecop?Buildserver 在持续集成中运行,我希望它自动化。
有了一个库,我可以在 .csproj 中添加几行并完成。我相信它是一个网站应用项目。
它是 Web 应用程序项目还是 Visual Studio 中的网站?使用前一个选项,它被编译成一个程序集,因此您可以在构建程序集时始终从构建脚本运行 StyleCop。
或者,您可以在 VisualStudio 中将 StyleCop 作为插件运行,但您可能在这里要求自动化。我认为这完全取决于您的构建过程。有多种构建配置,因此请详细说明您在此构建服务器上实际执行的操作。持续集成?
项目类型不可能,项目需要转换。