-
Notifications
You must be signed in to change notification settings - Fork 0
Upgrade From CFE
Maud Chiva-Rampazzo edited this page Apr 24, 2020
·
1 revision
In Visual Studio 2017/2019 with SoftFluent CodeModeler extension installed AND CodeFluent Entities installed and activated, goto Options
- Select SoftFluent CodeModeler / General
- Change None to Enabled for Legacy Conversion Options
--
- OK
Once done, Step1 : change project level settings
- copy the CodeFluent Entities folder with its *.cfxproj project file and the *.cfp parts to a working folder
- in this working folder rename the *.cfxproj file with the *.sfcmproj new extension
- open the *.sfcmproj file in Visual Studio (Open Project/Solution)
- in the new solution add a .Net Standard project for BOM generation
- change the BOM Producer settings from old value to target the newer .Standard project instead of the older .Net Framework project
- do the same for additional projects as required : empty .Net or database project for persistence etc..
- Edit each file part property to ensure the model is using Normalized XML and not implicit format for the Save Options
-Build to check there is no issue at this step
Step2: trigger the change of namespace prefix in the parts.
- using the surface editing only : add a temporary entity TestUpgrade
- Build
- check that the entities definitions now us cm:xx prefixes and namespace and no more CFE namespaces
Step3 : remove CFE references
- unload the CodeModeler project from the solution (Unload project) -in the projet folder change the extension of all parts from .cfp to .sfcm extension
- edit the project file (XML):
-- rename the extension of all parts .cfp to .sfcm for all referenced parts
-- remove the old CFE target import
- save the file
- close and reopen the solution -in case the project can not load the default.surface.sfcm, add a new Surface with name Default, it will reopen the correct one. -rebuild -Close solution
Step4 : once all projects/solutions are migrated to new version
- change Legacy Conversion Options back to None in Visual Studio options -close VStudio
- uninstall all versions of CodeFluent Entities with Add/Remove Programs
- reopen your solutions
- Introduction
- Architect Guide
- Concepts
- Using Visual Studio
- Overview
- Creating a CodeModeler Project
- Visual Environment
- Project Hierarchy
- Design Surface
- Customizing Design Surfaces
- Ribbon Bar
- Property Grid
- Member Format Expressions
- Model Grid
- Method Editor
- View Editor
- Instance Editor and Grid
- Resources Editor
- Inferred Model Viewer
- Building
- Project Physical Layout
- Source Control Support
- Generating
- Aspect Oriented Design (AOD)
- Developer Guide
- The Business Object Model (BOM)
- CodeModeler Query Language (CMQL)
- Starting Guide - Tutorial
- Upgrade From CFE