Skip to content
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

Cannot specify Component/@Directory when nested under ComponentGroup with Directory specified #4727

Closed
wixbot opened this issue Mar 26, 2015 · 4 comments · Fixed by wixtoolset/Core#260

Comments

@wixbot
Copy link

wixbot commented Mar 26, 2015

Error generated is:

The Component/@Directory attribute cannot be specified when the Component element is nested underneath a Directory element.

Even though neither the Component or ComponentGroup is nested underneath a Directory element.

Found issue when trying to specify Component/@Directory for a specific Component while not specifying for others (using default of ComponentGroup).

To workaround, I had to specify Component/@Directory for each and not ComponentGroup/@Directory.

Originally opened by gregfiske

@wixbot
Copy link
Author

wixbot commented Mar 31, 2015

We want a better error message in v3.x. In v4.0 we can take the expanded functionality.

AssignedTo set to jocooper
Release changed from v3.9 to v3.10

@wixbot
Copy link
Author

wixbot commented Apr 9, 2015

Appears to be using "IllegalAttributeWhenNested" Number="62".

Originally posted by jmcooper8654

@wixbot
Copy link
Author

wixbot commented Apr 9, 2015

Thinking of adding the following: If this Component is a member of a ComponentGroup where ComponentGroup/@Directory is set, then the Component/@Directory attribute should be removed.

Originally posted by jmcooper8654

@wixbot
Copy link
Author

wixbot commented Apr 20, 2015

Took John's doc fix for v3.x. Re-opening in v4.0.

Originally posted by barnson
AssignedTo changed from jocooper to
Releasechanged fromv3.10tov4.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

3 participants