Many times there will be situations where we have to create a dummy development environment so that we can work on new module without affecting the code in VSS.
If some existing changes required by client we can open the VSS project and make the changes and upload it.
Since our dummy development environment is not at all connected to VSS the new module code will not go to the server.
How to Create a dummy environment of your Web based project:
- First go to your work folder where you placed your project code base.
- Copy paste it in the same work folder and rename the folder with a new name, e.g., DummyProjectFolder.
- Go to the DummyProjectFolder, right click ProjectName.csproj file and open it in notepad. Press CTRL+F and search for localhost. Rename ProjectName to DummyProjectName.
- Create a virtual directory for the DummyProjectName and bind it to your dummy project path.
- Double click on Solution. Remove it from VSS by going to File -> Solution Control -> Change Source Control and click on Unbind.
By this the dummy project will be removed from Source control.
- Right click on Solution and rename it to DummyProjectName. If there is a web application in the solution the right click and rename it to DummyWebApplication.
- Create a new database and name it as Dummydb. Back and restore Originaldb on your Dummydb.
- Change connectionstrings in config files.
- Change the file paths(Log file paths etc.) in Config files.
The above mentioned steps are common steps for creating dummy environment. The steps will increase depending on the settings of your project.