Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
2.4.3
-
None
-
- Qt 5.14.1 msvc 2017 x64
- Visual Studio addin 2.4.3
- Visual Studio Professional 2019 ( Version 16.4.5)
[No Special Environment Variable are set on Windows machine x64]
Description
Environment :
- Qt 5.14.1 msvc 2017 x64
- Visual Studio addin 2.4.3
- Visual Studio Professional 2019 ( Version 16.4.5)
Start the Qt GUI Application Sample project and when I build/rebuild the project these build tasks errors were shown(even though VS has been restarted) -
1>------ Rebuild All started: Project: QtGuiApplication2, Configuration: Debug x64 ------ 1>Reading Qt configuration (D:\Qt\Qt5.14.1\5.14.1\msvc2017_64\bin\qmake.exe) 1>uic QtGuiApplication2.ui 1>rcc QtGuiApplication2.qrc 1>moc QtGuiApplication2.h 1> RCC: Warning: No resources in 'D:\Driver_dev\QtGuiApplication2\QtGuiApplication2.qrc'. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(364,5): error MSB4018: The "MultiToolTask" task failed unexpectedly. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(364,5): error MSB4018: System.ArgumentException: Property set method not found. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(364,5): error MSB4018: at System.Reflection.RuntimePropertyInfo.SetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, Object[] index, CultureInfo culture) 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(364,5): error MSB4018: at System.Reflection.RuntimePropertyInfo.SetValue(Object obj, Object value, Object[] index) 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(364,5): error MSB4018: at Microsoft.Build.CPPTasks.MultiToolTask.PopulateTaskFromSourceItem(Type taskType, ITaskItem source, TrackedVCToolTaskInterfaceHelper schedulingTask) 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(364,5): error MSB4018: at Microsoft.Build.CPPTasks.MultiToolTask.Execute() 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(364,5): error MSB4018: at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(364,5): error MSB4018: at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext() 1>Done building project "QtGuiApplication2.vcxproj" -- FAILED. ========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
Please find the attached VS 2019 Solutions for further investigation.
Attachments
Issue Links
- relates to
-
QTVSADDINBUG-720 After update Qt VS Tools to 2.4.2 new projects are not compile
- Closed