You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to send an email using Razor Template on my c# WinForm. It works when I run the program locally, but once I place it on network share it gives me this error:
System.IO.DirectoryNotFoundException: Could not find a part of the path '\SERVER\DIRECTORY1\DIRECTORY1\PROGRAMDIRECTORY\FluentEmail.Core.dll'.
The thing is, that the program and all the dll are actually in \SERVER\DIRECTORY1\PROGRAMDIRECTORY.
For some reason, DIRECTORY1 is being duplicated when trying to find that dll. Anyone has any idea why this happens?
If I remove the Email.DefaultRenderer = new RazorRenderer(); from the code and use a simple .Body for the email it sends without problems.
Any help would be appreciated.
Thanks
The text was updated successfully, but these errors were encountered:
Hello,
I'm trying to send an email using Razor Template on my c# WinForm. It works when I run the program locally, but once I place it on network share it gives me this error:
System.IO.DirectoryNotFoundException: Could not find a part of the path '\SERVER\DIRECTORY1\DIRECTORY1\PROGRAMDIRECTORY\FluentEmail.Core.dll'.
The thing is, that the program and all the dll are actually in \SERVER\DIRECTORY1\PROGRAMDIRECTORY.
For some reason, DIRECTORY1 is being duplicated when trying to find that dll. Anyone has any idea why this happens?
If I remove the Email.DefaultRenderer = new RazorRenderer(); from the code and use a simple .Body for the email it sends without problems.
Any help would be appreciated.
Thanks
The text was updated successfully, but these errors were encountered: