Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

dotnet get directory of executable

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 :: usermanager change password without current password 
Csharp :: detecting a right click unity 
Csharp :: check last character of a string c# 
Csharp :: unity key pressed 
Csharp :: unity print to console 
Csharp :: c# create new thread 
Csharp :: how to move mouse in game c# 
Csharp :: C# previous method 
Csharp :: open website c# 
Csharp :: cannot convert string to long c# 
Csharp :: c# string to sha256 
Csharp :: string to enum c# 
Csharp :: c# log to console 
Csharp :: c# print out whole object 
Csharp :: unity get gameobject script is attached to 
Csharp :: mouselook script unity 
Csharp :: unity main texture not working 
Csharp :: unity empty action 
Csharp :: if get key down unity 
Csharp :: c# change colour of console 
Csharp :: get type of exception c# 
Csharp :: unity if or 
Csharp :: how to store more precise data then double c# 
Csharp :: countdown timer c# unity 
Csharp :: How To Get The Global Position of a GameObject in a Variable 
Csharp :: c# console writeline array 
Csharp :: c# thread sleep 
Csharp :: iactionresult 
Csharp :: c# loop 
Csharp :: unity set sprite transparency 
ADD CONTENT
Topic
Content
Source link
Name
7+7 =