0

I have a Website Application that I use the Publish option to write the output to a local folder which I then zip up and move to our deployment server. We upgraded out packages and started to get an error that it can't find the path which ended up being the path was too long. I resolved this issue by using the IntermediateOutputPath in the website.publishproj file. The site now compiles but it leaves all the files in the IntermediateOutputPath folder. The output pane says it publish successfully to the Target location in the publish profile but the target location is empty. I'm sure I'm missing another setting somewhere but I cannot figure out what I'm missing. Does anyone have any idea what I may be missing here?

1 Answer 1

0

For anyone else stumbling upon this you can add the below parameter to your publish profile and it will fix the issue:

<AspnetCompileMergeIntermediateOutputPath><short path></AspnetCompileMergeIntermediateOutputPath>

ex: 
<AspnetCompileMergeIntermediateOutputPath>c:\compile\</AspnetCompileMergeIntermediateOutputPath>
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.