> I am creating a WIX installer project. When I am trying to add the
> reference: Microsoft.ReportViewer.Common.dll and
> Microsoft.ReportViewer.WinForms.dll, I got the error mentioned on the title.
> I searched online but can't find any useful info. My DLLs are located in
> C:\Program Files(x86)\Microsoft Visual Studio 10.0\ReportViewer, so it is
> not like a question mentioned by somebody when they are referencing to a dll
> located on network share. I am totally new to WIX and deployment project, so
> a little bit explanation on what happens will be appreciated!

As I understand it, you basically add references in your installer 
projects for two reasons:
  1. You create a reference to another project - the project you wish to 
install. By creating a reference, you ensure the project is build, when 
the installer project is build and you get access to some preprocessor 
variables.

  2. You have WiX extension dlls that somehow add to the functionality 
of wix.

You cannot add a reference to a regular dll. Dlls that should be 
included in the installation should be included by the use of <File> 
tags. Have you had a look at this tutorial: 
http://wix.tramontana.co.hu/tutorial

/Regards,
Morten




------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to