...
Info |
---|
Always take notice that your plugin folder only contains the dlls you expect. And always take notice that |
Debugging Delta Shell
Since your assemblies are just dll's and don't have an actual startup point, you will have to set it yourself. We wanted to add this information in the install script of the NuGet packages, but it seems that this is information found in the .suo file.
- Pick any application plugin as Startup Project
- Set it as startup project
- Make sure you have compiled the project
- Go to the Debug settings of the project
- Set the Start Action to Start external program and browse to
bin\Debug\DeltaShell\DeltaShell.Gui.exe
. - Now you can press F5.
Unit Test Data
Your unit test project is actually already set up correctly when you have followed the steps explained above. There is just one last thing when you want to add test data. We don't want to copy over the unit test data every time we are going to compile the project. So what can you do to avoid that? Add your test data in a folder next to the testcsproj called test-data
. A post-build event has been added to your testcsproj when you installed DeltaShell.TestProject
. This post-build event creates a symbolic link to your test-data
folder and you can access it via TestHelper.GetDataDir()
.
...