Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[API Proposal]: Since we can run source code in visual studio, why don't we make running from source code a thing #62424

Closed
Xyncgas opened this issue Dec 6, 2021 · 2 comments
Labels
api-suggestion Early API idea and discussion, it is NOT ready for implementation area-Meta untriaged New issue has not been triaged by the area owner

Comments

@Xyncgas
Copy link

Xyncgas commented Dec 6, 2021

Background and motivation

So c# can be like javascript / python, I just give people source codes, and they will download whatever package I used from nuget, and it just runs and people can change the source code so it's flexible.

And there isn't a way to run from source file like python but it's certainly possible I feel like.

It saves a lot trouble with configuring the program, for simple stuffs like changing the port my program is listening of course you can use a json config, but it's way more flexible if people can change stuffs in the source code

API Proposal

N/A

API Usage

dotnet run myapp.cs

Alternative Designs

No response

Risks

No response

@Xyncgas Xyncgas added the api-suggestion Early API idea and discussion, it is NOT ready for implementation label Dec 6, 2021
@dotnet-issue-labeler dotnet-issue-labeler bot added area-Meta untriaged New issue has not been triaged by the area owner labels Dec 6, 2021
@ghost
Copy link

ghost commented Dec 6, 2021

Tagging subscribers to this area: @dotnet/area-meta
See info in area-owners.md if you want to be subscribed.

Issue Details

Background and motivation

So c# can be like javascript / python, I just give people source codes, and they will download whatever package I used from nuget, and it just runs and people can change the source code so it's flexible.

And there isn't a way to run from source file like python but it's certainly possible I feel like.

It saves a lot trouble with configuring the program, for simple stuffs like changing the port my program is listening of course you can use a json config, but it's way more flexible if people can change stuffs in the source code

API Proposal

N/A

API Usage

dotnet run myapp.cs

Alternative Designs

No response

Risks

No response

Author: Xyncgas
Assignees: -
Labels:

api-suggestion, area-Meta, untriaged

Milestone: -

@ghost ghost locked as resolved and limited conversation to collaborators Jan 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
api-suggestion Early API idea and discussion, it is NOT ready for implementation area-Meta untriaged New issue has not been triaged by the area owner
Projects
None yet
Development

No branches or pull requests

2 participants