Glen Lewis
Posts: 29
Joined: 2021-03-12
|
I have WiX ToolSet 1.0.0.4 Installed
I have gone to the file it is looking for and it doesn't exists.
Detailed technical information follows:
---
Date and Time: 5/3/2021 12:59:33 PM
Machine Name: HRL-GLEWIS2
IP Address: fe80::848d:e65:9c47:1c42%17
Current User: HARDROCKDD\glen.lewis
Application Domain: DefaultDomain
Assembly Codebase: file:///C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/common7/ide/PublicAssemblies/EnvDTE.DLL
Assembly Full Name: EnvDTE, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Assembly Version: 8.0.0.0
Exception Source: EnvDTE
Exception Type: Microsoft.Build.Exceptions.InvalidProjectFileException
Exception Message: The imported project "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\WiX Toolset\v4\Wix.targets" was not found. Confirm that the expression in the Import declaration "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\WiX Toolset\v4\Wix.targets" is correct, and that the file exists on disk. C:\Users\glen.lewis\source\repos\MedPharm\ExcelFinanceAddIn\ExcelFinanceAddInSetup\1.0.0\ExcelFinanceAddInSetup(1.0.0).wixproj
Exception Target Site: AddFromFile
---- Stack Trace ----
EnvDTE.SolutionClass.AddFromFile(FileName As String, Exclusive As Boolean)
EnvDTE.DLL: N 00000 (0x0) JIT
AddinExpress.SetupWizard.SetupWizardForm.CreateSetupProject(primaryOutputPath As String)
EnvDTE.DLL: N 5625 (0x15F9) IL
AddinExpress.SetupWizard.SetupWizardForm.CreateSetupProject(project As Project, targetFramework As UInt32, serviceProvider As IServiceProvider)
EnvDTE.DLL: N 0127 (0x7F) IL
AddinExpress.Wizard.ADXPackage.Exec(guidCmdGroup As Guid&, cmdID As UInt32, nCmdexecopt As UInt32, pvaIn As IntPtr, pvaOut As IntPtr)
EnvDTE.DLL: N 1021 (0x3FD) IL |
|
Andrei Smolin
Add-in Express team
Posts: 18830
Joined: 2006-05-11
|
Hello Glen,
Make sure you have WiX 3.10 or 3.11 installed; see https://wixtoolset.org/releases/. You may also need to uninstall WiX 4.
Andrei Smolin
Add-in Express Team Leader |
|
Glen Lewis
Posts: 29
Joined: 2021-03-12
|
I did install the WiX 3.11.xx because the publish option didn't have the option available, so I installed it. I don't have WiX v4.xx installed on the dev machine or as an extension for visual studio. |
|
Andrei Smolin
Add-in Express team
Posts: 18830
Joined: 2006-05-11
|
Hello Glen,
It looks like your setup project was created with WiX 4. If so, you need to recreate your setup project with WiX 3.X.
Andrei Smolin
Add-in Express Team Leader |
|
Glen Lewis
Posts: 29
Joined: 2021-03-12
|
|
Andrei Smolin
Add-in Express team
Posts: 18830
Joined: 2006-05-11
|
Hello Glen,
Yes, you need to have WiX 3.11.2 listed in Control Panel\All Control Panel Items\Programs and Features. And yes, you need to have WiX Toolset Visual Studio Extension 1.0.0.4 listed on the About dialog of the Visual Studio IDE: see menu Help | About. After that, you can create a new setup project or let Add-in Express create it.
Andrei Smolin
Add-in Express Team Leader |
|