.netcore - (for all .net version i suppose) getting 'TestMethodAttribute' could not be found


After i create my ms test unit project, i am getting this error. I think this happens whenever you have new package references.

"'TestMethodAttribute' could not be found"

Ms Unit test project, just fail to build. So i found out that even "dotnet restore" is not working. This is due to my nuget configuration which errored and is not valid locally. So i remove it and i was able to build successfully.



Comments

Popular posts from this blog

gemini cli getting file not defined error

NodeJS: Error: spawn EINVAL in window for node version 20.20 and 18.20

vllm : Failed to infer device type