:title: Интеграция с IDE (Rider/Visual Studio)
:description: Export/Live Import
:published: true
 2025-10-19T20:22:00.000Z
:tags:
:editor: markdown
:dateCreated: 2025-10-19T16:35:51.518Z
:---
One of the main characteristics of any automation is that over time it tends to grow and cover more and more ground.
At first you want a script to just press a single button for you. Then you add a couple of conditions for that button. A day later — another button. Blink, and your script is already 1,000+ lines long.
The built‑in EyeAuras script editor is primarily designed for small projects — a simple clicker, a lightweight bot, some helper utility, and of course for using application scripts in behavior trees and macros.
At some point its capabilities just aren’t enough — you want to organize classes into folders, navigate code with smart search, write unit tests, and use all the other joys of modern development offered by IDEs like JetBrains Rider and Visual Studio.
But those products have hundreds or thousands of people behind them — EyeAuras does not. The conclusion is simple: EyeAuras will never catch up with full IDEs, so we need a different solution.
And the solution is: Export/Import/Live Import.
The idea is simple — your C# script is exported as a full C# project that you can even build in an IDE. You then work on it using the modern tools you prefer, and when you’re done — import the project back into EyeAuras, getting the best of both worlds. You still have access to all EyeAuras SDK features like image search, input simulation, memory API, and creating custom interfaces with Blazor and ImGui, and more.
In December 2024 a prototype of export appeared and throughout the year it has been refined and expanded.
As of now, the largest bot implemented with this approach already exceeds 23,000 lines and uses practically everything developed for EyeAuras over the years. So at this stage the feature is stable enough and recommended for real projects.

We’ll use Hello, World — there’s no fundamental difference, auras behave roughly the same.
At the top of a C# Action you’ll find a group of buttons responsible for IDE integration:


Exports your script and all its dependencies as a .sln and .csproj. Along the way it configures a link to the EyeAuras NuGet server (for pulling dependencies and SDK), imports, and other necessary bits.
Important! The target folder is cleaned on export, so do not export into a folder with important data. By default EyeAuras suggests a standard folder — it’s recommended to keep it.
After export you’ll get a folder with a pseudo‑random name and several files inside. That’s your project, which you can then open in the IDE.

Note that the resulting project should build successfully — Export doesn’t just prepare text files, it produces a fully fledged C# project with all needed dependencies. If the script worked in EyeAuras, it is expected to build in the IDE. If it doesn’t — press Report a Problem in EyeAuras and we’ll figure it out. Don’t forget to tick Auras.zip so your script is included in the report.

Almost all standard IDE features are available — syntax highlighting, code navigation, file creation, and more. Debugging is the exception — it’s currently in beta and will arrive either late 2025 or in 2026.
What definitely works:
What does NOT work:

So, you’ve worked on the code and are ready to pull the changes back into EyeAuras and run the script.
There are several options. The simplest is to click Import and select the .sln file.
EyeAuras will load that solution, extract everything it needs, and update the script. Note that during synchronization all your local changes (made inside EyeAuras) after export will be lost — EyeAuras will load your code from the project.
You can then run the script as usual — the code is already updated.

We could stop here — we have export and import, which is already enough to develop. But in development one of the most valuable things is the turnaround time — how long it takes from changing the code to seeing it in the product. The shorter the turnaround, the faster the development and testing, and the more time you can spend improving the product instead of fiddling with tools.
This is where EyeAuras offers a solution that can be even faster than modern IDEs — Live Import.

If you’re familiar with the much‑suffered Hot Reload in Visual Studio, the following will feel familiar. Unfortunately, even 3 years later, it still feels like “works in 10% of cases”, but the idea is great — the developer shouldn’t have to restart/rebuild the project and should edit code live, seeing changes immediately.
Live Import sits somewhere between the classic Fix — Rebuild — Run — Repeat and Hot Reload:
You still need to Stop/Start the script from the EyeAuras UI, but it takes only milliseconds because everything is already prepared. The main advantage over Hot Reload is that it works and noticeably speeds up development. Usually just a few seconds pass between changing code and seeing it on screen — mostly spent restarting the script. If only we could avoid even that…
EyeAuras has several ways to run scripts, and one of them is C# Overlay. You can use this overlay to create a custom UI, show notifications, or render other information on the screen. Under the hood it’s a script that uses Blazor Windows for rendering.

Its key difference from C# Action is that the window you see on screen is “live”. Any changes you make to the script are immediately reflected on screen.

You can export an overlay just like a regular script and then enable Live Import — any changes you make in the IDE will be pulled in real time and displayed in the overlay window.


This button combines Export + Live Import to minimize clicks. When you press it, EyeAuras will first export the project to the folder you specify, then launch the IDE (whichever is registered to open .sln files by default — Rider/Visual Studio/etc.), and immediately start Live Import.
So within a few seconds you can start making changes and see them on screen.