Deploy Strataframe Winform Project


Author
Message
Jason Stevenson
Jason Stevenson
StrataFrame Beginner (23 reputation)StrataFrame Beginner (23 reputation)StrataFrame Beginner (23 reputation)StrataFrame Beginner (23 reputation)StrataFrame Beginner (23 reputation)StrataFrame Beginner (23 reputation)StrataFrame Beginner (23 reputation)StrataFrame Beginner (23 reputation)StrataFrame Beginner (23 reputation)
Group: Forum Members
Posts: 15, Visits: 43
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

Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
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.

Jason Stevenson
Jason Stevenson
StrataFrame Beginner (23 reputation)StrataFrame Beginner (23 reputation)StrataFrame Beginner (23 reputation)StrataFrame Beginner (23 reputation)StrataFrame Beginner (23 reputation)StrataFrame Beginner (23 reputation)StrataFrame Beginner (23 reputation)StrataFrame Beginner (23 reputation)StrataFrame Beginner (23 reputation)
Group: Forum Members
Posts: 15, Visits: 43
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

Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Glad you got going.  Have a great weekend!
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search