C#/.NET错误:The type xxx cannot be assigned to variables of type xxx

版权声明:本文为博主原创文章,欢迎各位转载,但须注明出处 https://blog.csdn.net/qq_34202873/article/details/85088311

The type xxx cannot be assigned to variables of type xxx

我是在配置Unity IOC时候碰到的这个问题,原本是直接加在app.config里面的。就在后面加上配置内容然后出现这个问题。

后来重新新建个.config文件,将配置内容写入,就解决错误了。

猜你喜欢

转载自blog.csdn.net/qq_34202873/article/details/85088311