Link error 1104 can not open the myPlugin.lib

I am getting a linker error 1104 that says “fatal error LNK1104: cannot open file ‘MyPlugin.lib’” The myPlugin.lib file is an example. The file is the project name +.lib.
In my linker setting I have MyPlugin.lib as an additional dependency.
I do not know if it is relevant but I have my configuration type set to dynamic library.
Can anyone help me figure out why this is happening?

Sometimes when I get random linking errors in Visual Studio, deleting the visual studio project and regenerating it with the Projucer clears things up.

Hope that helps!