1
General Board / C# Code Sync ./ Importing problems
« on: May 01, 2016, 06:46:21 pm »
I have a Model that I created and used to produce C# code, I initially could generate the code fine. Now I am having a
problem re-ayncing the code. One other thing that is important is that the directory changes.
I have tried;
Going into Generate code and try to change the base directory. I can't even seem to get the base directory to line up
with the current code base. There are always elements of the previous path that are duplicated in the new path after
specifying the base directory. I have also tried to reset the path options for the directory. When I do that, there is still
an odd overlap. If I pick the view folder (class model) as where I choose to import source too, it sticks "Class Model" in
the path. If I choose the child directory, where this directory is my namespace root, then that package name is duplicated
in the path.
I have tried various configurations of importing source, moving the name space root around, reset the file paths, etc but
I either get all the classes duplicated in the right folders or a new sub folder that has has the source there but I essentially
have duplicated classes just in two different folders.
I have tried to sync code to model, this seems to do nothing I think because it can align the source to a file.
I have found similat posts for V7 and V8 of EA but no solutions were responded to the thread. Hopefully someone can help me now.
-John Gentilin
problem re-ayncing the code. One other thing that is important is that the directory changes.
I have tried;
Going into Generate code and try to change the base directory. I can't even seem to get the base directory to line up
with the current code base. There are always elements of the previous path that are duplicated in the new path after
specifying the base directory. I have also tried to reset the path options for the directory. When I do that, there is still
an odd overlap. If I pick the view folder (class model) as where I choose to import source too, it sticks "Class Model" in
the path. If I choose the child directory, where this directory is my namespace root, then that package name is duplicated
in the path.
I have tried various configurations of importing source, moving the name space root around, reset the file paths, etc but
I either get all the classes duplicated in the right folders or a new sub folder that has has the source there but I essentially
have duplicated classes just in two different folders.
I have tried to sync code to model, this seems to do nothing I think because it can align the source to a file.
I have found similat posts for V7 and V8 of EA but no solutions were responded to the thread. Hopefully someone can help me now.
-John Gentilin