So I replaced it with the direct path and that works. Although I need it to
be the var as the debug will eventually be Release.
<Component Id="Federalxml"
Guid="30DCE505-6CEC-40B0-85C2-3912424BEF33">
<!--<File
Source="$(var.AktionTLW2.TargetDir)Templates\Federal.xml)" />-->
<File
Source="C:\Plastic\W2\AktionTLW2\AktionTLW2\bin\Debug\Templates\Federal.xml"/>
</Component>
On Thu, Jan 17, 2013 at 9:54 AM, Steven Cramer <[email protected]>wrote:
> I am new to the Wix world. I apologize if I am being thick.
>
> So if the file is actually where it claims it is looking why can't it find
> it?
>
> Error 1 The system cannot find the file
> 'C:\Plastic\W2\AktionTLW2\AktionTLW2\bin\Debug\Templates\Federal.xml)'.
> C:\Plastic\W2\AktionTLW2\SetupProject\Product.wxs 40 1 SetupProject
> Error 2 The system cannot find the file
> 'C:\Plastic\W2\AktionTLW2\AktionTLW2\bin\Debug\Templates\Jurisdictions.xml)'.
> C:\Plastic\W2\AktionTLW2\SetupProject\Product.wxs 43 1 SetupProject
>
>
>
> Code Fragment
>
> <Fragment>
> <ComponentGroup Id="Templates" Directory="TemplatesFolder">
> <Component Id="TemplatesFolder"
> Guid="33D641B7-4E1C-44E9-82C5-D5CBF38E631E">
> <CreateFolder Directory="TemplatesFolder" />
> </Component>
> <Component Id="Federalxml"
> Guid="30DCE505-6CEC-40B0-85C2-3912424BEF33">
> <File Source="$(var.AktionTLW2.TargetDir)Templates\Federal.xml)"
> />
> </Component>
> <Component Id="Jurisdictionsxml"
> Guid="9950A369-0426-42AD-A545-0BF23FC5F917" >
> <File
> Source="$(var.AktionTLW2.TargetDir)Templates\Jurisdictions.xml)" />
> </Component>
>
> </ComponentGroup>
>
>
>
>
> --
> Steven T. Cramer
> 719.290.2872
>
--
Steven T. Cramer
719.290.2872
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users