Failed to install WixTool on Windows 10 Pro
M. Azeem
15
Reputation points
I have installed Window 10 Pro build 19045
with the latest updates installed.
Visual studio 2022
with the latest updates installed.
- The problem is that when I try to install
WixTool
with theDeveloper command prompt
, I am faced with the following error of the earlier Windows version. (Perhaps it does not depends on the project architecture setting and Target framework setting) - Another problem (Additional info) is when I read OS info by
Environment.OSVersion
then OS Info is readMicrosoft Windows NT 6.0.6002 Service Pack 2
, which is definitely wrong.
Target framework=.Net6.0
, Platform target=AnyCPU
for Main WPF project while Platform target=x64
for other class library projects.
Following is the proof of my working
So, Help please me with the solution, what should I do for visual studio that detects my OS as Windows 10? I have tried repairing VS and resetting setting options but have had no success.
Sign in to answer