Skip to content

9-k/ESAPIUtilities

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESAPIUtilities

A C# Class library to contain random reuseable methods and such for the purposes of ESAPI scripting. Include this as a git submodule to use it in other projects! Here's the process:

  1. If your main project is a git repo, go to powershell and call git submodule add https://github.com/9-k/ESAPIUtilities.
  2. If it's not a git repo, do git clone https:/github.com/9-k/ESAPIUtilities.
  3. Right click the solution file, go to Add > Existing Project and navigate to the ESAPIUtilities .csproj file. Select it.
  4. In your main project, right click "References" > Add reference > Projects > ESAPIUtilities.
  5. IF YOU ARE BUILDING A .BIN BINARY FILE: In your main project, also Manage NuGet projects > download ILMerge (3.0.41 is known to work) and ILMerge.MSBuild.Task (1.0.7). Yes, ILMerge is deprecated, but I'm on Eclipse v16, and .NET Framework 4.6.2 is super deprecated too... so it cancels out, right? Now when building your project, everything will get rolled up into a nice single .esapi.dll! Now, if your instance of Eclipse can handle referencing external .dlls and stuff, then the ILMerge stuff isn't necessary - however, for some reason, my instance can't handle it (I think I'm giving relative paths somewhere in the build files over a citrix instance)... so it's just easier to bundle all the .dll's together and call it a day. Plus, it runs a little faster because everything seems to be inlined or something. I've heard of ILMerge breaking projects sometimes, but I haven't seen that issue yet.
  6. I don't think this works with a plugin script (bare .cs file).
  7. If you're making a .exe using this, you don't need ILMerge! Just build - it'll roll everything into the .exe.

About

Junk drawer of reusable code for use with ESAPI.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages