Yes.

<Reference Include="Microsoft.Web.Administration, Version=7.0.0.0, 
Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
      <Private>True</Private>
      
<HintPath>..\packages\Microsoft.Web.Administration.7.0.0.0\lib\net20\Microsoft.Web.Administration.dll</HintPath>
    </Reference>

The <Private>True</Private> inside the reference is what you need.

--
John Merryweather Cooper
Build & Install Engineer - ESA
Jack Henry & Associates, Inc.®
Shawnee Mission, KS  66227
Office:  913-341-3434 x791011
jocoo...@jackhenry.com
www.jackhenry.com



-----Original Message-----
From: George Fleming [mailto:gef...@microsoft.com] 
Sent: Wednesday, July 16, 2014 9:17 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Custom Action cannot find dependent assembly

Using Wix 3.5, I have a Custom Action that requires an interop .NET assembly. 
When I run the installer, it complains that the assembly is not found.


I've searched for info on how to package the DLL file in the MSI, but only 
instruction seems to be for Visual Studio, and use of CopyLocal flag. Problem 
is, my CA is built not with VS, but Microsoft's CoreXt. Is it possible to do 
this without VS? Is there any flag I can set in WiX itself to include extra 
assemblies?


I suppose an alternative would be to put the dependent assembly in the GAC, but 
I would prefer not to do that.

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and search 
up to 200,000 lines of code with a free copy of Black Duck Code Sight - the 
same software that powers the world's largest code search on Ohloh, the Black 
Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
NOTICE: This electronic mail message and any files transmitted with it are 
intended
exclusively for the individual or entity to which it is addressed. The message, 
together with any attachment, may contain confidential and/or privileged 
information.
Any unauthorized review, use, printing, saving, copying, disclosure or 
distribution 
is strictly prohibited. If you have received this message in error, please 
immediately advise the sender by reply email and delete all copies.


------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to