Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Migration Partner Kit from framework version 4.x to 5.x

  

  •  Migration method: 1  

  1. Download Latest Partner kit from Source Forge. Click here to download partner kit 

  2. Open project in Visual Studio 2019, and select ViennaAdvantageWeb as Startup project. 

  3. This Partner kit will have reference of all the required libraries and required packages. 

  4. Rename Assemblies of new Partner kit. Please refer to Rename assembly 

  5.  Copy code from existing Partner kit to new Partner kit. 

  6. Start using new partner kit. 

...

NOTE : User can also find the latest versions of referred libraries used in partner kit from the FTP details shared below. 

IP:- http:// betaftp.viennasolutions.com  

UserID : Vienna 

Protocol:- SFTP 

...

Note: New Partner kit will be compatible with Vienna Advantage Framework 5.0.1.0 and above version. If your application still uses Vienna Advantage Framework version 4.X.X.X, then please do not use new Partner kit. 

  

  •  Migration method: 2   

In this method, one has to upgrade existing setup and projects with new references, target framework, packages and configurations. For this, one has to follow below steps. 

...

Open module and partner kit project solution.  Right click on a project in solution and click on ‘properties’ from context menu option, then select Application tab and change target framework to 4.8. Repeat for all three projects in the solution.   

...

Note: If .NET Framework 4.8 option is not available, Install framework 4.8 (developer pack) from Microsoft site on your development machine. 

...

e.g. Update-package Newtonsoft.Json -Version 13.0.1   

 

After updating above Packages in ViennaAdvantageWeb Project, one need to update packages in other projects too, like  ViennaAdvantage and ViennaAdvantageSvc.  

...

  1. Download the files from Vienna FTP. Ftp detail is given below. 

    IP:- http:// betaftp.viennasolutions.com  

    UserID : Vienna 

    Protocol:- SFTP 

    Port:- 22 

    Password :  (Contact to Vienna Support team) 

  2. Now open one project at a time, go to reference section of each project and remove the reference of following dlls, if exist in the respective projects. 

    • VIS.dll 

    • ViennaBase.dll 

    • Market.dll 

    • MarketSvc.dll 

    • ModelLibraray.dll 

  3. Now add all the reference from downloaded package's htmlbin folder of (Market, VIS, VAS & ViennaBase) into current project.  Please remove and add references of above mentioned dlls from (Market, VIS, VAS & ViennaBase) in ViennaAdvantageWeb and ViennaAdvantage projects in the solution. 

  4. Now for ViennaAdvantageSvc follow the same steps as mentioned above but do not add reference of VIS.dll, ViennaBase.dll and Market.dll in ViennaAdvantageSvc or *.svc project.  

  5. Copy the Areas folder from downloaded package's (Market, VIS, VAS & ViennaBase folder latest version) and replace with Area folder in ViennaAdvantageWeb project (if any area not found then add new). 

...

4.1 Change the target framework and add <assemblies> node in <compilation> node.  

...

 

<compilation  <compilation debug="true" targetFramework="4.8"> 
         <assemblies> 
                  <add assembly="netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51" /> 
         </assemblies> 
</compilation> 


 
<httpRuntime maxRequestLength="214748364" executionTimeout="1200" targetFramework="4.8" /> 
<sessionState timeout="60" /> 

...