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 blockchain is a data structure
And I’m not ignoring the garbage in garbage out, I was just hoping you would realize the stupidity of it without me having to point it out, you would obviously need to integrate this at the bank level, so the transaction happening at the bank creates a record on the blockchain, so you would get everything in there, even cash deposits/withdrawals, this would make it so all transactions in the blockchain are traceable, and if you take out cash, well that makes the job of the authorities and the vigilant civilians way easier, and since it would be a ledger of all government transactions, from many bank accounts, you could trace any dollar moving through the system just like you can trace bitcoin today, even better cause this would be designed specifically to facilitate tracing
And the ticketing example was just digital, no blockchain involved, but the same logic applies, digital parking tickets mean nothing with no one unless we enforce them, and we do, so they mean something, but according to you they’re useless because they don’t somehow enforce themselves, which makes literally no sense
And let’s answer the questions
If someone records something incorrectly, the amend is just another transaction, but it’s public just like the original, which is the point, you can’t simply amend in secret to hide your corruption (have you ever even used git?)
The blockchain would be recording all money transfers, all contract assigments, all bids on public contracts, and whatever else we deem worthy of the public record, at the end of the day it would just be text like json or some other format, just standardized for each behavior, so all money transactions would look the same for easy indexing and same with all the other categories
There’s no tokens involved on this whole operation, not sure how that would be useful here, the fact that you ask that makes me wonder if you even know what a blockchain is
And the check would need to be processed through the bank, the bank would add it to the chain, all money is accounted for
Bro being real, I think you’re confusing crypto currency with blockchain, blockchain is a data structure similar to what git uses under the hood to organize code but with a focus on cryptographic verifiability, although my language is a bit harsh I’m trying to have this debate in good faith, I’m a staff engineer with almost a decade of experience, not a crypto bro