I have a line of code in the configuration file:
<appSettings> <add key="Microsoft.ServiceBus.ConnectionString" value="Endpoint=sb://{ComputerName}/ServiceBusDefaultNamespace;StsEndpoint=https://{ComputerName}:9355/ServiceBusDefaultNamespace;RuntimePort=9354;ManagementPort=9355" /> </appSettings>
and you can see {ComputerName} there. This name depends on the current computer name. And if I use any source code management tool, I get a problem because in another computer project it does not start with my connectionString.
How can I avoid this problem?
I cannot ignore this file in svn because I will change in the future and I may lose these changes.
Perhaps this problem can be solved at the svn level or in visual studio.
source share