The dll.config isn't created

孤街浪徒 提交于 2019-12-12 03:37:31

问题


VS 2013 / C#.

Hi guys. I have a problem with the *.dll.config file. I choose one of my configuration solutions in VS and build a project. But the project can't be builded becase i got this error:

"Error 32 Could not copy the file "obj\MyConfig\MyProject.dll.config" because it was not found."

I was searching it in the explorer folders but it doesn't exist. Now my question is why the dll.config could not be created?

I have set on MyConfig the build action Content and the Copy to output directory Copy Always.

add: full error: C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(4003,5): error MSB3030: Could not copy the file "obj\MyConfig\MyProject.dll.config" because it was not found.

i have no idea what can i do. I try change sth for 2h and nothing ;/

add2: even if i find dll.config file and copy it to the location of my build - when i rebuild this config file isn't replaced (the date and time arne't changed). It looks like my project doesn't touch this file at all. Why it happens?

来源:https://stackoverflow.com/questions/31781907/the-dll-config-isnt-created

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!