C# compile problem

I follow everything and I have this :

I don’t know what to do

Up please, I need help. This will be good cause I want to make extra bar for water and food.

What? You don’t need to build the client in order to make C# resources, all you need is the NuGet package.

Last step :

Just remove the post-build command.

Right-click on your project->Properties->Build (or something like that)

Thanks but still don’t work :confused:
Warning still here

ah yes, because there is missing dependancies. you have to find or download nativeui dll. you can find it on : https://github.com/Guad/NativeUI/releases/

Thanks but I know it, I import Nativeui.dll to my project but still don’t work too :confused: (It’s not really my project, I tried to recompile FRFuel. Should I try with a basic project ?

Comment out the adhesive module from the config.lua file in the code/components subdirectory.

What are you talking about ?

Your premake error is because there is no adhesive directory. Look in the file I referenced and remove that line or put – in front of it to comment it out. Rerun your premake command and it will build your VS solution and project files.

With that said, you’re not going to be able to do much with them. The FiveM source that you’re trying to build is a WIP. It’s not what the current compiled server and client binaries are built on.

for using nativeui.dll with your project and make it run properly , you need :slight_smile:

  1. to get the good version 1.7 of nativeui you can get here : https://github.com/citizenfx/NativeUI

build it and then don’t forget to rename it as nativeui.net.dll ( otherwise fivem won’t see it)
put the nativeui.net.dll in your script folder

and last thing to do is to be sure you have call the nativeui before your script in the file __resources

if your code is correct and your follow this points , everything should work for you