How to deal with different virtualDirectory on different PCs?
Hello, I'm using rider to develop a ASP net Web forms app. The problem I have is that in applicationhost.config the physicalPath attribute in virtualDirectory changes between two PCs so it makes me commit a different path each time I work on a different pc.
<application path="/" applicationPool="Clr4IntegratedAppPool">
<virtualDirectory path="/" physicalPath="C:\Users\username\source\repos\..." />
</application>
Please sign in to leave a comment.
thank you for contacting us.
Please note, that we assumed that `applicationhost.config` file would be generated on every computer and won't be committed.
As a workaround, you could disable the `applicationgost.config` auto-generation and write the needful paths in each file.
Thank you!