Running the Site Manager and LS One POS
Open the development package solution file Solution.sln located in the Source folder.
Start by building the entire solution when that is done you can run any of the application by changing the startup project before pressing run. First you need to follow the steps below:
Site Manager
- Set the SMStartProject as the startup project (right-click > Set as StartUp Project).
- Open the properties form for the SMStartProject (right-click > Properties).
- Navigate to the Debug tab, and mark the Start external program
- Hit the … button and browse for the Site Manager.exe file, which is located at \Source\SM\Build\Site Manager.exe.
- Run the solution (F5)
LS One POS
- Set the POSStartProject as the startup project: right-click > Set as StartUp Project.
- Open the properties form for the POSStartProject: right-click > Properties.
- Navigate to the Debug tab, and mark the Start external program
- Hit the … button and browse for the LS One POS.exe file, which is located at \Source\POS\Build\LS One POS.exe.
- Run the solution (F5)
If you have previously run the LS One POS on your machine it will use the default database connection but if you are running the POS for the first time on your machine you will get up a dialog to configure which database to connect to.
Add the text -se to the debug Command line arguments to get the database connection selection dialog when you run the POS. This is the same dialog you get as when you run the POS in maintenance mode.
LS One Site Service
- Run visual studio as administrator
- Use the Site Service startup project
- In Debug tab on the project, set "Start external program" to the file here: Source\SiteService\Build\LSOneSiteService.exe
- In Command line arguments add the argument: /standalone
- Set the working directory to the \Source\SiteSerivce\Build directory
- Run the solution (F5)
Now you have finished lesson 1! Next go to Lesson 2