Skip to content

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

Description

@CIO-DOTNET

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:

  1. Install LicenceHeaderManager v5.0.1 for Visual Studio 2022
  2. Enable "Automatically insert licence headers in new files"

image

  1. Open Solution under source control (TFS 2010 in my case)
  2. Pick a file (in my case, any .cs or .cshtml file)
  3. Right-click and select "Compare"
  4. The Diff window is opened, but also a tmp file
    image

This seems to occur to file extensions that are under the "Languages" window in the Licence Header options:

image

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions