rubicon-oss / LicenseHeaderManager

Manage license headers for your source code files in Visual Studio

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error: 'Add LicenseHeader to all files in solution failed with the exception

NJ261 opened this issue · comments

I'm trying to apply the license header to whole whole project via sln file. But I'm seeing the following issue Add LicenseHeader to all files in solution failed with the exception 'Due to high risk of deadlock you cannot call GetService from a background thread in an AsyncPackage derived class.

github-issue

I'm using following license header file and visual studio is also up to date.

extensions: designer.cs generated.cs
extensions: .cs .cpp .h
/* 
  Copyright %CurrentYear% ABCD 
*/

extensions: .ps1 .psm1
<#
  Copyright %CurrentYear% ABCD 
 #>

Also, is there a way to use this tool via cmd or powershell? Any suggestions? Thanks!

duplicate of this issue #116