In the following steps, you will deploy the document and assembly to a new folder on your development computer.
To deploy the solution
-
Create a folder named TestDeploy at the root of the Windows system drive (%SystemDrive%). For example, if your system drive is C, the directory would be C:\TestDeploy.
-
Copy the document and assembly from the build output folder (typically <project folder>\bin\debug or <project folder>\bin\release) to the %SystemDrive%\TestDeploy folder.
-
Open the document in the %SystemDrive%\TestDeploy folder. You will see an error message that states that the current .NET security policy does not permit the customization to run. This is because you have not granted full trust to the assembly yet.
-
Click OK, and then close the document.