Skip to content

Changing Target Framework #672

Open
Open
@DanJBower

Description

@DanJBower

Is there any way to change the target framework for a dotnet-script file?

Currently when I run one of the scripts I've written with dotnet-script MyFile.csx, I think it runs targeting the framework net6.0 but it currently throws an error as the NuGet I'm trying to use requires it to target net6.0-windows. It'd be super helpful to have support for switching to that target

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