I have 2 folders with solutions:
MyNETProject (NET project) MyWiXInstaller (WiXProject)
My installer needs to get files from MyNETProject\bin\Release and to pack them to installer. How I can set path to NET project in WiX using SoultionDir variable? I have tried this way:
$(var.SolutionDir)..\MyNETProject\bin\Release
But it does not work.
Make sure you have added a reference to your project from your wixproj, then you can use the following:
$(var.MyProject.TargetDir)
You can read more about it on the wix toolset site: Using Project References and Variables
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With