Clientside CSharp FAQ: Difference between revisions

From RAGE Multiplayer Wiki
(some tip for autocompletion)
m (oops wrong dll file name)
 
Line 6: Line 6:
No you cannot. The '''cs_packages''' folder will only compile '''.cs''' files
No you cannot. The '''cs_packages''' folder will only compile '''.cs''' files


However, you may reference client Bootstrapper.dll (in dotnet folder) to get auto completion and error-checking in Visual Studio/Code. Even if you get warnings, you will not compile the C# project anyway, you can still just save the .cs files.}}
However, you may reference client '''rage-sharp.dll''' (in dotnet folder) to get auto completion and error-checking in Visual Studio/Code. Even if you get warnings, you will not compile the C# project anyway, you can still just save the .cs files.}}


{{FAQContainer|
{{FAQContainer|
Is it possible to use RAGE serverside JS with clientside C#|
Is it possible to use RAGE serverside JS with clientside C#|
Yes}}
Yes}}

Latest revision as of 08:58, 13 May 2019


Can I reference DLLs

No you cannot. The cs_packages folder will only compile .cs files

However, you may reference client rage-sharp.dll (in dotnet folder) to get auto completion and error-checking in Visual Studio/Code. Even if you get warnings, you will not compile the C# project anyway, you can still just save the .cs files.


Is it possible to use RAGE serverside JS with clientside C#

Yes