namespaces_migrated_applications
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
namespaces_migrated_applications [2024/09/11 04:53] – wolfgangriedmann | namespaces_migrated_applications [2024/09/11 06:35] (current) – wolfgangriedmann | ||
---|---|---|---|
Line 2: | Line 2: | ||
Migrated applications does not have indicated any namespace, therefore some special rules apply. | Migrated applications does not have indicated any namespace, therefore some special rules apply. | ||
- | Normally, such applications use the compiler option /ins (use implicit namespace), so the compiler adds the needed | + | Normally, such applications use the compiler option /ins (use implicit namespace), so the compiler |
When you migrate a VO app with the name DictEdit, then the generated Assembly name by the Exporter is DictEdit.EXE and the Default Namespace is also DictEdit | When you migrate a VO app with the name DictEdit, then the generated Assembly name by the Exporter is DictEdit.EXE and the Default Namespace is also DictEdit | ||
Please note that this default namespace is only used with: | Please note that this default namespace is only used with: | ||
+ | |||
- when you enable the option " | - when you enable the option " | ||
+ | |||
- when you create files inside Visual Studio. A new class " | - when you create files inside Visual Studio. A new class " | ||
When the new class file is in a folder " | When the new class file is in a folder " | ||
Line 14: | Line 16: | ||
When the assembly name is DictEdit.Exe, | When the assembly name is DictEdit.Exe, | ||
+ | |||
When the assembly name is DictEdit.Dll, | When the assembly name is DictEdit.Dll, | ||
The compiler automatically adds a using DictEdit.Exe.Functions inside each of the programs in your app (assuming DictEdit.Exe is your assembly name). | The compiler automatically adds a using DictEdit.Exe.Functions inside each of the programs in your app (assuming DictEdit.Exe is your assembly name). | ||
+ | |||
So there is no need to prefix the code with Functions. If you do want to prefix then I would recommend to use the full name: DictEdit.Exe.Functions.Start() | So there is no need to prefix the code with Functions. If you do want to prefix then I would recommend to use the full name: DictEdit.Exe.Functions.Start() | ||
(Comment by R.v.d.H.: https:// | (Comment by R.v.d.H.: https:// |
namespaces_migrated_applications.1726030435.txt.gz · Last modified: 2024/09/11 04:53 by wolfgangriedmann