Cannot publish episerver to integartion but can build and run it locally

Vote:
 

Here is the message I got when I try to publish episerver.

Error : Copying file modules\_protected\CMS\web.config to obj\Release\CSAutoParameterize\original\modules\_protected\CMS\web.config failed. Could not find file 'modules\_protected\CMS\web.config'.

I tried to add protectedModules section in my web.config as someone suggested but still cannot publish.

#200697
Jan 23, 2019 4:16
Vote:
 

It sounds like you have your  modules\_protected\CMS\web.config in your project (.csproj file), but it does not exist physically. Can you check?

#200703
Jan 23, 2019 9:43
Vote:
 

I second what Quan said. FYI I use https://marketplace.visualstudio.com/items?itemName=DavidGardiner.ShowMissingFiles which is a great way to check across the whole solution for this issue

#200755
Jan 24, 2019 9:43
Vote:
 

Did you find a solution for this?

#200762
Jan 24, 2019 11:14
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.