Wednesday, October 26, 2022

How to add assembly reference in visual studio - ASP.NET C# -Web.config

>In visual studio

> Right click on bin folder

> Click on Add reference

>Click on Assemblies

>Select System.DirectoryServices

and it will be added

In web.config below code will be added:-

 <system.web>

    <assemblies>

    <add assembly="System.DirectoryServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>

</assemblies>

 </system.web>

No comments:

Post a Comment