StrataFrame Forum

Deploy Strataframe Winform Project

http://forum.strataframe.net/Topic1655.aspx

By Jason Stevenson - 6/23/2006

Should the "Copy Local" attribute of the 4 MicroFour assemblies be set to TRUE in the Project References?

I am still having some difficulty deploying the application to test...

I am using the Publish function of the Project to publish to a folder.

Thanks,

Jason

By Trent L. Taylor - 6/23/2006

Jason,

You can set the Copy Local to True, but that will only place the MicroFour SF assemblies in the folder where your assembly is created.  For deploying StrataFrame to another computer you have several options.  First, let me explain that you wil need four assemblies:

MicroFour StrataFrame Base.dll
MicroFour StrataFrame Business.dll
MicroFour StrataFrame DBEngine.dll
MicroFour StrataFrame UI.dll

If you are using the DevExpress wrapper the you will also need:

MicroFour StrataFrame Inherited UI.dll

Option 1
Copy the StrataFrame DLLs to the same location as your executable.  This is not my preferred way of deploying the DLLs, but some people have their reasons for this approach.

Option 2 (Recommended)
Move the StrataFrame DLLs into the GAC.  This can be done through an installation, or you can simply drag the above assemblies into the c:\windows\assembly folder on the target machine.

Let me know if this doesn't answer your question. Thanks.

By Jason Stevenson - 6/23/2006

Thanks for the information Trent.

I had done all of that in my case, my problem was that I was using the "Publish" feature in VS 2005 (Click-Once).

The configuration page for the project, on the publish tab, has a button for application files to include.

By default VS was marking many assemblies as "Pre-Requisites" to the installation that shouldn't be necessary.  After "Excluding" those files the installation worked properly on the test machine.

Thanks for you help,

Jason

By Trent L. Taylor - 6/23/2006

Glad you got going.  Have a great weekend!