Change of namspace in a ECO 4 VS solution
CapableObjects Forums
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Change of namspace in a ECO 4 VS solution Expand / Collapse
Author
Message
Posted 2008-10-21 08:11:53


Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: 2011-11-23 02:03:59
Posts: 80, Visits: 730
I had been doing all the projects in BDS 2006 using ECO III and am currently trying to learn how to program ECO 4 inside VS 2008. I just wonder if there is any way to change the namespace of all the ECO projects (asp .net, winforms, eco package)? For example from MyEcoTest to MyCompany.MyProduct.MyEcoTest.

I have tried to set the project name to MyCompany.MyProduct usign the wizard in creating the solution and am lost in change all the namespaces involved in the files generated. It would be nice if I could tell the wizard to use certain namespaces in creating the solution.
Post #612
Posted 2008-10-21 10:59:15
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Administrators
Last Login: 2010-11-30 12:17:13
Posts: 1 230, Visits: 1 382
In VS2008, you can use the rename-refactoring (just rightclick the name of the namespace and select Refactoring->Rename)

This will update the name of the namespace

When you add new classes to your model they will always be placed in the namespace specified in the EcoModeler file (mmcseco). To change it, open EcoModeler and in File->ProjectOptions->Eco you can set the new namespace.



/Jonas Hogstrom [CapableObjects]
Post #613
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: HansKarlsen, Jonas Hogstrom, PeterMorris

Permissions Expand / Collapse

All times are GMT +1:00, Time now is 11:33

Powered By InstantForum.NET v4.1.4 © 2012
Execution: 0,266. 8 queries. Compression Disabled.