This is a quickstart template solution (Visual Studio 2017) for getting started with FirstFloor ModernUI WPF and the MVVM Light Toolkit. This template was setup using the step by step guide provided at Guy Startbucks Blog. Instead of using the SimpleIoC functionality which comes with MVVM Light this template uses Autofac.
This is just a template and spares you wire up the components each time. For getting started with the basics of the names components refer to their documentation.
- Clone ore download this repository
- Copy complete solution folder of Jaxx.MUI.Template
- Rename solution folder to desired project name
- Remove sub directories “.git” and “.vs” (if applicable)
- Rename the solution file
- Rename project (csproj) file in project folder
- Rename project folder under /src
- Remove bin and obj folder in project folder (if applicable)
- Replace string “Jaxx.MUI.Template” in all files with new name (i.e. with Notepad++)
- Open solution in VS
- Create new git repo in new solution folder
- Initially commit into repo
The powershell script (RenameSolution.ps1) you can find in solution folder is a first try to automate some of the steps above.
- Perform steps 1 to 3.
- Run the RenameSolution.ps1
- Run steps 10 to 12.
As new name the script will gather the name of the solution folder you've provided in step 3.
This script is still work in progress. If it won't work out for you start again from step 1 or 2.
If you are unfamiliar with Powershell you may have problems running the script because of the default setting of Powershells Execution Policy. By default it is set to "Restricted" which prevents running of all script files.
To workaround this:
- Press WINDOWS KEY + R (Windows "Run" dialog appears)
- Type "powershell.exe -executionpolicy unrestricted" and run
- CD into your new solution folder and run ".\RenameSolution.ps1"