[wix-users] Harvest app with COM ref
Parkes, Kevin
kevin.parkes at wacom.com
Fri Jan 29 09:18:25 PST 2021
I'm trying to harvest the output of a .Net Core 3 app project for inclusion in an installer.
I have a BeforeBuild Target which runs "dotnet publish" for the project but that's failing with:
MSB3073: The command "dotnet publish <proj file> -c Release " exited with code 1.
Documentation for ResolveComReference task has a note for error MSB4803<https://docs.microsoft.com/en-gb/visualstudio/msbuild/resolvecomreference-task?view=vs-2019#msb4803-error> which says to try building the project using the .NET Framework version of MSBuild instead of dotnet. How would I do that?
Or is there another way to achieve what I need?
(I can successfully manually publish in Visual Studio)
Thanks
More information about the wix-users
mailing list