Lore for Visual StudioDownload this extension from the Visual Studio Marketplace or get the latest CI build from Open VSIX Gallery. Bring Lore source control directly into Visual Studio. Onboard a solution or folder, see file status at a glance, and commit - all without leaving the IDE or dropping to a terminal. Add a solution to LoreOpen the solution or folder, then click the Add to Source Control button on
the Visual Studio status bar (bottom-right) and choose Lore. Choose Local repository (the default)
to create a fully offline repository where all content stays on your machine, so
you can branch, commit, and switch branches without a server. Choose Create on
a Lore server and enter a server URL (e.g.
Clone an existing repositoryRight-click the solution node and choose Lore > Clone Lore Repository....
Paste a repository URL (e.g.
See status at a glanceOnce a solution is controlled, Visual Studio shows Lore status glyphs next to files in Solution Explorer. Saving a document refreshes its glyph automatically, and you can force a refresh any time with the Refresh button in the Lore Changes window.
Right-click a file under Lore for Undo Changes (revert edits to the
committed version), Compare with Unmodified (diff against the committed
version), and Ignore and Untrack Item (adds it to Review and commit in the Lore Changes windowChoose Lore > Commit to Lore... to open a dedicated panel, similar to the built-in Git Changes window.
The window shows the current branch with incoming/outgoing indicators and arranges every changed file in a folder tree back to the repository root, each file showing a status badge (M, A, D, R, C) on the right. Renamed or moved files show an R badge, and hovering it reveals the path the file was moved from. Renames performed in Solution Explorer are tracked automatically. Changes made outside Visual Studio are detected through Visual Studio's shared file-change service and automatically refresh the window and editor status glyphs. From here you can:
If Pull falls back to local history because no remote is configured or the remote branch cannot be queried, the extension displays a warning and records it in the Output window. Local synchronization does not mean remote changes were fetched. Lock non-mergeable filesIn Solution Explorer, right-click one or more files and choose Lore > Lock before editing binary assets. Choose Lore > Unlock when you are finished. Files must belong to the same repository and already exist in the committed or staged snapshot. Locking does not stage, commit, or change file contents. The Lore Changes window offers the same commands on a changed file and in its Locks list. The list shows all locks on the current branch, including unchanged files, with the server-reported owner. Changed rows display the owner alongside their normal M/A/D/R/C status; unchanged locked files are never added to the commit selection. Lock/Unlock targets the right-clicked file, independent of the checkboxes used for committing. The native context menu also supports the Menu key and Shift+F10. Locks are refreshed on workspace/branch changes, explicit Refresh, and after Lock/Unlock. Document saves reuse the last lock result instead of requiring a server round trip for every edit. Lock status requires a reachable remote; failures are shown as Lock status unavailable, not as an empty successful query. Lock/Unlock uses the existing sign-in flow when the server requests authentication. Ownership comes from the authenticated server session, not the commit-author identity setting. The extension does not request force release or supply an alternate owner; server permissions still govern whether a lock can be released. Locks are scoped to a branch. Manage branchesChoose Lore > Manage Branches... on the solution or folder, use the branch management button on the Lore Changes toolbar, or open View > Other Windows > Manage Branches.... The Lore Branches window provides:
Use Refresh branches after changes made outside this window. Server operations use the existing sign-in flow and surface errors rather than reporting empty or successful results when the backend fails. Browse revision historyChoose Lore > View History... to open the Lore History tool window - a read-only log of the repository bound to the open solution or folder. Cached history works offline; missing older revisions in a fresh clone are fetched from the remote as needed. Browsing history never changes your working tree. The window loads the newest revisions first, a page at a time, so a repository with thousands of revisions stays responsive. Each row shows the first line of the commit message, the short revision hash, the author, and the local commit time; hover a row to see the full message, revision number, branch, and date. When more revisions are available, a Load more button appends the next page.
The window follows the open workspace: switching solutions or folders re-resolves the repository automatically. When the current solution or folder is not under Lore source control, the window says so. The log does not reload every time the window regains focus. It refreshes on its own after a Lore operation performed in the extension changes history - a commit, a pull, or a branch switch, create, or merge - and when the open workspace changes. To reload it yourself at any time, click Refresh on the Lore History toolbar. Sign in to a serverAuthentication happens automatically, only when it is needed. When a clone, push, pull, or server-backed create fails because the Lore server requires sign-in (or a saved session has expired), Lore asks whether you want to sign in. Confirm and your default browser opens to complete sign-in; when it finishes, the original operation is retried. The session is stored by Lore, so later operations against the same server do not prompt again. There is no separate sign-in command - just run the operation you want, the same way Git prompts through its credential manager. The extension bundles the LoreVcs 0.10.0 SDK and its matching Windows native
runtime; updating the separately installed Lore CLI does not update this payload.
Lore 0.9 changed the credential store without migrating older sessions, so users
upgrading from the previous extension may need to sign in again. Permission
denials and connection failures are reported without repeatedly prompting for
sign-in; only Lore's Work with branchesClick the branch button (showing the current branch name) on the Lore Changes toolbar to open the branch picker. From there you can:
Switching and merging are offline-first: when the target branch's content is already cached locally they complete without a network round trip. Lore's local store is an LRU cache, so content can be evicted; if a switch or merge needs content that is no longer cached, it is fetched from the Lore server. When that content is missing and the server is unreachable, the operation reports a clear message asking you to start (or reconnect to) your Lore server and try again. Remote-only branches also retry online when their names are not yet cached. SettingsConfigure everything under Tools > Options > Lore:
Run the server integration testsThe server functional tests run without opening Visual Studio. They start a disposable Lore server bound only to loopback, with temporary storage and automatically selected ports, then exercise the actual brokered client, named pipe transport, worker, and native SDK. They verify server-backed create, clone, commit, push, pull, revision hashes, and file contents in both directions. The tests cover an HTTP endpoint on an independent port and HTTP disabled entirely, uncached history and historical diffs, then stop the server and verify that a connection timeout reports failure without requesting sign-in or altering files. They also verify branch-scoped acquire/query/status/release across two working copies, repeated acquisition, multiple files, rejected requests, and lock-query failure when the server is stopped. The unauthenticated local server uses a shared anonymous lock owner, so cross-user contention and unauthorized release require an authenticated server and are not claimed by these tests. Branch tests cover uncached remote comparisons, branch metadata, remote-only switch/merge, protection and rejected archive from a second working copy, unprotect/archive and fresh-clone verification, and a local reset that preserves the remote tip. They also verify that an unavailable server cannot report a successful protection change. Build the solution first. Download and extract the Windows x64 Lore server 0.10.1 release, then run in PowerShell, substituting the path to the extracted executable:
No existing repositories or installed Lore executables are changed. The tests
stop their server and delete their temporary repositories afterward. Without
Get involvedFound a bug? Have an idea? Head to the issue tracker - pull requests are always welcome. |




