[Ethereum] Solidity version error

visual-studio-code

I use Solidity Remix IDE for develop purpose. And when I finish I copy in VisualStudio Code and i attach to my project folder. But visual is telling me that i have a problem with the version. I can compile, migrate and use this contract when I deploy at ganache but the warning still there.

Any idea?

enter image description here
enter image description here

Best Answer

In my Visual Studio Code I use the Juan Blanco extension to help me coding Solidity. The solution is to change in the config json the attributes.

enter image description here enter image description here

Find the version that yo want to compile in.

Here the web: https://github.com/ethereum/solc-bin/tree/gh-pages/bin

enter image description here enter image description here

Related Topic