model view controller - How can I install System.DirectoryServices for MVC Core 2? -


the new core 2 directory services described here https://docs.microsoft.com/en-gb/dotnet/api/system.directoryservices?view=netcore-2.0

i have visual studio 2017 , core 2 sdk installed can't reference newly added directory services, how install these?

can't find them in object browser. using pmc install-package system.directoryservices gives me v4.0

<itemgroup>     <packagereference include="system.directoryservices" version="4.0.0" /> </itemgroup> 

and following warning

package 'system.directoryservices 4.0.0' restored using '.netframework,version=v4.6.1' instead of project target framework '.netcoreapp,version=v2.0'. package may not compatible project.

using 'manage packages' shows unsupported version bmars.

any ideas?

thanks, andy

microsoft has myget feed has preview package of system.directoryservices should able work asp.net core 2.0

https://dotnet.myget.org/feed/dotnet-core/package/nuget/system.directoryservices


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -