JonnyBravoJr
JonnyBravoJr

Reputation: 338

Publishing error "can't find file..." when the file exists in the path specified

I'm trying to publish out to Azure and I'm suddenly receiving an error

Copying file bin\de\Microsoft.Data.Edm.resources.dll to obj\Release\Package\PackageTmp\bin\de\Microsoft.Data.Edm.resources.dll failed. Could not find file 'bin\de\Microsoft.Data.Edm.resources.dll'.

The file is definitely in the path. I've deleted everything from bin and obj to force a complete rebuild but nothings seems to work. Ideas?

Upvotes: 1

Views: 1420

Answers (1)

Koo SengSeng
Koo SengSeng

Reputation: 953

I have the same exact error but unable to figure out why. Cleaning and rebuild doesn't help anything too.

Following this link, I exclude both bin and obj in my solution, tried to publish again and it work like a charm.

Hope this helps

Upvotes: 1

Related Questions