-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.NET Core support? #802
Comments
No, not really. |
Ah. Thank you. Off-hand, do you know if the same applies for custom bootstrapper UIs? |
Yes it does. Thus Burn bootstraps .NET installation so it runs first if it detects that target system has no .NET installed and only then loads CA .NET assembly and pops its UI. But if it is a .NET Core assembly then it will have difficulties loading it. |
@oleg-shilo shouldn't this be kept open? I mean we know that .net framework 4.x is a dead end, so at one point Wix# needs to use .net 5 or higher, so no matter the limitations it still might be a good idea to invest into it, instead of being stuck on an old technology? |
Yeah, if WiX is ever upgraded to support .NET 5, WixSharp will support it too. I am slightly skeptical of that. Particularly because MSIX is getting in the picture. |
well isn't WiX already on .net core? via .net standard. (well at least WIX 4.x): https://github.com/wixtoolset/Core/tree/master/src/WixToolset.Core |
Yeah, via .net standard. Meaning that if you use .net core tools to compile .net standard assembly it can be used even now for current Wix+WixSharp. Kinda no need for migration. |
May be we need to have WixSharp recompiled for standard? Just thinking out loud... |
the question than would be if the msbuild targets would be suitable 1:1 for the dotnet toolchain. I'm not sure if older msbuild rules would still work on newer tech, but maybe it would work. Edit: But I think they are simple enough to just work. |
I don't think they would. But we need to think about separating runtime hosting and authoring. Authoring will need to be forked to support If I do recompile WixSharo.dll for standard it will solve the portability problem even before .NET 5 arrives. But from the othe hand it would probably kill ManagedUI, which is WinForm so non-standard. Anyway it's something to consider, experiment with.... Though one would question doing it before WiX 4 which is going to have some breaking changes anyway. So the rework on WixSharp is unavoidable. Again, just some thoughts ... |
@oleg-shilo Can it be stated somewhere that WixSharp supports only .net Framework, just spend hour searching why I Visual studio could not find the WixSharp namespace in .net core project :) |
i have an MSI Installer cs project which has wixsharp and wixsharp.bin for .net framework 4.8. My question is that does , .Net 6 supports wixsharp/ wixsharp.bin nuget packages? |
WixSharp is compiled for the target runtime that MSI/WiX supports so the project compiled assembly can be hosted at runtime (during msi installation). Since MSI cannot host .NET Core assemblies, WixSharp project assembly needs to be compiled against MSI-supported runtime .NET Framework. |
Is it possible to use Wix# in .NET Core? I installed the package but the namespace never shows up in Intellisense.
The text was updated successfully, but these errors were encountered: