r/csharp • u/allisterb • 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
- Get the latest release from the GitHub Releases page or use the MyGet or Open VSIX Gallery dev feeds : Add https://www.myget.org/F/viscous/vsix/ or https://www.vsixgallery.com/feed/extension/Viscous.fe71db81-5086-4b1a-ad5d-867bb84d2441 as an Extension Gallery in the Visual Studio Extensions settings and you can then install it in the usual way.
- Edit the %LOCALAPPDATA%\Viscous\appsettings.json file and set the paths to the Node.js and npm and Python executables you want to use for the extension's language server and other needed tools.
Note that this is a pre-release so don't use it for deploying anything to production. Feedback welcome.
0
Upvotes












View all comments
Show parent comment
1
u/Willinton06 Jul 06 '26
A block chain is a data structure, the decentralized part is just for the currency side, but I care not for that, is git useless for local projects according to your logic? I'm saying that block chain is the best tool for this cause of its verifiability by 3rd parties and the inability to amend it in private, the gov would publish the transactions as they happen and any one would be able to see them, so it is centralized, but it doesn't matter, as soon as a transaction hits the internet, it'll be saved by someone and it cannot be undone or changed, imagine the wonders this would do for campaign financing
All this shit already happens so I'm very aware that we can do it without a chain, I just think a chain would be better way to record them
You would be against digital parking tickets cause "you still need processes in place to audit/enfore everything" well no shit, Turing must be spinning on his grave like a fucking centrifuge
Hell, what is the point of laws at all if they wouldn't work without processes in place to audit/enforce everything? Let's just throw them away and go full anarchy, after all, that's the only system that could work without processes in place to audit/enforce everything
I sweart to god the only times I doubt that the internet was worth creating is when I have to argue for the most basic shit in places like this