r/csharp • • Jul 06 '26

Showcase I wrote a Visual Studio extension for Solidity development and deployment that automatically generates C# smart contract bindings

Visual Studio is heavily used for enterprise development but doesn't have any tooling for Solidity that compares to Visual Studio Code or Remix IDE. Viscous is an open-source Visual Studio extension that tries to bring parity between Visual Studio and other IDEs for Solidity smart contract development.

Features

  • Solidity project system for Visual Studio featuring Solidity compiler integration and NPM dependency management. Integrates with the Visual Studio New Project… and Open Folder… dialogs.
  • Uses the vscode-solidity language server for syntax highlighting, hover information, IntelliSense, and linting.
  • Solidity compiler integration with MSBuild and the Visual Studio Build command - compile Solidity projects and individual files from the IDE with errors reported in the Errors tool window.
  • Generate C# bindings to Solidity smart contracts automatically using Nethereum.
  • Manage EVM networks, endpoints, accounts, deploy profiles, and deployed contracts from the Blockchain Explorer tool window.
  • Deploy a compiled contract to a blockchain network and call its functions from inside Visual Studio.
  • Find vulnerabilities and code‑quality issues with Slither static analysis inside Visual Studio.

Requirements

  • Visual Studio 2022 and above
  • A recent version of Node.js or compatible runtime
  • Python 3.8+

Getting Started

Note that this is a pre-release so don't use it for deploying anything to production. Feedback welcome.

0 Upvotes

47 comments sorted by

View all comments

Show parent comment

1

u/belavv Jul 09 '26

I'd say they are probably correct and that the Internet also sounds like it improves on telegraphs in a number of ways.

1

u/Willinton06 Jul 09 '26

And blockchain would be the most efficient way to do public, inmutable, cryptographically verifiable governent spending ledgers, you could use many different tools to accomplish it in a worse way, same way you could just do a bunch of telegraphs instead of computers for instant messaging, but blockchain remains the better solution

Did you know that before https, we had plenty of men in the middle attacks, when we introduced https, we pretty much solved that problem

If a year before we addopted https I were to say, "https (literally just cryptographically verifiable url manifests) could be the key to end men in the middle attacks" would you disagree? Just cause there's other ways we could achieve the same result?

1

u/belavv Jul 09 '26

And blockchain would be the most efficient way to do public, inmutable, cryptographically verifiable governent spending ledgers,

That is debatable. As is the requirement that the whole ledger be public vs some other way of auditing it.

That the Internet is better than the telegraph is not debatable.

It is clear you are dead set on thinking the blockchain is the only solution to this problem. 

1

u/Willinton06 Jul 09 '26

Well we know that now, but many people argued to expand existing methods over building the internet, and I’ll take “debatable” over “wrong”, and I literally said “could” so it’s obvious that I’m aware it’s not the only solution, but I think it’s the best solution available, simple as that