November Happy Hour will be moved to Thursday December 5th.

episerver.config not under web.config

Vote:
 

Hi, I am using episever cms 6 R2. In my Visual Studio solution, I don't see episever.config, episerverFramework.config under web.config. Now, they are not under web.config. All three files web.config, episerver.config and episerverFramework.config are on the same level. 

I have to get episerver.config and episerverFramework.config under web.config. 

Any help is appreciated. 

 

#73959
Aug 15, 2013 12:07
Vote:
 

You can manuelly edit your Visual Studio project file (.csproj if you're using C#) to move the configuration files under web.config. In Visual Studio right click your project and choose Unload Project, then Edit (your project files is basically just a MSBuild file), search for your configuration files and add <DependentUpon> with the value web.config.

Example:

<Content Include="EPiServerFramework.config">
    <DependentUpon>Web.config</DependentUpon>
</Content>

Hope this helps.

Frederik

   

#73960
Aug 15, 2013 12:50
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* 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.