Reputation: 303
Since last week's update of my Visual Studio all my projects are coming up with errors such as "Option Strict On requires that all method parameters have an 'As' clause" despite the project having the Option Strict "Off".
It's happening on all my projects.
The only way around I found is to go in Compile change the "Option Strict" to On, save the project, and change the "Option Strict" to Off and save the project again. This appears to solve the issue.
Anybody else with the same issue ?
Upvotes: 0
Views: 165
Reputation: 303
Fixed ! Found on developercommunity.visualstudio.com:
Thank you for your feedback! We have fixed this issue and it's available in Visual Studio 2017 Version 15.5.2. Thank you for helping us build a better Visual Studio! If you still see these error after upgrading to 15.5.2, please close Visual Studio and delete the .vs folder next to the solution file. This will clean up the IntelliSense cache that may be stale.
Upvotes: 0