I run into this problem sometimes.  I usually resolve it by changing the
name of the reference in the .wixproj file to something alphanumeric
(i.e.: MyService).

For example, change

  <ItemGroup>
    <ProjectReference Include="MyService\MyService.csproj">
      <Name>MyService (MyService\MyService)</Name>
      <Project>{DA5A3B41-F7D3-419b-A970-C28D6C0A3A4A}</Project>
    </ProjectReference>
  </ItemGroup>

to 

  <ItemGroup>
    <ProjectReference Include="MyService\MyService.csproj">
      <Name>MyService</Name>
      <Project>{DA5A3B41-F7D3-419b-A970-C28D6C0A3A4A}</Project>
    </ProjectReference>
  </ItemGroup>

(your GUID may vary)

Chris

-----Original Message-----
From: Rob Jarratt (MCS UK) [mailto:rjarr...@microsoft.com] 
Sent: Tuesday, February 02, 2010 9:23 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Visual Studio Project Reference to a WCF Service

I need to reference the output of a WCF service project. When I add the
reference to the WiX project it appears as a reference called
"MyService(MyService\MyService)". I cannot find a way to construct the
var pre-processor reference to reference this project. Is there a way to
do this?

Thanks

Rob

Robert Jarratt
Senior Consultant
Microsoft Consulting Services
Microsoft Ltd.
Tel.: +44 (118) 909 4923
mailto:rjarr...@microsoft.com

This email may contain confidential information. If you are not named on
the addressee list, please take no action in relation to this email, do
not open any attachment, and please contact the sender (details above)
immediately.
Information in this email is provided in good faith. If you are a
customer of Microsoft, please refer to the terms and conditions which
cover the provision of support and consulting services to you/your
organization. If you are not corresponding in the course of, or in
connection with a Microsoft contract or programme with its own terms and
conditions, please note that no liability is accepted by Microsoft for
the contents of this mail.
Microsoft Limited (company number 01624297) is a company registered in
England and Wales whose registered office is at Microsoft Campus, Thames
Valley Park, Reading. RG6 1WG

------------------------------------------------------------------------
------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the
business
Choose flexible plans and management services without long-term
contracts
Personal 24x7 support from experience hosting pros just a phone call
away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to