Changeset 1102


Ignore:
Timestamp:
Jan 21, 2010, 1:12:00 AM (12 years ago)
Author:
Sebastian Przybylski
Message:

Added new section "Modify project assembly" to explain the changes in the assembly

Location:
trunk/Documentation/Developer/PluginHowTo
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Documentation/Developer/PluginHowTo/part2.tex

    r1075 r1102  
    7373
    7474If your plugin will be based on further libraries, you have to add them in the same way.
     75\section{Modify project properties}\label{sec:ModifyProjectProperties}
     76It is important to make two little changes in your plugin assembly to ensure a right import of your plugin in CrypTool 2.\\
     77You will find your assembly file called ''AssemblyInfo.cs'' in in your solution tree view at the item ''Properties''. Make these two changes:
     78\begin{itemize}
     79        \item Fit the attribute ''AssemblyVersion''
     80        \item Comment out the attribute ''AssemblyFileVersion''
     81\end{itemize}
     82Usually your assembly code part could now look like this:
     83\begin{lstlisting}
     84[assembly: AssemblyVersion(''2.0.*'')]
     85//[assembly: AssemblyFileVersion(''1.0.0.0'')]
     86\end{lstlisting}
    7587\section{Create the classes for the algorithm and for its settings}\label{sec:CreateTheClassesForTheAlgorithmAndForItsSettings}
    7688In the next step we have to create two classes. The first class named ''Caesar'' has to inherit from IEncryption to provide an ecryption plugin. If you want to develop a Hash plugin your class has to inherit from IHash.
Note: See TracChangeset for help on using the changeset viewer.