Closed Sventric closed 7 years ago
In the extension code there is a hard reference to AssemblyInfo, even if you set the the AssemblyInfo File path to different file.
if (Test-Path -LiteralPath $assemblyInfoFiles) {
$file = (Resolve-Path $assemblyInfoFiles).Path
if ($file -like "*\AssemblyInfo.*") {
$files += $file
}
} else {
$files = Get-ChildItem $assemblyInfoFiles -Recurse
| ForEach-Object {$_.FullName}
| Where-Object {$_ -like "*\AssemblyInfo.*"}
}
I also need this feature, because I have a global SolutionInfo.cs too.
Thank you for your input.
It is a good suggestion and we will look into it.
Published a patch for this issue.
You should now be able to pick a specific file using file picker or use wildcards eg. **GlobalAssembly.
I have a 'GlobalAssemblyInfo.cs' on solution-level and include this this my projects. This file seems not to be found by this tool. Even when using the file-picker in VSTS.