Quantcast
Channel: biztalkdeployment Forum Rss Feed
Viewing all articles
Browse latest Browse all 1089

New Post: Unable to use a variable name inside IISMetabasePath

$
0
0
Hi,

You're seeing this because of MSBuild order of evaluation.

You can replace IISWebSiteID with IISMetabasePath, and just put the entire IIS://<etc> URI into the settings spreadsheet for each environment. There's no need to have another property in addition to IISMetabasePath unless you really want to split them up.

That said, if directly using IISMetabasePath doesn't help then you'll need to set it at runtime -- and then you're probably better off having the separate property as you do now. You can add a target:
<SetIISMetabasePath BeforeTargets="DeployVirtualDirectory;UndeployVDirs">
    <CreateProperty Value="IIS://localhost/w3svc/${IISWebSiteID}/Root">
      <Output TaskParameter="Value" PropertyName="IISMetabasePath" />
    </CreateProperty>
</SetIISMetabasePath>
Thanks,
Tom

Viewing all articles
Browse latest Browse all 1089

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>