Build Error with Standalone package

2 posts, 0 answers
  1. Marty
    Marty avatar
    1 posts
    Member since:
    Jan 2011

    Posted 23 Jul 2013 Link to this post

    I followed these instructions
    http://documentation.telerik.com/openaccess-orm/developers-guide/integrating-openaccess-orm-in-your-solution/external-tools-howto-integrate-enhancer-msbuild

    but received the following error any help would be appreciated. The telerik.openaccess.dll is already in the OpenAccessAssemblies


    Target "OpenAccessEnhancer: (TargetId:1228)" in file "C:\Xbridge\Dev\Server\XBDLPAdmin\OpenAccessAssemblies\OpenAccess.targets" from project "C:\Xbridge\Dev\Server\XBDLPAdmin\XBDLPAdmin.csproj" (target "Compile" depends on it):

    Building target "OpenAccessEnhancer" completely.

    Input file "C:\Xbridge\Dev\Server\XBDLPAdmin\obj\Debug\XBDLPAdmin.dll" is newer than output file "obj\Debug\XBDLPAdmin.oa".

    Using "OpenAccessEnhancer" task from assembly "C:\Xbridge\Dev\Server\XBDLPAdmin\OpenAccessAssemblies\enhancer.exe".

    Task "OpenAccessEnhancer" (TaskId:771)

    "C:\Xbridge\Dev\Server\XBDLPAdmin\OpenAccessAssemblies\enhancer.exe" -verboseMode:3 -assembly:"C:\Xbridge\Dev\Server\XBDLPAdmin\obj\Debug\XBDLPAdmin.dll" -keyFile:"Xbridge.snk" -reference:"C:\Xbridge\Dev\Server\bin\DasClasses.dll" -reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\mscorlib.dll" -reference:"C:\Xbridge\Dev\Server\Responses\bin\Debug\Responses.dll" -reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Core.dll" -reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.DataSetExtensions.dll" -reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.dll" -reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.dll" -reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.dll" -reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.Linq.dll" -reference:"C:\Xbridge\Dev\Server\XBDLPAdmin\OpenAccessAssemblies\Telerik.OpenAccess.35.Extensions.dll" -reference:"C:\Xbridge\Dev\Server\XBDLPAdmin\OpenAccessAssemblies\Telerik.OpenAccess.dll" -reference:"C:\Xbridge\Dev\Server\XBAPISupport\bin\Debug\XBAPISupport.dll" -reference:"C:\Xbridge\Dev\Server\XBDLP\bin\Debug\XBDLP.dll" -reference:"C:\Xbridge\Dev\Server\XBDLPExit\bin\Debug\XBDLPExit.dll" -attributeMapping -fluentMapping (TaskId:771)

    Telerik AD OpenAccess Enhancer, Version 2013.2.702.1, Copyright (C) 1996-2013 Telerik AD (TaskId:771)

    C:\Xbridge\Dev\Server\XBDLPAdmin\OpenAccessAssemblies\OpenAccess.targets(103,3): error : System.IO.FileNotFoundException: Could not load file or assembly 'Telerik.OpenAccess, Version=2013.2.702.1, Culture=neutral, PublicKeyToken=7ce17eeaf1d59342' or one of its dependencies. The system cannot find the file specified.

    C:\Xbridge\Dev\Server\XBDLPAdmin\OpenAccessAssemblies\OpenAccess.targets(103,3): error : File name: 'Telerik.OpenAccess, Version=2013.2.702.1, Culture=neutral, PublicKeyToken=7ce17eeaf1d59342'

    C:\Xbridge\Dev\Server\XBDLPAdmin\OpenAccessAssemblies\OpenAccess.targets(103,3): error : at Telerik.OpenAccess.Sdk.Enhancer.EnhancerBase.CrossDomainRun()

    C:\Xbridge\Dev\Server\XBDLPAdmin\OpenAccessAssemblies\OpenAccess.targets(103,3): error : at System.AppDomain.DoCallBack(CrossAppDomainDelegate callBackDelegate)

    C:\Xbridge\Dev\Server\XBDLPAdmin\OpenAccessAssemblies\OpenAccess.targets(103,3): error : at System.AppDomain.DoCallBack(CrossAppDomainDelegate callBackDelegate)

    C:\Xbridge\Dev\Server\XBDLPAdmin\OpenAccessAssemblies\OpenAccess.targets(103,3): error : at Telerik.OpenAccess.Sdk.Enhancer.EnhancerBase.DomainRun(Boolean createDomain)

    C:\Xbridge\Dev\Server\XBDLPAdmin\OpenAccessAssemblies\OpenAccess.targets(103,3): error : at Telerik.OpenAccess.Sdk.Enhancer.Enhancer.Start(EnhancerSettings settingsPara)

    C:\Xbridge\Dev\Server\XBDLPAdmin\OpenAccessAssemblies\OpenAccess.targets(103,3): error : at Telerik.OpenAccess.Sdk.Enhancer.Enhancer.Run(EnhancerSettings settings)

    C:\Xbridge\Dev\Server\XBDLPAdmin\OpenAccessAssemblies\OpenAccess.targets(103,3): error : at Telerik.OpenAccess.Tools.OpenAccessEnhancer.Execute()

    C:\Xbridge\Dev\Server\XBDLPAdmin\OpenAccessAssemblies\OpenAccess.targets(103,3): error :

    C:\Xbridge\Dev\Server\XBDLPAdmin\OpenAccessAssemblies\OpenAccess.targets(103,3): error : WRN: Assembly binding logging is turned OFF.

    C:\Xbridge\Dev\Server\XBDLPAdmin\OpenAccessAssemblies\OpenAccess.targets(103,3): error : To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.

    C:\Xbridge\Dev\Server\XBDLPAdmin\OpenAccessAssemblies\OpenAccess.targets(103,3): error : Note: There is some performance penalty associated with assembly bind failure logging.

    C:\Xbridge\Dev\Server\XBDLPAdmin\OpenAccessAssemblies\OpenAccess.targets(103,3): error : To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

    C:\Xbridge\Dev\Server\XBDLPAdmin\OpenAccessAssemblies\OpenAccess.targets(103,3): error :

    Done executing task "OpenAccessEnhancer" -- FAILED. (TaskId:771)


  2. Dimitar Tachev
    Admin
    Dimitar Tachev avatar
    67 posts

    Posted 26 Jul 2013 Link to this post

    Hi Marty,

     
    It seems that there is an issue in the configuration of the project and it is searching for a wrong OpenAccess assembly.

    I tried to reproduce this behavior on two different machines but following the steps from the article about Using OpenAccess ORM without installing it I was not able to get this error.

    Could you please try to apply the steps from the article again and confirm that you still experience the same issue?

    For your convenience I also prepared a sample application demonstrating this approach - please find it attached.

    I hope this helps. I am looking forward to your feedback.

    Regards,
    Dimitar Tachev
    Telerik
    OpenAccess ORM Q2 2013 brings you a more powerful code generation and a unique Bulk Operations support with LINQ syntax. Check out the list of new functionality and improvementsshipped with this release.

  3. DevCraft banner
Back to Top