.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

The specified initialization vector (IV) does not match the block size for this algorithm