Business Object Designer
 
Home My Account Forum Try It! Buy It!
About Contact Us Site Map
StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



Business Object DesignerExpand / Collapse
Author
Message
Posted 11/28/2005 7:01:04 PM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: Forum Members
Last Login: 03/25/2006 6:08:39 PM
Posts: 36, Visits: 65

The bussiness-designers csharp file gets corrupted by not putting a space between "namespace" and the <namespace name>

namespaceWindowsApplication1{

public partial class BusinessObject1 : MicroFour.StrataFrame.Business.BusinessLayer

{

#region Component Implementation

/// <summary>

/// Required designer variable.

/// </summary>

private System.ComponentModel.IContainer components = null;

/// <summary>

/// Clean up any resources being used.

/// </summary>

/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>

Post #173
Posted 11/28/2005 7:44:08 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Today @ 8:47:41 AM
Posts: 4,104, Visits: 4,175
That is actually due to .NET and the CSharp.  TO prevent this from happening, add a namespace to your business object project.  Right now it is empty so .NET and CSharp assumes the root and this is what it does.  To avoid this in the future, do the following:

1.) Open the Busines Object Mapper within the appropriate solution
2.) Click on the first project that needs to be updated
3.) Click the "Modify Project Properties" link on the right panel
4.) Set the "Default Namespace" to the root namespace of the CSharp project (or whatever namespace you want the BO to have)
5.) When prompted, select "Change All" to update all existing business objects.

The next time you rebuild this will not happen and all future business objects will have the default namespace you just specified.

Post #175
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ben Chase, Trent L. Taylor, Steve L. Taylor

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 10:20am

Powered By InstantForum.NET v4.1.4 © 2008
Execution: 0.109. 10 queries. Compression Enabled.
Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.