1 / 3

What are Auto Code Updates?

What are Auto Code Updates?.

forrest
Download Presentation

What are Auto Code Updates?

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. What are Auto Code Updates? Before loading any lox encrypted assemblies you must first create an AssemblyLockbox loader object and call the method AddAssemblyReference for each lox file you want to allow to be loaded. This code however can become outdated when the assembly that is in the lox file gets upgraded and has a new version number. When that happens a new lox file must be created and the parameters passed into the AddAssemblyReference method must be updated to match the new assembly. This isn’t a very tedious effort since it is just a couple lines of code. However in the interest of making AssemblyLockbox as easy as possible to use the auto code update feature was added so that the AddAssemblyReference parameters can be automatically updated in your applications code each time you generate a lox file. Another side effect of this feature is that each time you load a LBS file in AssemblyLockboxBuilder it checks the version information of each assembly in the LBS file and if the version is different then it prompts you to update all the assemblies information automatically to match the new version of the assembly.

  2. ClassLibrary1.dll version 1.0.2 This class library gets upgraded to a new version and auto code updates automatically updates the AddAssemblyReference code. ClassLibrary1.dll version 2.0.0

  3. Notice the beginning and ending tags surrounding the code. If you want auto code updates to work then you must add these tags just like you see here to your code. Then when you process assemblies into lox files and the auto code updates feature is invoked then these tags tell the feature what code can be updated.

More Related