aboutsummaryrefslogtreecommitdiffstats
path: root/QtVsTools.Core/MsBuild/MsBuildProject.Build.cs
Commit message (Collapse)AuthorAgeFilesLines
* Correct style errors in CoreAli Can Demiralp2025-07-141-1/+1
| | | | | Change-Id: I17570e5eab6c0902691c521af408e30aa7dd1a7f Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
* Update copyright comments to 2025Ali Demiralp2025-03-181-4/+2
| | | | | Change-Id: I9ab1f8919a3d28cb546cd71bfdc8da1f6ae9e123 Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
* Fix VSTHRD003: Avoid awaiting foreign TasksKarsten Heimrich2024-12-101-4/+10
| | | | | Change-Id: Id26c75fa5bda030382730169976028f6bc2d3d91 Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* Use a cancellation token to end various loops in long running tasksKarsten Heimrich2024-09-181-4/+2
| | | | | Change-Id: Ib74f9d939f862738c61526d4336f421ca7fc796c Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* Make use of the new settings classKarsten Heimrich2024-03-271-10/+8
| | | | | | | | | | | This patch addresses an initialization issue that occurs when the user waits on the splash screen until Visual Studio is fully initialized. In this scenario, none of the options on the QtOptionsPage are set to their corresponding values from the registry, which may result in incorrect behavior in some cases. Change-Id: I9403289f429244ee4f2f6656f703cdb1f60e486a Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* Avoid modifying .vcxproj.userAli Can Demiralp2024-03-141-2/+7
| | | | | | | | | | | | | Removed QtLastBackgroundBuild, which was a property that was written, but never read, and had the sole purpose of triggering an update to MOC/UIC/... as well as IntelliSense. Replaced it with QtTouchProperty, which serves the same purpose, but without modifying the .vcxproj.user. Added comments clarifying its purpose to avoid unintentional refactoring in the future. Fixes: QTVSADDINBUG-935 Change-Id: I4d72c9930f07b121fe6437965e7c082b335cf34a Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
* Change source license to LicenseRef-Qt-Commercial or GPL-3.0-onlyAli Can Demiralp2024-02-281-1/+1
| | | | | | | | ... WITH Qt-GPL-exception. Fixes: QTVSADDINBUG-1179 Change-Id: I74fe451eec352af13436548cfd9a28f832fc0757 Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
* Update license year from 2023 to 2024Ali Can Demiralp2024-01-091-1/+1
| | | | | Change-Id: I38700243f7ef55239b247945324e4e0a978b097f Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* Adjust namespace of Utils class to match folder structureKarsten Heimrich2024-01-081-2/+1
| | | | | | Change-Id: I462c9cc4b96aaf354f77739da64202e2a7dc8af2 Reviewed-by: Ali Can Demiralp <ali.demiralp@qt.io> Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* Follow-up on patch e85612, rename configuration name parameterKarsten Heimrich2023-07-251-10/+10
| | | | | Change-Id: I53e4ec9dcbc8475574f52a1cd5ebfcc5be3e8121 Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* Fix option ProjectTrackingKarsten Heimrich2023-07-211-4/+6
| | | | | | | | | | | | | | | After merging both versions of the tracking cache code, the 'ProjectTracking' option was accidentally removed. Since we now have all projects in the cache, we have to: * Start the background build only if the option is true * Consider the option if we want to know if a project is being tracked * Remove the project from the cache even if not tracked * Guard methods like StartBuildAsync() and RefreshAsync() Change-Id: I3185efa93d4b006bc454aeeddedd2f2c890168dd Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* Fix project tracking not working anymore after eb64ffKarsten Heimrich2023-07-191-47/+58
| | | | | | | | | | | | | | | | | In eb64ffac02dc0d44422bba2a87dba1dc995e6e9c the cast from EnvDTE.Project.Object as IVsBrowseObjectContext was changed to VcProject.Object as IVsBrowseObjectContext which fails sometimes. Therefor project tracking stopped working at all. Some more fixes where necessary after 3253b8. Ususally we did store the QtProject and BuildAsync() did access the UnconfiguredProject property. This got removed by the mentiond patch and in some cases (Project Unload/Load) UnconfiguredProject is null and leads to crashes. Now we store all information in a QueueItem, fixing this issue. Change-Id: I765b85d7c22ff6bafe6180729fa8ff63d0759cc1 Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* Rename all QtProject{and related classes} to MsBuildProject{...}Karsten Heimrich2023-06-291-0/+348
Change-Id: I7e730590938754892ae223c75bdb2d4611568055 Reviewed-by: Miguel Costa <miguel.costa@qt.io>