0

How to deploy folder to a SharePoint 2010 Web Application Root folder (inside inetpub\wwwroot\wss\VirtualDirectories\80) in the solution package(wsp)?

Which kind of item I should use in the visual studio project? because nothing is mapped to {WebApplicationRoot} directly!!

2
  • 3
    Generally you don't deploy to the web app root, what are you doing? Oct 23, 2012 at 18:29
  • It's an asp.net chat application (I don't its code) and I must work from the root of the web application folder and it's hard coded to get the images, css,.. from the Application Path HttpRuntime.AppDomainAppPath Oct 23, 2012 at 18:56

2 Answers 2

1

As the comments mention, you generally do not deploy files randomly in SharePoint as there is a specific structure that SharePoint expects at the root of a site. If you must do something like this, you might want to move it to a subdomain outside of SharePoint like chat.domain.com where domain.com points to sharePoint and chat.domain.com points to a regular IIS website that hosts the chat application. You could then add links/iframes in SharePoint to call the chat application.

From the Visual Studio side, you would treat it as a normal web application project.

0

I finally managed to deploy the files to _layout folder and copy it in the FeatureActivated.

0

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.