Skip to content

Is it possible to reference System packages without using nuget? #499

@Metrowerks

Description

@Metrowerks
  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions