-
If I use nuget reference, I wouldn't be able to run my script with csi:
#r "nuget: System.DirectoryServices"
It will give me error
"error CS0006: Metadata file 'nuget: System.DirectoryServices' could not be found"
-
If I don't use nuget reference, my csx file will work with csi but it won't work with dotnet-script:
#r "System.DirectoryServices"
It will give me error
error CS0006: Metadata file 'System.DirectoryServices.AccountManagement' could not be found
Would it be possible to make my references consistent and work for both csi and dotnet-script? For example, not using nuget with #r for System packages like System.DirectoryServices