Wix0200 error when trying to include NetFxExtension on Wix v5 #8218
-
I want to verify that .net 8 is installed on the end user system to install my software. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You cannot place a <netfx:DotNetCompatibilityCheck /> element directly inside a package element, which causes the Wix0200 error. You should also probably use the namespace |
Beta Was this translation helpful? Give feedback.
You cannot place a <netfx:DotNetCompatibilityCheck /> element directly inside a package element, which causes the Wix0200 error.
You can only put it below a Bundle or Fragment element as seen in the documentation.
You should also probably use the namespace
xmlns:netfx="http://wixtoolset.org/schemas/v4/wxs/netfx"
to include netfx instead ofxmlns:netfx="http://schemas.microsoft.com/wix/NetFxExtension".