Reconstruction of the computer room charge system, I use the EA to finish the UML diagram, I intend to use the EA to generate vb.net code, so that will be the aspect. I didn't think it was as simple as I thought, it might be the reason for the first attempt, and the problem with importing the code is one after the other. Just fortunately, despite the difficulties along the way, but I still the road, the code to adjust, in this little summary of my problems.
I. Citation ISSUES
After generating the class with the EA under the specified package, a situation arises when the layers are called again: The Assembly adds a reference to another assembly, but in the case of imports, the referenced assembly name is not displayed. For example, I am in the U layer to refer to layer B, in the U-layer to add a reference interface to tick the B-layer reference, in the declaration section can not find the name of Layer B.
Causes and methods of resolution:
First of all, we need to be clear about the meaning of "citation". Baidu Encyclopedia is defined as: refers to the writing of articles, intentionally quoting out-of-the-box language, verses, proverbs, allusions and so on to express their thoughts and feelings, explaining their own views on new issues, new principles, such rhetorical technique called citation, plainly is that someone else's things to use. In VS, we refer to references to other dll,dll as well as other classes, and after referencing these DLLs, you have the ability to use these DLL-encapsulated classes in your program (after referencing, using either the use or the Imports namespace).
second, we want to make it clear that we after generating the class with an EA, only the class library with the relevant code is included, and no DLL files are generated. So the solution is to manually generate the following will be able to. Select an assembly-right-click-Build, and then join the imports to find it.
Second, set the startup item
Detailed questions such as the following:
Analysis Reason: Online collection of the following, the cause of the exception is the installation of third-party controls, and then delete is not removed cleanly, causing the log file error. I think the local control should refer to the EA, after the use of the EA generated code, the code made a certain adjustment, but did not synchronize with the EA, which may be the cause of the problem occurred.
Workaround: Open the VS IDE main program folder with the command prompt, such as my C:\Program Files\Microsoft Visual Studio 12.0\common7\ide, and then run Devenv/log to
This can then be performed normally.
Study reflection: Sometimes feeling is too impatient, the more do not want to encounter problems, but meet a lot of other. After learning to learn to adjust the mentality of learning, in the course of learning, encountered problems are certain, the problem as we learn the opportunity. Then calm down, calmly analyze their own steps to solve their own clues, step by step to solve the can. At this stage of our study, there are not too many problems, they are just composed of a lot of simple problems, to be strategically contemptuous of it, one by one.
An exception was encountered: This could be caused by an extension