Bugs item #1717966, was opened at 2007-05-12 18:05
Message generated for change (Comment added) made by robmen
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1717966&group_id=105970

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: votive
>Group: v3.0
>Status: Closed
>Resolution: Accepted
Priority: 5
Private: No
Submitted By: Doug S (tpaxatb)
Assigned to: Justin Rockwood (justinrockwood)
Summary: Solution Build Issues (build 2911)

Initial Comment:
A build using wixproj files in a solution will fail if the .wxs projects refer 
to $(var.SolutionDir) and there are no C# projects in the solution.

The error is that the Solution variables (SolutionDir, SolutionFile, etc) are 
not passed to the .wixproj properly unless there is a C# project in the 
solution.

<exerpt from build window>:

2>      Task "Candle"
2>              Command:
candle.exe -d"SolutionDir=*Undefined if not building a solution or within 
Visual Studio*" 

Using build 2911

Workaround is to include a dummy C# project in the solution.

----------------------------------------------------------------------

>Comment By: Rob Mensching (robmen)
Date: 2008-05-15 22:50

Message:
Logged In: YES 
user_id=991639
Originator: NO

Justin wasn't clear, to use SolutionDir you need to build the solution or
be in VS in the context of the solution.

----------------------------------------------------------------------

Comment By: Doug S (tpaxatb)
Date: 2008-01-31 09:12

Message:
Logged In: YES 
user_id=1342505
Originator: YES

Is this fixed? i still have issues with the latest (3.0.3725) build in
VS2005 when no C#/VB project is in the solution...

----------------------------------------------------------------------

Comment By: Justin Rockwood (justinrockwood)
Date: 2007-05-18 00:30

Message:
Logged In: YES 
user_id=1054914
Originator: NO

The problem is that C#/VB projects define these variables and not Visual
Studio itself. The fix is that I define these properties before a build
within Visual Studio.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1717966&group_id=105970

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to