Custom ExternalAnnotations location in R# plugin
I'm trying to get a R# plugin to deploy an external annotations file to the correct location.
My TechTalk.SpecFlow.ExternalAnnotations.xml file works like a charm when manually copy it to either of following locations
%resharperInstallDir%v8.2\Bin\ExternalAnnotations
%solutionDir%\bin\[Debug|Release]
For the first I need a VS restart.
Now I want to wrap it in a plugin so based on the provided examples my plugin folder structure is as follows:
%.nuspecDir%\ReSharper\vAny\annotations\TechTalk\SpecFlow\TechTalk.SpecFlow.ExternalAnnotations.xml
After installing the pluign (and restarting/rebuilding), I can't find the xml file anywhere.
Do I need to add the following? If so what should be at the '?'
<files>
<file src="?" target="?" />
</files>
What else am I doing wrong?
Plugin: https://resharper-plugins.jetbrains.com/packages/TechTalk.SpecFlow.ExternalAnnotations/
Attachment(s):
TechTalk.SpecFlow.ExternalAnnotations.1.0.0-beta3.nupkg.zip
Please sign in to leave a comment.
The file needs to either be named after the assembly, or live in an folder with the same name as the assembly. So, in your case, where the assembly is TechTalk.SpecFlow.dll, the annotation should be one of the following: