Click here to Skip to main content
15,886,362 members
Home / Discussions / C#
   

C#

 
Question.NET core, standart and desktop app (using VS2017) (trying to replace PCL) Pin
Super Lloyd8-Mar-17 4:04
Super Lloyd8-Mar-17 4:04 
QuestionPlotting serial port data using zedgraph (data vs time) Pin
Ram _Varman8-Mar-17 1:51
Ram _Varman8-Mar-17 1:51 
AnswerRe: Plotting serial port data using zedgraph (data vs time) Pin
Garth J Lancaster8-Mar-17 2:15
professionalGarth J Lancaster8-Mar-17 2:15 
GeneralRe: Plotting serial port data using zedgraph (data vs time) Pin
Ram _Varman8-Mar-17 2:17
Ram _Varman8-Mar-17 2:17 
AnswerRe: Plotting serial port data using zedgraph (data vs time) Pin
Gerry Schmitz8-Mar-17 6:39
mveGerry Schmitz8-Mar-17 6:39 
GeneralRe: Plotting serial port data using zedgraph (data vs time) Pin
Ram _Varman9-Mar-17 2:59
Ram _Varman9-Mar-17 2:59 
GeneralRe: Plotting serial port data using zedgraph (data vs time) Pin
Gerry Schmitz9-Mar-17 6:08
mveGerry Schmitz9-Mar-17 6:08 
Questionreferencing a dll available in a different folder from a Windows Service without copying the dll Pin
govindarajan k8-Mar-17 0:24
govindarajan k8-Mar-17 0:24 
In the C# Windows Service we develop, we need to refer a dll file from a different folder, for an API Method call of a method in the dll. This we want to accomplish by directly accessing the folder where the dll exists. Also, we do not want the dll to be copied into the folder where the Executable file of the Windows Service is available.

Example, we have a windows service called IdMAccountService,with it's Executable file IdMAccountService.exe available in D:\MetraTech\RMP\BIN folder . In that service we are referencing a dll file D:\MetraTech\RMP\Extensions\Account\Bin\MetraTech.Account.ClientProxies.dll for an API Method Call.

Is it possible for us to do it without copying the above dll to D:\MetraTech\RMP\BIN folder?

For this, I tried setting the ‘Copy Local’ as False in the reference to the dll and tried creating the Shortcut of the DLL file in the D:\MetraTech\RMP\BIN folder.
On both the cases, Service while executing gives the error as 'Error Could not load file or assembly 'MetraTech.Account.ClientProxies, Version=0.0.0.0, Culture=neutral, PublicKeyToken=a0f5c26dbec45a75' or one of its dependencies. The system cannot find the file specified.'.

I would like to know how I can make it work as expected? Please clarify.
Thanks & Regards,
Govindarajan K.

AnswerRe: referencing a dll available in a different folder from a Windows Service without copying the dll Pin
Pete O'Hanlon8-Mar-17 0:40
mvePete O'Hanlon8-Mar-17 0:40 
AnswerRe: referencing a dll available in a different folder from a Windows Service without copying the dll Pin
Alan N8-Mar-17 3:58
Alan N8-Mar-17 3:58 
GeneralRe: referencing a dll available in a different folder from a Windows Service without copying the dll Pin
govindarajan k9-Mar-17 0:27
govindarajan k9-Mar-17 0:27 
QuestionLINQ error string matching? Pin
Member 28240516-Mar-17 4:41
Member 28240516-Mar-17 4:41 
AnswerRe: LINQ error string matching? Pin
Richard Deeming6-Mar-17 5:36
mveRichard Deeming6-Mar-17 5:36 
GeneralRe: LINQ error string matching? Pin
Member 28240516-Mar-17 20:28
Member 28240516-Mar-17 20:28 
QuestionWorking with .resx Files / C#, WinForms [Closed] Pin
HobbyProggy5-Mar-17 21:44
professionalHobbyProggy5-Mar-17 21:44 
AnswerRe: Working with .resx Files / C#, WinForms Pin
Gerry Schmitz6-Mar-17 9:42
mveGerry Schmitz6-Mar-17 9:42 
GeneralRe: Working with .resx Files / C#, WinForms Pin
HobbyProggy6-Mar-17 19:27
professionalHobbyProggy6-Mar-17 19:27 
GeneralRe: Working with .resx Files / C#, WinForms Pin
Gerry Schmitz6-Mar-17 20:08
mveGerry Schmitz6-Mar-17 20:08 
GeneralRe: Working with .resx Files / C#, WinForms Pin
HobbyProggy6-Mar-17 20:24
professionalHobbyProggy6-Mar-17 20:24 
GeneralRe: Working with .resx Files / C#, WinForms Pin
Gerry Schmitz6-Mar-17 20:41
mveGerry Schmitz6-Mar-17 20:41 
GeneralRe: Working with .resx Files / C#, WinForms Pin
HobbyProggy6-Mar-17 21:45
professionalHobbyProggy6-Mar-17 21:45 
GeneralRe: Working with .resx Files / C#, WinForms Pin
Gerry Schmitz6-Mar-17 22:02
mveGerry Schmitz6-Mar-17 22:02 
GeneralRe: Working with .resx Files / C#, WinForms Pin
HobbyProggy6-Mar-17 22:13
professionalHobbyProggy6-Mar-17 22:13 
GeneralRe: Working with .resx Files / C#, WinForms Pin
Gerry Schmitz6-Mar-17 22:30
mveGerry Schmitz6-Mar-17 22:30 
Questionwebrequest sent twice Pin
Forest44734-Mar-17 22:32
Forest44734-Mar-17 22:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.