StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



How add an extensibility projectExpand / Collapse
Author
Message
Posted 08/18/2008 10:58:07 AM
StrataFrame VIP

StrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIP

Group: StrataFrame Users
Last Login: Today @ 7:04:19 PM
Posts: 1,357, Visits: 3,619
I've done a couple of type converters and am now thinking about trying a UITypeEditor. None of this code needs to be distributed though, so I'm thinking about putting it into an extentibility project. However, I'm unclear how references/distribution work. I know that it can be done, as SF does this...just not sure how. How does this work? (The referencing of an extensibility project so it's available at design time, but not required to be distributed.)
Post #18530
Posted 08/18/2008 1:20:03 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Today @ 6:26:12 PM
Posts: 4,901, Visits: 4,887
Well, this is one of those things that we could spend a lot of time on, but here are a few tips.

  1. Your Extensibility project will reference your UI assemblies, etc. but your UI assemblies WILL NOT reference the extensibility.
  2. When assigning a type editor to a property within a class in your UI assembly, you will want to use a constant defined somewhere within your UI assembly that has the full name to the assembly and class that you want to use.  This prevents the need to the reference within the UI assembly to the Extensibility assembly.

Basically if you follow these two rules (which were the hardest to get through our heads initially) you will be in good shape.

Post #18538
Posted 08/18/2008 6:57:14 PM
StrataFrame VIP

StrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIP

Group: StrataFrame Users
Last Login: Today @ 7:04:19 PM
Posts: 1,357, Visits: 3,619
That's what I was looking for. I seem to recall seeing those constants in the SF source, so I can use those to get started (obviously pointing to my extensibility assembly of course).

Thanks!
Post #18555
« 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 8:47pm

Powered by InstantForum.NET v4.1.4 © 2009
Execution: 0.062. 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.