OK, I tried using a .assemblylocations file. Though cumbersome, it does work when I'm opening the designer (handy). However, it doesn't work with the CliGenerator; in fact it barfs with the following:
LLBLGen Pro Command line code generator v2.6.0.0.06052008
(c)2002-2008 Solutions Design. http://www.llblgen.com
Generates code for LLBLGen Pro projects on the command line.
Exception caught.
Message: Could not load file or assembly 'Opw.Common, Version=1.3.0.0, Culture=neutral, PublicKeyToken=a1ac645d4f12a833' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))
Source: mscorlib
Stack trace: at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.Load(String assemblyString)
at System.UnitySerializationHolder.GetRealObject(StreamingContext context)
at System.Runtime.Serialization.ObjectManager.ResolveObjectReference(ObjectHolder holder)
at System.Runtime.Serialization.ObjectManager.DoFixups()
at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
at SD.LLBLGen.Pro.ApplicationCore.Project.Load(String projectPathFileName)
at SD.LLBLGen.Pro.Tools.CommandLineGenerator.Startup.StartProcess(String projectFile, String rootNamespace, String languageName, String platformName, StringtemplateGroupName, String presetName, String destinationFolder, Boolean clearDestinationFolder, Boolean loadValuesFromProjectFile)
Inner exception:-----------------------
Exception caught.
Message: Absolute path information is required.
Source: mscorlib
Stack trace: at System.Security.Util.StringExpressionSet.CreateListFromExpressions(String[] str, Boolean needFullPath)
at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean check
ForDuplicates, Boolean needFullPath, Boolean copyPathList)
at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String path)
at System.Reflection.Assembly.LoadFile(String path)
at SD.LLBLGen.Pro.ApplicationCore.Project.OnProjectLoadAssemblyResolveFailure(Object sender, ResolveEventArgs args)
at System.AppDomain.OnAssemblyResolveEvent(String assemblyFullName)
Inner exception: <null>
Application log:
Based on the message, I tried switching to absolute paths, which works, but again is unacceptable.