.NETCORE 3.1: VS 2019 Standalone Executable Doesn't Run

deskcheck1-0579 411 Reputation points
2021-12-12T11:00:37.38+00:00

Hi,

I've published a .netcore3.1 console application to a shared folder in a network. It published without any error. But when I try to run the published executable, the console just blinks and then nothing.

What is going on? The publication settings are:

Target location: \server\shared folder
Configuration: Release |Any CPU
Target Framework: .netcoreapp3.1
Target Runtime: win-x-64
Deployment Mode: Self-contained
Published option: Produce single file

What else have I missed? Appreciate any response.

.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
328 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,141 questions
{count} votes