Uploaded image for project: 'Qt Visual Studio Tools'
  1. Qt Visual Studio Tools
  2. QTVSADDINBUG-560

Non-unique project GUID on create a project with new solution

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • 2.4.2 (rev.14), 2.4.3
    • 2.2.1, 2.4.2
    • General
    • None
    • Visual Studio 2015 Update 3
      Windows 10
    • Windows
    • 8d40a8dfce585a4f4bb0b759a2bd770c1479bdd7

    Description

      Steps to reproduce:

      • launch Visual Studio;
      • select the main menu item "File -> New -> Project...", choose "Qt -> Qt GUI Application";
      • setup a project name and path, ensure the "Create directory for solution" is checked, click "Ok";
      • create a project with any settings;
      • open new .vcxproj and .sln files in a text editor, find the project GUID.

      Expected: the project GUID is a random GUID/UUID.
      Got: the project GUID is always {B12702AD-ABFB-343A-A199-8E24837244A3}.

      When create a new project within existing solution the problem doesn't appear.

      This GUID is found in the VSTools source code, partially in file "src/qtwizard/ConsoleWizard.cs". Seems like it is not replaced in templates by a randomly generated one.

      The problem is noticed lately and it seems like it affected older versions of the Tools and VS Add-In: some old projects have the same GUID.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            mecfc Miguel Costa
            ilotxxi Constantin Osipov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes