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

add help, directory, identity args #4

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

BakeryD
Copy link

@BakeryD BakeryD commented Oct 4, 2020

~~Warning: Now requires UAC consent to run~~

I frequently am running a project that requires IIS debugging and VS makes me restart the app to use IIS which is kind of antithetical to the concept of pulling up your dev environment with a few terminal commands. Hope it's not too much bloat

@djhmateer
Copy link
Owner

thanks for the PR! Give me a bit of time to have a play, please.

@djhmateer
Copy link
Owner

I like that you've solved the problem of needing Admin mode (when debugging IIS) and have it working on your machine. I worked on projects like this too. Nice one.

Great work on the switches and the manifests.

I wonder if another solution would be to have a separate executable for running in admin mode eg:

d.exe - runs in normal mode
da.exe - runs in admin mode

This would alleviate the popup with requiring UAC consent when don't need to run in admin mode (unless I've missed something in your code). There is probably a better way - haven't dug into it yet.

Do you mind if I don't merge this in just yet. The reason is that I'd like to simplify the codebase and use some of the C#9 features which are coming to GA next month.

Thanks again! I'll ping you an update here when I start working on this :-)

@BakeryD
Copy link
Author

BakeryD commented Oct 11, 2020

Sounds great!

@djhmateer
Copy link
Owner

I've been using C#9 Top Level Programs.. https://davemateer.com/2020/11/11/c-sharp-9 have you tried it yet?

I will have a look at this code soon..

as another spanner, I've recently started using Rider and want something similar to this :-)

@djhmateer
Copy link
Owner

So I've updated to .NET 6 which has made the code much simpler, and also for VS 2022. Any thoughts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants