-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New tmp file is created when "Compare" is used and "Automatically insert licence headers in new files" is enabled in Visual Studio 2022 options #176
Comments
@ciozmi Thank you for reporting this. I can reproduce this behavior with Git by first adding a change to the file and then selecting "Compare with unmodified" |
I also tested the above steps in Visual Studio 2017. Same setup more or less. No new file is created as above, however the following message appears: It is not 100% reproducible in all cases in Visual Studio 2017 as with Visual Studio 2022. The following appears in the Output Pane: I hope these help. This seems to be related to Issue #162 Update: There are actually two types of errors that occur by doing the above in Visual Studio 2017. Below is the Output for the other error: |
Related to Issue #165
Visual Studio 2022 v17.4.1
LicenceHeaderManager v5.0.1
Other extensions:
Visual Studio 2022 Defaults
Live Share 2022
Productivity Power Tools 2022
Xamarin Templates , Android & Apple SDK
Progress Telerik UI for Xamarin, WPF, ASP.NET MVC, ASP.NET Core
Steps to reproduce:
This seems to occur to file extensions that are under the "Languages" window in the Licence Header options:
For example, this does not occur when comparing .resx or .scss files.
The issue goes away if "Automatically insert licence headers in new files" is disabled.
The text was updated successfully, but these errors were encountered: