Error while developing a Windows Service

  • Thread starter Thread starter Ankur040979
  • Start date Start date
A

Ankur040979

Guest
Hi SIr\Madam,

While revisiting a socket server code (service) that I wrote way back in 2012, there is a need to implement a socket server again. I am trying to reuse the same code.

Am stuck in a problem, which is as follows:

Though the code is getting built successfully. But I feel I might get into problem in maintaining this code. I am using VS 2017 now.
--------------------------------------------------------------------------------------------------------------------

Method 'System.Configuration.Install.Installer.GetConfigurationValue' not found.


Instances of this error (1)

1. Hide Call Stack

at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
at Microsoft.VisualStudio.Shell.Design.VsTargetFrameworkType.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParameters)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeExpression(IDesignerSerializationManager manager, String name, CodeExpression expression)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializePropertyAssignStatement(IDesignerSerializationManager manager, CodeAssignStatement statement, CodePropertyReferenceExpression propertyReferenceEx, Boolean reportError)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeAssignStatement(IDesignerSerializationManager manager, CodeAssignStatement statement)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeStatement(IDesignerSerializationManager manager, CodeStatement statement)

---------------------------------------------------------------------------------------------------------------------------------------------------------------

Continue reading...
 
Back
Top