Byron
Project Installer
WIX is a PITA but it's pretty much the best option. If you go down that route I suggest you use the project WixSharp (https://github.com/oleg-shilo/wixsharp). This in a neat project that allows you to write the msi configuration in C#. It then compiles into an application, that post build runs itself to generate the .msi. For example writing custom actions in vanilla is a horrible experience but with this project you just write the static methods and it abstracts them into the action assemblies.
I ship projects that go to thousands of users this way, so I know it's stable.
27 replies
Source Generator AdditionalFiles Batching missing metadata
My backup option which is really ugly is to just give it a unique identity to make it unique, but that is very ugly. I was just trying to figure out if this is expected. If I was writing a custom ITask I would have access to all elements.
6 replies
✅ dotnet Restore and Targets in NuGet packages not found until second build
I have attempted to do the build in two steps
This however still fails. It should be noted I must use
DependsOnTargets
because GitVersion task exports properties which I need access to later in the script. Using the MSBbuild Task there are not avaiable9 replies