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
Comments
|
|
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.
|
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.
|
|
|
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.
The text was updated successfully, but these errors were encountered: