To build
- Make sure you have VS2012 and VS2012 SDK installed
- Open the solution and build it.
- The result package can be found as
bin\Debug\EventStore.VSTools.vsix
orbin\Release\EventStore.VSTools.vsix
To install
- Build
EventStore.VSTools.vsix
- Double-click on this file.
- Agree to install.
- Restart Visual Studio
To create an EventStore projections project
- In Visual Studio
- Go to File -> New -> Project
- Find and select the EventStore -> Projections Project template
- Click OK.
To connect with the EventStore
- Right-click on the projections project node and open Properties
- Go to Configuration Properties -> EventStore Connection
- Type in the connection string field:
localhost:2113
(or whatever host name you have the EventStore on) - Click OK.
- Click Save All on the VS toolbar (just in case).
To run projection as a query
- Be sure that the Event Store connection is specified
- Right-click on the projection file you want to run as a query
- Click on the "Run as a Query" menu.
- The Query Tool window will pop up and will show you the result of the query. The result will be automatically updated until it the query is done.
To deploy all the projections into the EventStore
- Be sure that the Event Store connection is specified
- Right click on the projections project
- Click on the "Deploy to EventStore" menu
- You may watch what is happening in the Output window (the EventStore category)
To make it better
- Go to https://github.com/AlexeyRaga/esvstools
- Fork the repository
- Make it better
- Do a pull request
- Have your "Thank you very much" from me, my friend :)