wixtoolset / issues

WiX Toolset Issues Tracker
http://wixtoolset.org/
129 stars 36 forks source link

Custom action projects not limited to targeting .NET Framework #7932

Open nhiorns opened 9 months ago

nhiorns commented 9 months ago

User story

As a WiX developer and .NET 6 (or more recent) app developer, I would like the ability to create a .Net or .Net Standard Custom Action Project.

Proposal

I have a WPF, .Net 6 application which uses a couple of custom action projects in its installer, these are both targeting .NET Framework 472 meaning that someone installing the app would need both .NET Framework and .NET Core runtimes. Ideally everything would be .NET Core or at the least .NET Standard so that the .NET Framework runtime is not required.

Considerations

No response

Praveer1981 commented 3 months ago

@barnson Curious, to know about your plan to get this. Any intuition, in which version of wix this will be included ?

wmanning commented 3 months ago

@Praveer1981 This is marked as up for grabs so it's not slated for any release until someone decides they want to work on it.

Praveer1981 commented 3 months ago

@wmanning Thanks. CustomAction is a blocker for us. Could you please guide me how to proceed ? is there any workaround? I had raised an issue here, #8541

eXpl0it3r commented 1 month ago

From @robmen's comment on StackOverflow https://stackoverflow.com/a/77284316 it sounds like this isn't as trivial of a task.

Are there any hints/pointers/documents highlighting the challenges faced in the past?
Any other documentation on how CustomActions work under the hood?

For the NuGet package, it probably would be useful if it had a framework limit listed, given that it will only work with NetFX.