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

Application name should not be included in CLI args #2

Closed
damianh opened this issue Oct 11, 2018 · 1 comment
Closed

Application name should not be included in CLI args #2

damianh opened this issue Oct 11, 2018 · 1 comment

Comments

@damianh
Copy link

damianh commented Oct 11, 2018

Hi this looks like a promising tool, thanks for sharing.

Given this code:

using System;

namespace myapp
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine($"Args: {string.Join(";", args)}");
        }
    }
}

I get different output compared to just using dotnet run:

D:\dev\temp\myapp> dotnet run stuff
Args: stuff
D:\dev\temp\myapp> .\myapp.exe stuff
Args: myapp.exe;stuff
D:\dev\temp\myapp>

The expected result should not include myapp.exe.

@dgiagio
Copy link
Owner

dgiagio commented Oct 12, 2018

Thanks for this report. This has been fixed in release v0.1.1. Please follow the instructions on the README to download the updated packer.

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

No branches or pull requests

2 participants