开发者

When I Branch from Trunk I need to create a new Virtual Directory. Anyway around this?

开发者 https://www.devze.com 2023-01-18 23:21 出处:网络
the Trunk of my app points to 开发者_运维问答<IISUrl>http:///localhost/MyApp/</IISUrl>

the Trunk of my app points to

开发者_运维问答
<IISUrl>http:///localhost/MyApp/</IISUrl>

Whenever I create a new branch, I end up having to edit MyApp.csproj to change the target URL to

<IISUrl>http:///localhost/MyAppBranchName/</IISUrl>

Is there any way that I don't need to do this? The reason is the number of branches are starting to add up and there's a lot of virtual directories in IIS. I suppose I could use the ASP.NET Dev server, but as this solution is already configured to use IIS, I'd prefer to keep using that.


What I do is delete the Virtual Directory for trunk - it is a manual task and a bit of a pain but it gets the job done and I don't have to worry about breaking my colleagues environments after I merge back to trunk. VS will prompt you to create an IIS VD when you open the branch solution.

So essentially you have a small manual task and only one Virtual Directory at a time.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号