To install the desktop app and use it in any computer, you have to:
- Clone this repository.
- After the download, open the solution file from Visual Studio.
- There is a folder named images with all the pictures used in the project (such as logos and base pictures).
- For these images to work, you need to modify the attributed named imageRoute in the static class Configuration (in the file Configuration.cs) inside the project MiniFacebookVisual for the project to reference the folder mentioned above.
- For the references to work, due to conflicts between net and core projects, you need to follow these steps:
- Compile both projects -Core and DAL- from solution.
- In Visual Studio, right click the project MiniFacebookVisual --> Add --> Reference. When the new window appears, click the "Examine" button:
- Go to the folder where the repository is saved, then to the folder of the project Core --> bin --> Debug --> net472 --> Core.dll
- Click again in "Examine" and go to the repository folder, then to the folder of the project DAL --> bin --> Debug --> net472 --> DAL.dll
- Click "Accept" to add references.
- To add the database you need to use SQL Server,
- To create your database, use the file from the repository folder dataBaseScripts. With that file you create your database in SQL Server.
- To connect the database in VisualStudio, in the file Configuration.cs, change the attribute connectionString with the connection string from your database.
** The database already includes some data to use.