Quantcast
Channel: biztalkdeployment Forum Rss Feed
Viewing all articles
Browse latest Browse all 1089

New Post: Failure removing assembly from cache: The parameter is incorrect.

$
0
0
The DLL path looks fine and you say the physical file exists. The only thing that is done on it before the gacutil is this code (simplified):
  System.Reflection.AssemblyName.GetAssemblyName(<filepath>).FullName;
You need to remove this after running the test, but try pasting this into the .btdfproj:
<TargetName="UndeployOrchestrations"Condition="'$(IncludeOrchestrations)' == 'true'"><GenerateAssemblyNamesItemGroupSourceAssemblies="@(OrchestrationsQualified)"><OutputTaskParameter="AssemblyNamesItemGroup"ItemName="OrchestrationAssemblyNamesGroup"/></GenerateAssemblyNamesItemGroup><MessageText="OrchestrationAssemblyNamesGroup = @(OrchestrationAssemblyNamesGroup)"/><ExecCommand="&quot;$(Gacutil)&quot; /u &quot;@(OrchestrationAssemblyNamesGroup)&quot;"Condition="%(Identity) == %(Identity)"/></Target>
I assume it is just going to print out an empty string, which would indicate that the reflection call isn't working -- although I'm not sure how that's possible.

Thanks,
Tom

Viewing all articles
Browse latest Browse all 1089

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>