BTDF / CodePlexDiscussions

0 stars 0 forks source link

Discussion: Physical path for IIS Web Service too long #67

Open tfabraham opened 6 years ago

tfabraham commented 6 years ago

adefazio[8/20/2013 5:17:08 PM] When I'm trying to copy my web services during the MSI build using the BTDF, I'm getting the following error: "The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.". Is there anyway to get around this error? A sample of one of my Virtual Directories that is being copied looks like the below:

    <VDirList Include="*">
        <Vdir>ESB.AccountsReceivable.Application.Publish.Adjustment</Vdir>
        <Physdir>..\ESB.AccountsReceivable.Application.Publish.Adjustment</Physdir>
        <AppPool>AccountsReceivableAppPool</AppPool>
    </VDirList>
tfabraham commented 6 years ago

tfabraham That has to be a result of your entire source code folder structure being too deep. This is just a side effect of that because to build the MSI the files are copied under obj\Debug/Release\redist, so in addition to the existing structure of your source code, it's also trying to create obj\Release\redist\ESB.AccountsReceivable.Application.Publish.Adjustment and that's pushing it over the limit.

You'll have to reduce the length of your folder names or move the entire solution to a less-nested location in your source code tree.

Thanks, Tom