I started getting this error today. Googling led me to an error on this repository where someone had the same error, but that was about projects being parsed as Sdk projects that were not Sdk projects. I have a Sdk project though. I have 3 such projects that all fail to load.
Also, when I look at the proj-info.targets, I see the _Inspect_FscArgs target there.
@Alxandr try remove the obj dir and redo dotnet restore
Worked :)
Any idea why this is needed?
renamed the project? dunno.
what actions have you done?
anyway i'll improve that (removing the temporary file) with https://github.com/enricosada/dotnet-proj-info/issues/10
I don't think I did anything in particular. I just came back to the project after a month of not touching it.
As an FYI, I was having this issue. Removing the obj dir did nothing. However I had an explicit reference to FSharp.NET.Sdk as soon as I removed this and ran dotnet restore everything started working.
@Alxandr try remove the obj dir and redo dotnet restore
Yeah, this works!
as per the comments above, dotnet restore on the CLI, then reload the project in ionide./
best workflow for big issues is:
- remove
obj/bindir (usually alsodotnet cleanworks)dotnet restorecode .if just deps seems missing from intellisense:
F#: clear cacheReload window(edited)s952163 [6:57 PM]
yeah, i know, i try to not start new projects in VS2017[6:57]
ok[6:58]
i just created a new project in ionide F# New Project[6:58]
then diddotnet restoreon the CLI[6:58]
thenReload Windowin ionide[6:58]
it loaded the project
Most helpful comment
@Alxandr try remove the
objdir and redodotnet restore