Unable to add a link to a wix Visual 2012 project

In every HowTo tutorial and website ( like here ) about WiX I read that I have to add a link to my other project, but when I select Add Link I have nothing in the Project list on the Project tab. I try this on Visual Studio 2012, previously with WiX 3.7 and now on 3.8.

If there is a solution that simply does not use the Add Link feature, how can I build this other way? I'm new, so I don’t know how to use WiX without this function, if I published my C # application in the Publish Wizard, should I add all the created files to the component group with each file in the <Component> ?

+4
source share
1 answer

It could be that simple ...

In Visual Studio, the Add Reference Project tab displays only projects in one solution. You just need to add the project to the solution and return to the Add Link dialog box.

A solution is just a collection of zero or more projects that can be created together. You can have a project in several solutions. The only limitation is that if project B refers to project A (B is below A), then A must be in every solution that contains B. If the project universe is small, it is typical to have only one solution for all. On the other hand, if one developer only works on upstream projects, it may be easier for a developer to work with a solution that does not have downstream projects.

Installation projects are typically downstream, but note that they are probably independent of library test projects.

[Stream is not the best technical term. The universe of connected projects is a directed acyclic graph .]

+4
source

Source: https://habr.com/ru/post/1496516/


All Articles