>Deploying NetCoreApp3.1 Console Application to Linux

deskcheck1-0579 411 Reputation points
2022-01-26T15:02:36.583+00:00

Hi,

In my VS 2019 VB.Net application, I have a Application Arguments in the Project Properties as follows:

64 E:\model_run_test\ true all true

where 64 = number of cores
E:\ = Drive where directory is located
...etc.

Now I'm deploying my console application to a Linux CentOS7 cluster server.

I was given a relative directory path to upload my files: let's say:

/project/myprojectdirectory/dotnetcore

How do I modify my Application Arguments accordingly? I am only uploading the executable application to Linux.

Appreciate any help.

Developer technologies .NET .NET Runtime
Microsoft 365 and Office Skype for Business Linux
Developer technologies .NET .NET CLI
0 comments No comments
{count} votes

Accepted answer
  1. Bruce (SqlWork.com) 77,686 Reputation points Volunteer Moderator
    2022-01-26T16:21:13.453+00:00

    if that's the folder you want. on linux you use valid linux paths (there are no drive letters).

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 77,686 Reputation points Volunteer Moderator
    2022-01-26T15:29:45.08+00:00

    That is an absolute path, not relative. What folder do you want it be?


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.