Hi,
I'm having a problem building an install package.
The build proj and log are attached.
Error:
The OutputPath property is not set for this project. Please check to
make sure that you have specified a valid Configuration/Platform
combination. Configuration='Release' Platform='BWS'
The platform is plainly not BWS! Can anybody help me with this error?
I'm using:
Visual Studio 2010
WIX 3.6
\Microsoft.NET\Framework64\v3.5\MSBuild.exe
On a 64-bit Windows XP system.
Thanks & regards,
Matt
<?xml version="1.0"?>
<Project DefaultTargets="SetProperties;BuildAll"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<!-- General properties -->
<CompanyName>WSP Group</CompanyName>
<ProductName>WSP Revit Menus</ProductName>
<Copyright>Copyright (c) 2010</Copyright>
<!-- Set paths -->
<MSBuildCommunityTasksPath>$(MSBuildProjectDirectory)\Externals\MSBuildCommunityTasks\Build</MSBuildCommunityTasksPath>
<WixToolPath>$(MSBuildProjectDirectory)\Externals\wix3.6-binaries</WixToolPath>
</PropertyGroup>
<!-- Collection of AssemblyInfo.cs files to generate -->
<!--<ItemGroup>
<AssemblyInfoFile Include="Item">
<Value>..\WSPR.ClassLibrary\Properties\AssemblyInfo.cs</Value>
</AssemblyInfoFile>
<AssemblyInfoFile Include="Item">
<Value>..\WSPR.Links\Properties\AssemblyInfo.cs</Value>
</AssemblyInfoFile>
<AssemblyInfoFile Include="Item">
<Value>..\WSPR.MenuUI\Properties\AssemblyInfo.cs</Value>
</AssemblyInfoFile>
<AssemblyInfoFile Include="Item">
<Value>..\WSPR.Plotting\Properties\AssemblyInfo.cs</Value>
</AssemblyInfoFile>
<AssemblyInfoFile Include="Item">
<Value>..\WSPR.VisibilityTools\Properties\AssemblyInfo.cs</Value>
</AssemblyInfoFile>
</ItemGroup>-->
<ItemGroup>
<AssemblyInfoFile Include=
"..\WSPR.ClassLibrary\Properties\AssemblyInfo.cs"/>
<AssemblyInfoFile
Include="..\WSPR.FamilyInsertion\Properties\AssemblyInfo.cs"/>
<AssemblyInfoFile Include="..\WSPR.Links\Properties\AssemblyInfo.cs"/>
<AssemblyInfoFile Include="..\WSPR.MenuUI\Properties\AssemblyInfo.cs"/>
<AssemblyInfoFile Include="..\WSPR.Plotting\Properties\AssemblyInfo.cs"/>
<AssemblyInfoFile
Include="..\WSPR.VisibilityTools\Properties\AssemblyInfo.cs"/>
<AssemblyInfoFile Include="..\WSPR.Tools_Files\Properties\AssemblyInfo.cs"/>
</ItemGroup>
<!-- We use the AssemblyInfo task from MSBuildCommunityTasks
(http://msbuildtasks.tigris.org/) -->
<Import
Project="$(MSBuildCommunityTasksPath)\MSBuild.Community.Tasks.Targets" />
<Import Project="C:\Program Files
(x86)\MSBuild\ExtensionPack\MSBuild.ExtensionPack.tasks"/>
<Target Name="BuildAll">
<Message Text="Building version: $(Version)"/>
<CallTarget Targets="GenerateAssemblyInfoForEachFile" />
<CallTarget Targets="RebuildSolution" />
</Target>
<Target Name="GenerateAssemblyInfoForEachFile" Inputs="@AssemblyInfoFile"
Outputs="@null">
<!-- Generate AssemblyInfo files specified in ItemGroup
@AssemblyInfoFile -->
<AssemblyInfo CodeLanguage="CS"
OutputFile="%(AssemblyInfoFile.Value)"
AssemblyCompany="$(CompanyName)"
AssemblyProduct="$(ProductName)"
AssemblyCopyright="$(Copyright)"
ComVisible="false"
CLSCompliant="true"
AssemblyVersion="$(Version)"
AssemblyFileVersion="$(Version)" />
</Target>
<Target Name="RebuildSolution">
<PropertyGroup>
<!-- <Configuration>Debug</Configuration>-->
<Configuration>Release</Configuration>
</PropertyGroup>
<!--<AssemblyInfoFile Include="Item">
<Value>..\WSPR.ClassLibrary\Properties\AssemblyInfo.cs</Value>
</AssemblyInfoFile>
<AssemblyInfoFile Include="Item">
<Value>..\WSPR.Links\Properties\AssemblyInfo.cs</Value>
</AssemblyInfoFile>
<AssemblyInfoFile Include="Item">
<Value>..\WSPR.MenuUI\Properties\AssemblyInfo.cs</Value>
</AssemblyInfoFile>
<AssemblyInfoFile Include="Item">
<Value>..\WSPR.Plotting\Properties\AssemblyInfo.cs</Value>
</AssemblyInfoFile>
<AssemblyInfoFile Include="Item">
<Value>..\WSPR.VisibilityTools\Properties\AssemblyInfo.cs</Value>
</AssemblyInfoFile>-->
<!-- Build "Any CPU" versions of .NET projects -->
<MSBuild Targets="Rebuild"
Projects="..\WSPR.ClassLibrary\WSPR.ClassLibrary.vbproj"
Properties="Configuration=$(Configuration)" />
<MSBuild Targets="Rebuild"
Projects="..\WSPR.FamilyInsertion\WSPR.FamilyInsertion.vbproj"
Properties="Configuration=$(Configuration)" />
<MSBuild Targets="Rebuild"
Projects="..\WSPR.Links\WSPR.Links.vbproj"
Properties="Configuration=$(Configuration)" />
<MSBuild Targets="Rebuild"
Projects="..\WSPR.MenuUI\WSPR.MenuUI.vbproj"
Properties="Configuration=$(Configuration)" />
<MSBuild Targets="Rebuild"
Projects="..\WSPR.Plotting\WSPR.Plotting.vbproj"
Properties="Configuration=$(Configuration)" />
<MSBuild Targets="Rebuild"
Projects="..\WSPR.VisibilityTools\WSPR.VisibilityTools.vbproj"
Properties="Configuration=$(Configuration)" />
<MSBuild Targets="Rebuild"
Projects="..\WSPR.Tools_Files\WSPR.Tools_Files.vbproj"
Properties="Configuration=$(Configuration)" />
<!-- Build 32-bit version of setup -->
<MSBuild Targets="Rebuild"
Projects="Setup\Setup.wixproj"
Properties="Configuration=Rebuild;Platform=x86;CompanyName=$(CompanyName);ProductName=$(ProductName);Version=$(Version);WixToolPath=$(WixToolPath)"
/>
<!--Properties="Configuration=$(Configuration);Platform=x86;CompanyName=$(CompanyName);ProductName=$(ProductName);Version=$(Version);WixToolPath=$(WixToolPath)"
/>-->
<!--
Properties="Configuration=$(Configuration);Platform=AnyCPU;CompanyName=$(CompanyName);ProductName=$(ProductName);Version=$(Version);WixToolPath=$(WixToolPath)"
/>
-->
<Copy
SourceFiles="Setup\bin\$(Configuration)\WSP_Revit_Custom_Setup.msi"
DestinationFiles="Setup\bin\$(Configuration)\WSP_Revit_Custom_Setup_x86.msi" />
<!-- Build 64-bit version of setup -->
<MSBuild Targets="Rebuild"
Projects="Setup\Setup.wixproj"
Properties="Configuration=$(Configuration);Platform=x64;CompanyName=$(CompanyName);ProductName=$(ProductName);Version=$(Version);WixToolPath=$(WixToolPath)"
/>
<Copy
SourceFiles="Setup\bin\$(Configuration)\WSP_Revit_Custom_Setup.msi"
DestinationFiles="Setup\bin\$(Configuration)\WSP_Revit_Custom_Setup_x64.msi"/>
<Delete Files="Setup\bin\$(Configuration)\WSP_Revit_Custom_Setup.msi"/>
</Target>
<Target Name="SetProperties">
<!-- Task for setting properties. Must be executed before other tasks
-->
<PropertyGroup>
<GetVersionNumberCode>
<![CDATA[
public static string ScriptMain() {
// todo: put your special logic for generating
versionnumber here...
// Windows Installer only uses first 3 parts, so don't rely
too much on fourth part
return "1.0.11.0";
}
]]>
</GetVersionNumberCode>
</PropertyGroup>
<Script Language="C#" Code="$(GetVersionNumberCode)">
<Output TaskParameter="ReturnValue" PropertyName="Version" />
</Script>
</Target>
</Project>
------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:
Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users