{"action":"created","issue":{"url":"https://api.github.com/repos/BTDF/CodePlexDiscussions/issues/24","repository_url":"https://api.github.com/repos/BTDF/CodePlexDiscussions","labels_url":"https://api.github.com/repos/BTDF/CodePlexDiscussions/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/BTDF/CodePlexDiscussions/issues/24/comments","events_url":"https://api.github.com/repos/BTDF/CodePlexDiscussions/issues/24/events","html_url":"https://github.com/BTDF/CodePlexDiscussions/issues/24","id":276952462,"number":24,"title":"Discussion: \r\n                Try to create a Virtual Directory in a subdirectory\r\n            ","user":{"login":"tfabraham","id":10138276,"avatar_url":"https://avatars0.githubusercontent.com/u/10138276?v=4","gravatar_id":"","url":"https://api.github.com/users/tfabraham","html_url":"https://github.com/tfabraham","followers_url":"https://api.github.com/users/tfabraham/followers","following_url":"https://api.github.com/users/tfabraham/following{/other_user}","gists_url":"https://api.github.com/users/tfabraham/gists{/gist_id}","starred_url":"https://api.github.com/users/tfabraham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tfabraham/subscriptions","organizations_url":"https://api.github.com/users/tfabraham/orgs","repos_url":"https://api.github.com/users/tfabraham/repos","events_url":"https://api.github.com/users/tfabraham/events{/privacy}","received_events_url":"https://api.github.com/users/tfabraham/received_events","type":"User","site_admin":false},"labels":[{"id":762033049,"url":"https://api.github.com/repos/BTDF/CodePlexDiscussions/labels/CodePlexMigrated","name":"CodePlexMigrated","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-27T09:34:35Z","updated_at":"2017-11-27T09:34:38Z","closed_at":null,"author_association":"OWNER","body":"<b>RCEHA[4/17/2014 3:32:47 PM]</b>\nHi everybody, \r\n\r\nI'm trying to deploy a new web service named Test.svc that would not be at the Default Web Site Root level but in sub-directories (that need to be created).\r\n\r\n\r\nThe wanted structure would be : \r\n\r\nDefault Web Site\r\n```\n - Employees \n     - Level1\n         - MySvc\n             -Web.Config\n             -Test.svc\n\n```\r\nI don't know how to do this. \r\n\r\nIn my btdf file, I tried to set the whole path in Vdir but that's not working \r\n\r\n<VDirList Include=\"*\">\r\n```\n  <Vdir>/Employees/Level1/MySvc</Vdir>\n  <Physdir>..\\ws\\Test\\</Physdir>\n  <AppPool>MyAppPool</AppPool>\n  <AppPoolNetVersion>v2.0</AppPoolNetVersion>\n</VDirList>\n\n```\r\nThen I tried to precise the metabase path like this : \r\n<IISMetabasePath>IIS://localhost/w3svc/1/Root/Employees/Level1</IISMetabasePath>\r\n```\n<VDirList Include=\"*\">\n  <Vdir>MySvc</Vdir>\n  <Physdir>..\\ws\\Test\\</Physdir>\n  <AppPool>MyAppPool</AppPool>\n  <AppPoolNetVersion>v2.0</AppPoolNetVersion>\n</VDirList>\n\n```\r\nBut this MetadabasePath seems to be invalid. \r\n\r\nDo you have any idea of what doing this ? \r\n\r\nThanks in advance !! \r\n\r\nRegards, \r\nRCEHA.\r\n"},"comment":{"url":"https://api.github.com/repos/BTDF/CodePlexDiscussions/issues/comments/347126601","html_url":"https://github.com/BTDF/CodePlexDiscussions/issues/24#issuecomment-347126601","issue_url":"https://api.github.com/repos/BTDF/CodePlexDiscussions/issues/24","id":347126601,"user":{"login":"tfabraham","id":10138276,"avatar_url":"https://avatars0.githubusercontent.com/u/10138276?v=4","gravatar_id":"","url":"https://api.github.com/users/tfabraham","html_url":"https://github.com/tfabraham","followers_url":"https://api.github.com/users/tfabraham/followers","following_url":"https://api.github.com/users/tfabraham/following{/other_user}","gists_url":"https://api.github.com/users/tfabraham/gists{/gist_id}","starred_url":"https://api.github.com/users/tfabraham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tfabraham/subscriptions","organizations_url":"https://api.github.com/users/tfabraham/orgs","repos_url":"https://api.github.com/users/tfabraham/repos","events_url":"https://api.github.com/users/tfabraham/events{/privacy}","received_events_url":"https://api.github.com/users/tfabraham/received_events","type":"User","site_admin":false},"created_at":"2017-11-27T09:34:38Z","updated_at":"2017-11-27T09:34:38Z","author_association":"OWNER","body":"<b>tfabraham</b>\nHi, this is only supported in v6.0 which is not yet available. Today, you have a couple of options -- create the virtual directory outside of the BTDF MSI, whether manually in IIS Manager or with another script, OR set IncludeVirtualDirectories to false\r\n and build your own IIS configuration inside a custom target in your .btdfproj. You didn't say what version of IIS, but with IIS 7 you can use appcmd.exe to do most anything. There is already an MSBuild property holding the path to appcmd.exe -- $(AppCmd).\r\n You can use the Exec task to run the commands. \r\n\r\nThanks, \r\nTom4\r\n"}}
{"actor":{"display_login":"tfabraham"}}