Skip to content

Change target framework from net7.0 to net472 #729

@awa5114

Description

@awa5114

When I run dotnet script --info here's the output I get:

Version             : 1.4.0
Install location    : C:\Users\aa\.dotnet\tools\.store\dotnet-script\1.4.0\dotnet-script\1.4.0\tools\net7.0\any
Target framework    : net7.0
.NET Core version   : 7.0.5
Platform identifier : win
Runtime identifier  : win10-x64

I would like to run my script as using net472 instead of net472 as the target framework. Is this possible?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions