msbuild - Adding ColinsALMCorner.CustomBuildTasks.dll to Toolbox causes 'could not load file or assembly' error -
i adding this custom build task tfs 2010 build workflow, when attempting add (colinsalmcorner.custombuildtasks.dll
) toolbox, error:
'could not load file or assembly file 'colinsalmcorner.custombuildtasks.dll' or 1 of dependencies. operation not supported'
.
i have added of dependencies (i admit, redundant):
1) same location colinsalmcorner.custombuildtasks.dll
resides, ..\buildprocesstemplates\customactivities
2) in public assemblies folder: microsoft visual studio 10.0\common7\ide\publicassemblies
and have build definition xaml file correctly importing colinsalmcorner.custombuildtasks
namespace
although activity set target .net 4.5, documentation says tfs 2010 / .net 4.0 supported, assume should possible.
my questions:
is possible tfs 2010 / .net 4.0 development environment? concern error message isn't telling real story, example maybe able find it, not right version of assembly.
is since dll targets .net 4.5 need have of referenced dll's 4.5 version? example, references microsoft.teamfoundation.versioncontrol.client
have version 10.0.0.0 (which assume .net 4.5 version of might 11.0.0.0)
here solution, in short story format: installed visual studio 2012. result: able add colinsalmcorner.custombuildtasks workflow in visual studio 2010 without error. assume means there 2012 (v11.0.0.0) dll or 2 required use activity in 2010, despite fact requirements state:
team foundation build 2010, 2012 or 2013
Comments
Post a Comment