Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

dotnet executable directory

var exeFile = System.Reflection.Assembly.GetExecutingAssembly().Location;
var exeDirectory = System.IO.Path.GetDirectoryName(exeFile);

Console.WriteLine($"Executable file: {exeFile}");
Console.WriteLine($"Executable directoy: {exeDirectory}");
Comment

PREVIOUS NEXT
Code Example
Csharp :: dotnet executable directory 
Csharp :: unity distance between 2 vectors 2d 
Csharp :: c# get last character of string 
Csharp :: how to get the directory of the project in c# 
Csharp :: c# put string to clipboard 
Csharp :: unity color set alpha 
Csharp :: ping with c# 
Csharp :: string to int c# 
Csharp :: get request url in asp.net core 
Csharp :: c# how to delete a file 
Csharp :: unity add explosion force 
Csharp :: c# length 2d array 
Csharp :: get path c# 
Csharp :: unity android back button 
Csharp :: c# format decimal as currency 
Csharp :: stop process c# 
Csharp :: Unity rotate player to mouse point slowly 
Csharp :: how to write blank lines in c#.net 
Csharp :: keyboard input unity 
Csharp :: pass parameter to thread c# 
Csharp :: c# int to byte array 
Csharp :: c# windows application get current path 
Csharp :: discord bot time C# 
Csharp :: unity get velocity of gameobject 
Csharp :: C# multiple button click event to password textbox 
Csharp :: c# datagridview color header 
Csharp :: c# unity camera follow 
Csharp :: c#image to bytes 
Csharp :: c# get path without filename 
Csharp :: c# writteline 
ADD CONTENT
Topic
Content
Source link
Name
8+6 =