-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid static method invocation syntax #66
Comments
Given the age of those, and the report I linked showing to be recent as well as my case, I'd say it's something else. A reinstall made no difference and it's version 0.3.5. The vscode link I provided suggested it was an extension issue. I narrowed it to msbuild/tintoy, but could it be an issue in the SDK (dotnet msbuild)? I mean, they wouldn't just drop that method, no? I don't use VS 2017/15.5, but rather vscode 1.46.0-insider, and I'd have no clue how to go about upgrading msbuild alone. There was no post about "VersionLessThan" in the msbuild Issues. |
Also, the issue only shows when you're viewing the csproj file.
|
Usually it’s because one of the .targets files has an expression that references a type or method that is only defined in a newer version of MSBuild. I guess we’ll have to upgrade to a new version of MSBuild again. If it’s 5.x we may have to wait until they are stable enough that it doesn’t break stuff for anyone still previous versions :-/ |
IOW it’s probably the same issue but due to a different type or method (and with the same solution as last time, provided they haven’t broken backwards compatibility)... |
(thanks for reporting it BTW, I’ll have a go at trying out the latest MSBuild packages tomorrow and see how that goes) |
If I build a new extension package can you try it out for me? |
I do believe so. |
msbuild-project-tools-0.3.6.zip (can't upload .vsix directly unfortunately) |
First time for me installing a vsix and it took longer than I expected. I was able to manually extract the vsix contents (not in the extensions folder) quickly, so I don't know what makes it take like a couple of minutes. Anyway, sorry to say, but no-joy...
|
Never mind the last report. It's actually fine. |
Awesome - thanks for reporting it 🙂 |
Linking what I found: microsoft/vscode#96938
The text was updated successfully, but these errors were encountered: