×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Simphony 19.3. Update Extension Application DLL without uploading to EMC.
2

Simphony 19.3. Update Extension Application DLL without uploading to EMC.

Simphony 19.3. Update Extension Application DLL without uploading to EMC.

(OP)
Hi,

I'm currently developing an extension application and whenever I update the DLL I have to first upload to EMC, then reload WS database then restart WS. It's a very long process.

However if I replace the DLL directly in the Extension Applications folder when SH starts it will overwrite that with the older DLL. How can I make it load from the newly replaced DLL?

RE: Simphony 19.3. Update Extension Application DLL without uploading to EMC.

Loading DLL cannot be controlled.
I can tell you a quick method: start SH, enter the login page, close it using Task Manager, and then start SH to load the latest version.
This is my practice at Simphony19.
If you are Simphony18, you need to delete the Application Extension folder before starting. This way, starting twice in a row can also quickly load.
I hope it will be helpful for your

https://github.com/simphonydeveloper/microsblogs

RE: Simphony 19.3. Update Extension Application DLL without uploading to EMC.

(OP)
That seems to work thanks!

RE: Simphony 19.3. Update Extension Application DLL without uploading to EMC.

You can use MicrosCal to deploy you DLL and check the version is correct as well.

RE: Simphony 19.3. Update Extension Application DLL without uploading to EMC.

- install Simpony and visual studio on a VM

- make a post build event in Visual Studio that copies the project output to the ext app dir and marks it as read only
if $(ConfigurationName) == Debug attrib -r "C:\Micros\Simphony\WebServer\wwwroot\EGateway\Handlers\ExtensionApplications\$(ProjectName)\$(TargetFileName)"
if $(ConfigurationName) == Debug copy "$(TargetFileName)" "C:\Micros\Simphony\WebServer\wwwroot\EGateway\Handlers\ExtensionApplications\$(ProjectName)\$(TargetFileName)"
if $(ConfigurationName) == Debug attrib +r "C:\Micros\Simphony\WebServer\wwwroot\EGateway\Handlers\ExtensionApplications\$(ProjectName)\$(TargetFileName)"
if $(ConfigurationName) == Debug copy "$(TargetName).pdb" "C:\Micros\Simphony\WebServer\wwwroot\EGateway\Handlers\ExtensionApplications\$(ProjectName)\$(TargetName).pdb"

- set visual studio to start external program
C:\Micros\Simphony\WebServer\ServiceHost.exe

- set breakpoint and start project from visual studio


This way you can start and stop Simphony with visual studio and dont need to worry about the dll being up to date.

Ext app still needs to be registered in EMC, with a disk file name for the dll

/Martin

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close