Visual Studio macro to add file headers(jamesewelch.com)

submitted by jamesewelchjamesewelch(2275) 3 years, 8 months ago

Microsoft’s StyleCop analyzes C# source code to enforce a set of style and consistency rules. It can be run from inside of Visual Studio or integrated into an MSBuild project. One of these rules is #SA1633. This rule requires that each of your files have a file header that contains a copyright XML element. Of course, you can disable this rule if you want through StyleCop settings. But just in case you have a similar rule at your work (or your own personal rule) or need to adhere to this rule, I’ll describe the situation and provide the macro below.

add a comment |category: |Views: 170

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

No comments so far

information Login or create an account to comment on this story