Skip to content
| Marketplace
Sign in
Visual Studio>Tools>G2 Extension
G2 Extension

G2 Extension

G2 Dev Team

|
70 installs
| (0) | Free
Convenience tools for G2 project developers.
Download

The G2 Extension is designed to allow G2 project developers to enhance their Visual Studio IDE and make tasks easier.

Error Logs

No more digging around in File Explorer to find error logs! Now just click on Extensions > G2 > Open Error Log from within Visual Studio.

ErrorLog.png

Including Project Files

When adding or renaming UI files from within VS Code, a developer must switch back to Visual Studio and manually include those files in the G2.Web project so they can be included in the build.

Rather than dig through the folder hierarchy to include new files, it is now possible to simply right click on the module you were working in (from within the Visual Studio Solution Explorer) and select the Include all files in project command. This will add any new files to the G2.Web.csproj file.

IncludeNewFiles.png

This command will also remove any duplicate or missing files in that folder from the G2.Web.csproj file to help keep it clean and up to date.

Map Controllers to Redux

Gone are the days of manually writing four boilerplate redux files every time you want to add a new page to the app! Now it's possible to automatically generate the entire Redux folder for a page in just a few clicks!

First, select any controller files you want to map to redux (Use CTRL + Click to select multiple files in the VS Solution Explorer). NOTE: These must be MVC controller files that use attribute routing

SelectedControllers.png

Next, select the target/destination folder you want to map the controllers into. This will be where the new Redux folder is created automatically. Remember to use CTRL + Click when selecting this folder otherwise it will unselect your selected controller files!

Finally, right click the target folder and choose the Map Controllers to Redux option from the context menu.

SelectedTargetFolder.png

Congratulations! If all went well you should get a success message and be able to see the new Redux folder under your target folder.

NewReduxFolder.png

If something went wrong, make sure you:

  • Have selected at least 1 MVC controller that uses attribute routing
  • Have selected a target folder to map the files into. This should be the LAST thing you select
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft