Thank you for your replies. It helped to solve the problem. Maksim
________________________________________ От: Maillet, Ed [email...@unum.com] Отправлено: 28 января 2011 г. 21:43 Кому: General discussion for Windows Installer XML toolset. Тема: Re: [WiX-users] Building extension .csproj Here the .csproj: <?xml version="1.0" encoding="utf-8"?> <Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> <ProductVersion>9.0.30729</ProductVersion> <SchemaVersion>2.0</SchemaVersion> <ProjectGuid>{51290030-D188-4D4A-A989-DC9A57C28926}</ProjectGuid> <OutputType>Library</OutputType> <AppDesignerFolder>Properties</AppDesignerFolder> <RootNamespace>WiX.Extension</RootNamespace> <AssemblyName>EnvironmentExtension</AssemblyName> <TargetFrameworkVersion>v3.5</TargetFrameworkVersion> <FileAlignment>512</FileAlignment> <SccProjectName>SAK</SccProjectName> <SccLocalPath>SAK</SccLocalPath> <SccAuxPath>SAK</SccAuxPath> <SccProvider>SAK</SccProvider> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <DebugSymbols>true</DebugSymbols> <DebugType>full</DebugType> <Optimize>false</Optimize> <OutputPath>bin\Debug\</OutputPath> <DefineConstants>DEBUG;TRACE</DefineConstants> <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <DebugType>pdbonly</DebugType> <Optimize>true</Optimize> <OutputPath>bin\Release\</OutputPath> <DefineConstants>TRACE</DefineConstants> <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> </PropertyGroup> <ItemGroup> <Reference Include="System" /> <Reference Include="System.Core"> <RequiredTargetFramework>3.5</RequiredTargetFramework> </Reference> <Reference Include="System.Xml.Linq"> <RequiredTargetFramework>3.5</RequiredTargetFramework> </Reference> <Reference Include="System.Data.DataSetExtensions"> <RequiredTargetFramework>3.5</RequiredTargetFramework> </Reference> <Reference Include="System.Data" /> <Reference Include="System.Xml" /> <Reference Include="wix, Version=3.0.0.0, Culture=neutral, PublicKeyToken=ce35f76fcda82bad, processorArchitecture=MSIL"> <SpecificVersion>False</SpecificVersion> </Reference> </ItemGroup> <ItemGroup> <Compile Include="EnvironmentCompilerExtension.cs" /> <Compile Include="EnvironmentExtension.cs" /> <Compile Include="PreprocessorExtension.cs" /> <Compile Include="Properties\AssemblyInfo.cs" /> </ItemGroup> <ItemGroup> <EmbeddedResource Include="Resources\EnvironmentTables.xml" /> </ItemGroup> <ItemGroup> <EmbeddedResource Include="Resources\Environment.xsd" /> </ItemGroup> <ItemGroup> <EmbeddedResource Include="Resources\EnvironmentLibrary.wixlib" /> </ItemGroup> <ItemGroup> <None Include="Resources\ReadME.txt" /> </ItemGroup> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <!-- To modify your build process, add your task inside one of the targets below and uncomment it. Other similar extension points exist, see Microsoft.Common.targets. <Target Name="BeforeBuild"> </Target> <Target Name="AfterBuild"> </Target> --> </Project> -----Original Message----- From: maksim.vazhe...@emc.com [mailto:maksim.vazhe...@emc.com] Sent: Friday, January 28, 2011 9:05 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Building extension .csproj I'm not very familiar with .NET projects. I need to integrate the build of C# projects to our build process (based on msbuild). Now it is done by running .csproj (with import of WixBuild.Common.targets) from another .proj using task <MSBuild>. Could you please provide me a sample of .csproj for the extension without references to WixBuild.Common.targets? -----Original Message----- From: Rob Mensching [mailto:r...@robmensching.com] Sent: Friday, January 28, 2011 4:30 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Building extension .csproj I don't think you need WixBuild for the extensions. IIRC, we have some helper stuff in there to flatten the XML and such that isn't necessary. On Fri, Jan 28, 2011 at 12:12 AM, <maksim.vazhe...@emc.com> wrote: > Hi all, > > Is there any way to build C# part of WiX compiler extension using only WiX > sdk, without building needed WiX binaries? Now I have to build WixBuild.dll, > because it is required by WixBuild.Common.targets. I have to use > WixBuild.Common.targets to build the extension because there are some custom > tables and schema for the extension. > > Thanks, > Maksim > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better > price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- virtually, Rob Mensching - http://RobMensching.com LLC ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users