Are .NET Core Console Apps Supported?

ssandif's Avatar

ssandif

17 Jan, 2018 08:32 PM

I've been trying both the dll and standalone exe forms of my .NET core console app, to no success. Is there a recommended way to run .NET core console apps? If not, I might be able to switch it to .NET Framework, which I know works, but I figured I would check first.

  1. Support Staff 1 Posted by rune on 24 Jan, 2018 06:14 AM

    rune's Avatar

    Hi,

    Standalone .NET Core console apps should actually work! What issues did you see? I noticed that the app associated with your account has still been deployed and has a background worker, so perhaps you figured this out in the meantime?

    Best,
    Rune

  2. 2 Posted by ssandif on 25 Jan, 2018 12:29 AM

    ssandif's Avatar

    Just a few minutes ago I actually managed to resolve the issue. Turned out I needed to add "<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>" to my .csproj file in order for it to copy over the NuGet package DLLs my app needed. Thanks for your response, seeing that core console apps should work made me take the second look at the issue that I needed to get it fixed.

    Best regards,
    ssandif

  3. ssandif closed this discussion on 25 Jan, 2018 12:29 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac