How do I set the ReSharper default Company and Copyright?

天涯浪子 提交于 2019-12-06 17:28:56

问题


I just installed Stylecop 4.5RC along with ReSharper. When I create a new class, I see that I am now compliant (yay!), but I want the company to be my company, not Microsoft. I also have too much to do to have to worry about updating the copyright text. How do I fill these in by default?

// -----------------------------------------------------------------------
// <copyright file="ReaderResultTypes.cs" company="Microsoft">
// TODO: Update copyright text.
// </copyright>
// ---------------------------------------------------------------------

--


回答1:


Thats looks like the header from StyleCop. (Last version of StyleCop include the StyleCop plugin for resharper)

Ok how to change? Right click on your project in the solution explorer. Select the context menu item "StyleCop settings". On the settings dialog switch to the tab "Company Information" and check the checkbox. Enter your copyright informations in the fields. Done :-)



来源:https://stackoverflow.com/questions/6117066/how-do-i-set-the-resharper-default-company-and-copyright

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!