I've got a Visual Studio 2010 solution which contains a VSTO Add-In project. I've also added a WiX Setup project to the solution, and I now need to add a reference to VSTO project in the Setup project, but am unable to do so. When I right click the References in the WiX Setup project, then select Add Reference, then Select the Projects tab the VSTO project doesn't appear in the list of available projects to reference.
相关问题
- How does the setup bootstrapper detect if prerequi
- Wix: How can I set, at runtime, the text to be dis
- Visual Studio 2010 randomly says the command line
- (ASP.NET) Project file must include 'WindowsBa
- Partial Form Class C# - Only display code view for
相关文章
- How to show location of errors, references to memb
- Log4Net Multiple Projects
- Compiling error in C++ project with C and C++ code
- How to use Mercurial from Visual Studio 2010?
- VSIX: execute code on VS startup
- Copy different file to output directory for releas
- How do we alias a Sql Server instance name used in
- visual studio 2010 confirmation on close
I had the same problem, then I tried to "do it wrong": I added the reference editing the .wixproj file manually.
I just had to add the following snippet:
Obviously you have to replace the path to your project and the project GUID (found in the assembly informations).
When you reload the project in Visual Studio (I use 2012 but I guess it'll be the same) you see the reference with a warning icon.
You still manage to use variables as
$(var.MyExcelAddin.TargetDir)
though.Hope this helps.