Quantcast
Channel: wixsharp Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1354

New Post: FeaturesDialog does not work

$
0
0
Yeah, I sent you the message about that yesterday but it somehow didn't go through.

You see, when working on your problem report I discovered that there is a logical flaw in the feature hierarchy building algorithm that Wix# using. I logged the defect for this (https://wixsharp.codeplex.com/workitem/131) and it got fixed in the v1.0.40.3.

However the defect (before the fix) was hiding the problem with your code. The defect is fixed now and as expected your code can no longer compile.
The problem in your code is that you are adding modulet0 to both DefaultFeature and modules and this is wrong. According MSI feature model a single feature can only be present in a single point of the feature tree. Thus if you want to fix your code you will need to remove the following code block:
project.DefaultFeature.Children.Add(modulet0);
...
project.DefaultFeature.Children.Add(modulet1);

Viewing all articles
Browse latest Browse all 1354

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>