How can I get the current Project Path within the c# build files?
I'm trying to add some compiler definitions that require I get the project directory. More specifically I'm getting the git commit count for my project.
I scoured through some source files to try and find some kind of function or variable to get this information and I found GetUProjectPath. Unfortunately when I try to use it I get this error:
I'm using it in my ModuleRules constructor for my project inside <Project Name>.Build.cs. I tried using
Any insight would be appreciated!
Edit: Just to cover my basics I also did
I have pretty much never used C# but my impression is that due to
Found a solution to my problem!
There is a variable called
edit: To provide an example I used this in my projects ModuleRules.
Follow this question
Once you sign in you will be able to subscribe for any updates here