VS2AI ExporterVS2AI Exporter is a Visual Studio extension that creates AI-readable project context packages from Visual Studio solutions, projects, folders, and selected files. It helps you prepare source code, project structure, export rules, AI instructions, and a concrete development task in a single Markdown context file that can be used with AI assistants such as ChatGPT, Claude, Gemini, DeepSeek, or other coding models. The goal is not just to export files. The goal is to give an AI assistant enough structured context to understand your project quickly and work on it safely. Why VS2AI?AI assistants work best when they receive:
VS2AI Exporter creates exactly that. Instead of manually copying files into a chat, VS2AI generates a structured Markdown export that is easier for AI tools to read, navigate, and reason about. Main Features
Selection Export SupportVS2AI Exporter can be used directly from the Visual Studio Solution Explorer context menu. You can export:
For multi-selection exports, VS2AI creates separate context files for the selected sources. This is especially useful when you want to give an AI assistant focused context for only the projects, folders, or files that are relevant to the current task. Single-file exports are handled as real single-file context exports. VS2AI does not silently export the whole containing folder when only one file is selected. Screenshots
AI Task SupportVS2AI lets you define a task that is written directly into the generated Markdown file. For example, the AI can receive a task to extend a nearly empty WPF project named Graph Visualizer. The requested changes were:
The AI assistant receives this task together with the actual project files, project structure, export rules, and file boundaries. AI Working RulesVS2AI can include configurable working rules in the Markdown export. Examples:
These rules help reduce typical AI coding mistakes and make the generated output safer and more predictable. Example: Graph VisualizerAs a real test, VS2AI was used on a nearly empty WPF project named Graph Visualizer. The extension generated a Markdown context file containing:
Using only this generated Markdown context, an AI assistant was able to create a complete .NET 9 WPF application with SkiaSharp rendering. The resulting application included:
The generated project compiled and ran without manual code changes. Output TypesVS2AI can create different export outputs depending on your workflow. Markdown ContextThe main export format. This is the recommended format when you want to give an AI assistant structured project context. Clean Source ZIPA cleaned source package without build output, IDE folders, temporary files, binaries, or generated export folders. Demo ZIPA runnable demo package, useful when you want to share the compiled result of a project. For Visual Studio extension projects, VS2AI can package the generated Typical Workflow
What VS2AI Is ForVS2AI is useful for:
Design GoalVS2AI is built around one core idea: Do not export as much data as possible. Export the most useful context possible. The generated Markdown is designed to help an AI assistant build a mental model of the project quickly and safely. Version 1.1.2This update improves selection-based exports from Visual Studio Solution Explorer. VS2AI Exporter now handles multi-selection more reliably and can create separate context files for selected projects, folders, and files. Single-file exports were also corrected so that only the selected file is exported, instead of the containing folder. Changes
This release focuses on making VS2AI Exporter more predictable when working with focused AI context exports. NotesVS2AI Exporter does not send your source code to any external service. It creates local export files on your machine. You decide which generated files you share and with which AI tool. |
