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

Add reference dialog does not list VSTO addIn projects #4337

Closed
wixbot opened this issue Mar 4, 2014 · 6 comments
Closed

Add reference dialog does not list VSTO addIn projects #4337

wixbot opened this issue Mar 4, 2014 · 6 comments

Comments

@wixbot
Copy link

wixbot commented Mar 4, 2014

For some reason, the Add Reference Dialog in the votive plugin does not list VSTO add-in projects.
Simple repro: Create a new VSTO project (I did with Outlook 2010 / 2013) in a new solution. Add a Wix Setup project to the solution. Then try to add a reference to the Wix project - you'll see nothing listed in the projects tab.

Originally opened by sste

@wixbot
Copy link
Author

wixbot commented Mar 13, 2014

Release changed from v3.8 to v3.x
Type changed from Bug to Feature

@wixbot
Copy link
Author

wixbot commented Mar 25, 2014

Originally changed by wwahammy
AssignedTo set to wwahammy@gmail.com

@wixbot
Copy link
Author

wixbot commented Mar 25, 2014

I want to document what I think is going on. For a project system to be referenced via the Add Reference dialog, the custom project type must support "VSHPROPID_ShowProjInSolutionPage." In our case, I don't think VSTO projects support this property so it's not showing up in the Add Reference box. This is not unique to Votive; the VSTO project won't show up in the dialog if you add a reference on a C# project either. There may be a potential fix to described at http://social.msdn.microsoft.com/Forums/vstudio/pt-BR/90e39196-488d-46f8-a11b-785764939140/filtering-the-project-list-in-add-reference-dialog?forum=vsx but I have no idea if that works for projects which don't have VSHPROPID_ShowProjInSolutionPage supported through the project system. One problem of the potential fix is that we'd be turning on the ability for a given project to be referenced by ANY project type from the Add Reference dialog box, not just Wix. Since we don't want that, we might be able to turn the setting on and off when opening and closing the dialog box on a Wix project respectively. That seems potentially error-prone but it might work.

Originally posted by wwahammy

@wixbot
Copy link
Author

wixbot commented Oct 1, 2014

I believe this has been fixed in Visual Studio. See issue #3 in the release announcement for VSTO 2013 update 3.

http://blogs.msdn.com/b/vsto/archive/2014/08/04/visual-studio-2013-update-3-released.aspx

Cheers.
Dan

Originally posted by dan

@wixbot
Copy link
Author

wixbot commented Oct 2, 2014

Status changed from Open to Untriaged

@wixbot
Copy link
Author

wixbot commented Oct 9, 2014

Resolution set to external
Status changed from Untriaged to Resolved

@wixbot wixbot added this to the v3.x milestone Dec 20, 2015
@wixbot wixbot closed this as completed Dec 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant