Project file contains absolute paths for source files

Posts   
 
    
jungans
User
Posts: 18
Joined: 23-Jul-2006
# Posted on: 24-Feb-2010 15:16:41   

Hi,

I'm having a problem with the generated project file including absolute paths to source files. The problem started when I added an Additional destination folder to the DirectoryCreators tasks. Is there a workaround for this? Thank you.

By the way I'm using v2.6 Final, September 12th '08

Walaa avatar
Walaa
Support Team
Posts: 14994
Joined: 21-Aug-2005
# Posted on: 24-Feb-2010 15:43:44   

Would you please attach a repro lgp file, or open a HelpDesk thread and attach the original lgp.

Thank.

jungans
User
Posts: 18
Joined: 23-Jul-2006
# Posted on: 24-Feb-2010 16:51:25   

Thanks for the quick response. Here is the .lgp I'm using, hope it helps.

Walaa avatar
Walaa
Support Team
Posts: 14994
Joined: 21-Aug-2005
# Posted on: 24-Feb-2010 17:09:27   

I generated the code and found no absolute paths in the project file. Can you point me to which section of the project file that holds absolute paths.

jungans
User
Posts: 18
Joined: 23-Jul-2006
# Posted on: 24-Feb-2010 18:33:39   

Below is the generated project file. As you can see, every file is included using the path C:\dev\scania\far\src\Far.\Far.Negocio\Generado\

<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <ProjectType>Local</ProjectType>
    <ProductVersion>9.0.21022</ProductVersion>
    <SchemaVersion>2.0</SchemaVersion>
    <ProjectGuid>{1FD555AA-4910-42EB-AA9C-40099C4F3710}</ProjectGuid>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    <ApplicationIcon>
    </ApplicationIcon>
    <AssemblyKeyContainerName>
    </AssemblyKeyContainerName>
    <AssemblyName>Far.Negocio</AssemblyName>
    <AssemblyOriginatorKeyFile>
    </AssemblyOriginatorKeyFile>
    <DefaultClientScript>JScript</DefaultClientScript>
    <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout>
    <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
    <DelaySign>false</DelaySign>
    <OutputType>Library</OutputType>
    <RootNamespace>Far.Negocio</RootNamespace>
    <RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
    <StartupObject>
    </StartupObject>
    <FileUpgradeFlags>
    </FileUpgradeFlags>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    <OutputPath>bin\Debug\</OutputPath>
    <AllowUnsafeBlocks>false</AllowUnsafeBlocks>
    <BaseAddress>285212672</BaseAddress>
    <CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
    <ConfigurationOverrideFile>
    </ConfigurationOverrideFile>
    <DefineConstants>DEBUG;TRACE</DefineConstants>
    <DocumentationFile>
    </DocumentationFile>
    <DebugSymbols>true</DebugSymbols>
    <FileAlignment>4096</FileAlignment>
    <NoStdLib>false</NoStdLib>
    <NoWarn>
    </NoWarn>
    <Optimize>false</Optimize>
    <RegisterForComInterop>false</RegisterForComInterop>
    <RemoveIntegerChecks>false</RemoveIntegerChecks>
    <TreatWarningsAsErrors>false</TreatWarningsAsErrors>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    <OutputPath>bin\Release\</OutputPath>
    <AllowUnsafeBlocks>false</AllowUnsafeBlocks>
    <BaseAddress>285212672</BaseAddress>
    <CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
    <ConfigurationOverrideFile>
    </ConfigurationOverrideFile>
    <DefineConstants>TRACE</DefineConstants>
    <DocumentationFile>
    </DocumentationFile>
    <DebugSymbols>false</DebugSymbols>
    <FileAlignment>4096</FileAlignment>
    <NoStdLib>false</NoStdLib>
    <NoWarn>
    </NoWarn>
    <Optimize>true</Optimize>
    <RegisterForComInterop>false</RegisterForComInterop>
    <RemoveIntegerChecks>false</RemoveIntegerChecks>
    <TreatWarningsAsErrors>false</TreatWarningsAsErrors>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <ItemGroup>
    <Reference Include="SD.LLBLGen.Pro.LinqSupportClasses.NET35, Version=2.6.0.0, Culture=neutral, PublicKeyToken=ca73b74ba4e3ff27, processorArchitecture=MSIL">
      <SpecificVersion>True</SpecificVersion>
      <HintPath>C:\Program Files\Solutions Design\LLBLGen Pro v2.6\RuntimeLibraries\DotNet35\</HintPath>
    </Reference>
    <Reference Include="SD.LLBLGen.Pro.ORMSupportClasses.NET20, Version=2.6.0.0, Culture=neutral, PublicKeyToken=ca73b74ba4e3ff27, processorArchitecture=MSIL">
      <SpecificVersion>True</SpecificVersion>
      <HintPath>C:\Program Files\Solutions Design\LLBLGen Pro v2.6\RuntimeLibraries\DotNet20\</HintPath>
    </Reference>
    <Reference Include="SD.LLBLGen.Pro.DQE.SqlServer.NET20, Version=2.6.0.0, Culture=neutral, PublicKeyToken=ca73b74ba4e3ff27, processorArchitecture=MSIL">
      <SpecificVersion>True</SpecificVersion>
      <HintPath>C:\Program Files\Solutions Design\LLBLGen Pro v2.6\RuntimeLibraries\DotNet20\</HintPath>
    </Reference>
    <Reference Include="System">
      <Name>System</Name>
    </Reference>
    <Reference Include="System.Core">
      <RequiredTargetFramework>3.5</RequiredTargetFramework>
    </Reference>
    <Reference Include="System.Data">
      <Name>System.Data</Name>
    </Reference>
    <Reference Include="System.EnterpriseServices">
      <Name>System.EnterpriseServices</Name>
    </Reference>
    <Reference Include="System.Xml">
      <Name>System.XML</Name>
    </Reference>
  </ItemGroup>
  <ItemGroup>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\CollectionClasses\RendicionDetalleComprobanteCollection.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\CollectionClasses\MovimientoTipoCollection.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\CollectionClasses\RendicionDetalleAdelantoCollection.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\CollectionClasses\MovimientoEstadoAutorizacionCollection.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\CollectionClasses\ValeEstadoCollection.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\CollectionClasses\ValeCollection.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\CollectionClasses\UsuarioCollection.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\CollectionClasses\MovimientoTrackingCollection.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\CollectionClasses\MovimientoEstadoCollection.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\CollectionClasses\TarjetaCorporativaDetalleCollection.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\CollectionClasses\MovimientoCollection.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\DaoClasses\RendicionDetalleComprobanteDAO.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\DaoClasses\MovimientoTipoDAO.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\DaoClasses\RendicionDetalleAdelantoDAO.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\DaoClasses\MovimientoEstadoAutorizacionDAO.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\DaoClasses\ValeEstadoDAO.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\DaoClasses\ValeDAO.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\DaoClasses\UsuarioDAO.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\DaoClasses\MovimientoTrackingDAO.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\DaoClasses\MovimientoEstadoDAO.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\DaoClasses\TarjetaCorporativaDetalleDAO.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\DaoClasses\MovimientoDAO.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\DaoClasses\TypedListDAO.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\FactoryClasses\DaoFactory.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\HelperClasses\DbUtils.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\HelperClasses\DbUtilsComPlus.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\HelperClasses\Transaction.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\HelperClasses\TransactionComPlus.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="Properties\AssemblyInfo.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\ConstantsEnums.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <None Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\App.config">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </None>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\HelperClasses\FieldInfoProvider.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\HelperClasses\TypeDefaultValue.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\HelperClasses\InheritanceInfoProvider.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\RelationClasses\RendicionDetalleComprobanteRelations.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\RelationClasses\MovimientoTipoRelations.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\RelationClasses\RendicionDetalleAdelantoRelations.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\RelationClasses\MovimientoEstadoAutorizacionRelations.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\RelationClasses\ValeEstadoRelations.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\RelationClasses\ValeRelations.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\RelationClasses\UsuarioRelations.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\RelationClasses\MovimientoTrackingRelations.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\RelationClasses\MovimientoEstadoRelations.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\RelationClasses\TarjetaCorporativaDetalleRelations.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\RelationClasses\MovimientoRelations.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\RelationClasses\DynamicRelation.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\EntityClasses\CommonEntityBase.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\Linq\LinqMetaData.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\EntityClasses\RendicionDetalleComprobanteEntity.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\EntityClasses\MovimientoTipoEntity.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\EntityClasses\RendicionDetalleAdelantoEntity.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\EntityClasses\MovimientoEstadoAutorizacionEntity.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\EntityClasses\ValeEstadoEntity.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\EntityClasses\ValeEntity.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\EntityClasses\UsuarioEntity.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\EntityClasses\MovimientoTrackingEntity.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\EntityClasses\MovimientoEstadoEntity.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\EntityClasses\TarjetaCorporativaDetalleEntity.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\EntityClasses\MovimientoEntity.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\FactoryClasses\EntityFactories.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\FactoryClasses\EntityFieldFactory.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\FactoryClasses\EntityFieldsFactory.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\HelperClasses\PersistenceInfoProvider.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\HelperClasses\ResultsetFields.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\HelperClasses\FieldCreationClasses.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\StoredProcedureCallerClasses\ActionProcedures.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <Compile Include="C:\dev\scania\far\src\Far\.\Far.Negocio\Generado\StoredProcedureCallerClasses\RetrievalProcedures.cs">
      <GeneratedBy>LLBLGen Pro</GeneratedBy>
    </Compile>
    <AppDesigner Include="Properties\" />
  </ItemGroup>
  <ItemGroup>
    <Folder Include="Properties\" />
  </ItemGroup>
  <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" />
  <PropertyGroup>
    <PreBuildEvent>
    </PreBuildEvent>
    <PostBuildEvent>
    </PostBuildEvent>
  </PropertyGroup>
</Project>
daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 25-Feb-2010 06:30:50   
  • What value did you modify on the preset and what value is it?

  • Could you please attach your SD.Presets.SelfServicing.General2008.preset? (located on [LLBLGen intallation folfer\Tasks])

David Elizondo | LLBLGen Support Team
jungans
User
Posts: 18
Joined: 23-Jul-2006
# Posted on: 25-Feb-2010 14:17:14   

I only changed the 'Additional destination folder' in SD.Tasks.Generic.DirectoryCreators and SD.Tasks.SelfServicing. When I use an unmodified preset, everything works just fine.

Attachments
Filename File size Added on Approval
SD.Presets.SelfServicing.General2008.preset 4,580 25-Feb-2010 14:18.45 Approved
MTrinder
User
Posts: 1461
Joined: 08-Oct-2008
# Posted on: 25-Feb-2010 21:22:02   

I'll ask the dev team to investigate further for you. In the mean time, could you try downloading the latest version of 2.6 and trying that - your version is now quite old.

Matt

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 26-Feb-2010 03:33:03   

I can't reproduce your behavior. As Matt said, would be a good idea to update to the latest templates. Better if you download the latest full-installer.

David Elizondo | LLBLGen Support Team