GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||
GeezerVison is showing github.com — Disable IDE0073: FileHeaderMismatch by xtqqczze · Pull Request #13935 · PowerShell/PowerShell Conversation
|
|
Ilya (@iSazonov) Can you merge? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
No, we should inform users to use right header. We need to set "suggestion". Or we could suppress the rule for some files/folders. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Ilya (@iSazonov) We cannot use directory based suppression, at least for For |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
It is not problem. We have some files from other repositories with different licenses and the files are frozen. We know about this. So "suggestion" is good compromise. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
OK |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Ilya (@iSazonov) Are there any options for suppression on a per file basis, other than the following? #pragma warning disable IDE0073 // The file header does not match the required text // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. #pragma warning restore IDE0073 // The file header does not match the required text The example above is for the file: |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
xtqqczze The case is so rare and not critical so we can use "suggestion" without any concerns - maintainer will review and ensure. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Reopen the PR to restart all CIs. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Build failures are due to PowerShell Gallery unavailability, see #13946. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
closing and reopening to restart tests |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I wonder before the change we have "warning" but build does not fail. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
It appears that IDE0073 is only triggering in live analysis, not in build. We need to set MSBuild property |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Change was merged in #13957. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.