TypeLoadException because of a file in controller?
问题 I keep getting this error TypeLoadException: Could not load type 'projectname.AuthenticationApi.Controllers.LoggedOutViewModel' from assembly 'projectname.AuthenticationApi, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. It doesnt make sense to me. Once I have this project referenced in another project I get this error. If I dont have it referenced there is no error and all is well. I am making an asp.net core api which references this project. Everytime I try to start it I get this