问题
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