This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hi, I have a customer working with my application where the referenced version of LightSpeed is 3.11.1568. The version that is currently installed on my machine is 3.11.1788. I have to correct a bug in the application but I don't want to upgrade the version of LightSpeed from 3.11.1568 to 3.11.1788 and I also have to update some information in the model with the visual designer. My question is when you have a plugin in visual studio like LightSpeed, it is possible to have multiple versions on a single machine that can be used with the plugin in visual studio? I don't want to use software like VMWare because this is very cumbersome to install all what I need to build a version. If is not possible, do you have tips and tricks that I can use in this situation. P.S. The versions number are just here as an example; I don't know if they exist. |
|
|
You can only have one version of the designer installed, but you can just grab the runtime assemblies from an installation and copy those to be references with the project directly. If I am understanding your situation correctly then it sounds like just keeping a copy of the newer LightSpeed assemblies (3.11.1788) as references for that project while having 3.11.1568 installed with the designer is what you are looking to achieve?
Jeremy
|
|
|
Ok, here is a better scenario: 2011-01-01: My application was shipped to my client with LightSpeed 3.11.1 2011-01-10: A new version of LightSpeed is available (3.11.2) and I have installed it but don't reopened the client project. 2011-01-15: My client found a bug and I must correct it but I don't want to ship it with the version 3.11.2; I want to ship it with version 3.11.1 I must modify some table in the model with the Visual Designer for some reason but the Visual Designer use the lastest version installed; 3.11.2
It is possible to have installed version 3.11.1 and 3.11.2? In your previous post, you said no. I know that I can keep the dlls of the version 3.11.1 but if I try to modify the model with the Visual Designer, I must upgrade my references to the latest version; 3.11.2 and this is exactly want I don't want.
The only idea that I have is to uninstall the version 3.11.2 and install the version 3.11.1, correct the bug of the client, build a new version and than uninstall again and reinstall the latest version.
I only have this type of problem with add-in linked with Visual Studio like LightSpeed or Active Reports. I understand the difficulty..:( Component like Infragistics, Teleriks that don't have tool inserted in Visual Studio don't have problem.
Thank you. |
|
|
The designer only adds references if they are missing but does not update them. If you are seeing an update its likely because that is because you are referencing the assemblies from the LightSpeed installation so the version number will change according to which version you have installed. If you copy the Mindscape.LightSpeed.dll and Mindscape.LightSpeed.Linq.dll files into a /Lib folder within the scope of your solution and then update your references to point to those then you can host the runtime assemblies independant of which version you actually have installed. The only issues you would then run into is if the Designer emits code or offers capabilities which are not supported by an earlier runtime version which within a major version should not be a problem for you. As an example, I have LightSpeed 4 Beta installed but regularly do work with projects which use LightSpeed 3.11. So for your situation is you should ensure your client solution has the 3.11.1 assemblies stored with the solution rather than referenced from your LightSpeed install directory.
Jeremy |
|
|
When you install 3.11.2, it will overwrite the LightSpeed DLLs at the install location. But if you copy the 3.11.1 DLLs to a project-specific location (e.g. a Lib folder), and reference them at that location rather than the install location, then you can install 3.11.2 without affecting your DLL references. Here's a rather crude picture: MySolution (If you subsequently upgrade your client to 3.11.2 then you just copy the updated DLLs from Program Files to Lib.) Does that make sense? |
|
|
Thank you Jeremy for the fast answer. If I understand correctly, the only problem that I can faced is if I have installed the latest version and that version emit as exemple an attribute that don't exist in previous version, my code will not compile if I have project references of an older version. This sound totally logical. I must cross my fingers that the Visual Designer will not emit new feature in this case or I can update the auto-generated code to prevent errors of new attributes or incompatibles changes. :) Thank you again for yours great explanations. |
|