...
After installing the package your project will look something like this :
Remove postsharp from project
In this tutorial we don't use PostSharp so we can remove postsharp from the project by removing the selected items from the project (PostSharp because it needs a license. PostSharp is mostly used for automatically adding code for property and collection changed events + and event bubbling and requires a license to run). Also open .
To remove postsharp do the following :
- Remove postsharp reference and "RequiresPostSharp.cs" from the project (see the selected items in previous image)
- Open the packages.config and remove the postsharp reference "<package id="PostSharp" version="2.1.7.28" targetFramework="net40" />"
...
- Unload the project (right click on project - Unload project)
Edit project file (right click on project - Edit DeltaShell.Plugins.VolumeModel.csproj)
Remove (near the end of the csproj) <Import Project="..\packages\PostSharp.2.1.7.28\tools\PostSharp.targets" Condition="Exists('..\packages\PostSharp.2.1.7.28\tools\PostSharp.targets')" />
Load project
Set startup project
Start by building the project. This will copy DeltaShell to the bin folder next to your solution file (D:\VolumeModel\bin)
Now open the project settings and go
Now open the settings of our plugin project and change the following settings :
Go to the debug page and change set the startup program to : D:\DeltaShell.Plugins.VolumeModel\bin\Debug\DeltaShell\DeltaShell.Gui.exe
Create an application plugin class
...