Wix 'undefined preprocessor variable'
问题 I have seen questions like this, but they seem to not help me. I am playing with a test web application. I added this into my RStp.wixproj, I had a hard time, but it works, it generates the Frags.wxs: <Target Name="BeforeBuild"> <Exec Command=" "$(WiX)bin\heat.exe" project "..\WebR\WebR.csproj" -cg Portals.Vendor -gg -pog Binaries -pog Content –configuration "release" -platform "AnyCPU" –out "Frags.wxs" " /> <ItemGroup> <Compile Include="Frags.wxs" /> </ItemGroup> </Target> My Frags.wxs looks