1. Home
  2. Docs
  3. SmartContracts
  4. Solidity Guides
  5. Visual Studio Setup Guide
  6. Visual Studio – Solidity Extension

Visual Studio – Solidity Extension

Get started using blockchain via Solidity and Smart Contracts

ConsenSys

This extension is geared to enable Solidity smart contract development in the Visual Studio IDE.

Developers, both familiar and new to with the Visual Studio IDE, will find this extension useful to help start building decentralized application on Ethereum.

V1.1.4.0 – Release Notes

  • Creates project scaffolding with smart contract as well as multi-project application containing both ASP.Net and NodeJS.
  • Supports context sensitive menus for compilation and deployment of smart contracts.
  • Intellisense support – This includes a few features
    • Auto completion – Auto completion with brackets (open/close) for the most used keywords
      • Contract
      • Function
      • Import
      • Struct
      • Mapping
      • Address
      • Constant
      • Returns
      • Return
      • If/Else
    • Bracket matching – Includes support for standard bracket and bracing matching
    • Keyword highlighting – This includes support to click on a word and highlight that word and the same word in the same file
  • New packaging for templates
  • New templates for decentralized application
  • Smart Contract Project – Used for core smart contract development
  • Decentralized ASP.Net Web Application – Contains both a smart contract application and an ASP.Net MVC web application
  • Decentralized Node Web Application – Contains both a smart contract application and a NodeJS web application.
  • Bug Fixes
    • Update to fix blockapps-bloc integration issues
    • Removed README.html that launched at start
    • Fixed contract template, which failed to compile because of binary chars.
    • Fixed bug where only one contract could be deployed during session
    • Better error handling for use when bloc is not running.
    • Fixed bug where binary output from compilation in subfolders failed
    • Updated to fix compatibility with the new blockapps-bloc interfaces (REST)
  • Compilation generates both abi and binary files in the project ‘bin’ folder that are needed for deployment
  • The deploy option is tailored for the BlockApps STRATO instance
  • The deploy option automatically launches a self generated UI that can be used to test the smart contract
  • Generates automatic key upon first use and the default settings can be viewed on the project properties

Dependencies (for complete walkthroughs see https://blogs.msdn.microsoft.com/caleteet/ )

  1. A remote or local instance of key server (Check README included in the project for install instructions)
  2. A remote or local instance of BlockApps STRATO (Check README in the project for install instructions)

Resources

Was this article helpful to you? Yes No

How can we help?

Leave a Reply

Your email address will not be published. Required fields are marked *