microsoft / slow-cheetah

Tooling for XML and JSON file transforms on build from Visual Studio and MSBuild
Other
323 stars 67 forks source link

Missing file packages/SlowCheetah.2.5.48/tools/SlowCheetah.xdt.dll #102

Closed ericnewton76 closed 6 years ago

ericnewton76 commented 6 years ago

Still investigating, sorry, hang on... thought I knew exactly what the problem was

SharingMemories\Main\packages\SlowCheetah.2.5.48\build\SlowCheetah.targets(192,5): Error MSB4062: The "TransformXml" task could not be loaded from the assembly C:\vsts_agent\_work\1\s\SharingMemories\Main\packages\SlowCheetah.2.5.48\build\..\tools\SlowCheetah.Xdt.dll. Could not load file or assembly 'file:///C:\vsts_agent\_work\1\s\SharingMemories\Main\packages\SlowCheetah.2.5.48\tools\SlowCheetah.Xdt.dll' or one of its dependencies. The system cannot find the file specified. Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask.

I go to track this down and see:

tree /f /a packages/ShowCheetah.2.5.48

Folder PATH listing
Volume serial number is D2FE-A6A1
C:\COOLPROJECT\MAIN\PACKAGES\SLOWCHEETAH.2.5.48
|   readme.txt
|   SlowCheetah.2.5.48.nupkg
|
+---build
|       SlowCheetah.targets
|
\---tools
        Microsoft.Web.XmlTransform.dll
        SlowCheetah.dll

trying to access SlowCheetah.xdt.dll when theres only SlowCheetah.dll doesnt work!

ericnewton76 commented 6 years ago
R:\COOLPROJECT\MAIN>grep -r "SlowCheetah.Xdt.dll" *
obj/DEV/AspnetCompileMerge/Source/Properties/SlowCheetah/SlowCheetah.Transforms.targets:    <SlowCheetahTaskPath Condition=" '$(SlowCheetahTaskPath)'=='' and '$(BuildingInsideVisualStudio)'=='true' and Exists('$(sc-MSBuildLibPathLocal)SlowCheetah.Xdt.dll')">$(sc-MSBuildLibPathLocal)</SlowCheetahTaskPath>
obj/DEV/AspnetCompileMerge/Source/Properties/SlowCheetah/SlowCheetah.Transforms.targets:      <_FilesToCopy Include="$(SlowCheetahToolsPath)SlowCheetah.Xdt.dll"/>
obj/DEV/AspnetCompileMerge/Source/Properties/SlowCheetah/SlowCheetah.Transforms.targets:             AssemblyFile="$([MSBUILD]::Unescape($(SlowCheetahTaskPath)SlowCheetah.Xdt.dll))"/>
obj/DEV/AspnetCompileMerge/TempBuildDir/Properties/SlowCheetah/SlowCheetah.Transforms.targets:    <SlowCheetahTaskPath Condition=" '$(SlowCheetahTaskPath)'=='' and '$(BuildingInsideVisualStudio)'=='true' and Exists('$(sc-MSBuildLibPathLocal)SlowCheetah.Xdt.dll')">$(sc-MSBuildLibPathLocal)</SlowCheetahTaskPath>
obj/DEV/AspnetCompileMerge/TempBuildDir/Properties/SlowCheetah/SlowCheetah.Transforms.targets:      <_FilesToCopy Include="$(SlowCheetahToolsPath)SlowCheetah.Xdt.dll"/>
obj/DEV/AspnetCompileMerge/TempBuildDir/Properties/SlowCheetah/SlowCheetah.Transforms.targets:             AssemblyFile="$([MSBUILD]::Unescape($(SlowCheetahTaskPath)SlowCheetah.Xdt.dll))"/>
obj/Dev-Debug/Package/PackageTmp/Properties/SlowCheetah/SlowCheetah.Transforms.targets:    <SlowCheetahTaskPath Condition=" '$(SlowCheetahTaskPath)'=='' and '$(BuildingInsideVisualStudio)'=='true' and Exists('$(sc-MSBuildLibPathLocal)SlowCheetah.Xdt.dll')">$(sc-MSBuildLibPathLocal)</SlowCheetahTaskPath>
obj/Dev-Debug/Package/PackageTmp/Properties/SlowCheetah/SlowCheetah.Transforms.targets:      <_FilesToCopy Include="$(SlowCheetahToolsPath)SlowCheetah.Xdt.dll"/>
obj/Dev-Debug/Package/PackageTmp/Properties/SlowCheetah/SlowCheetah.Transforms.targets:             AssemblyFile="$([MSBUILD]::Unescape($(SlowCheetahTaskPath)SlowCheetah.Xdt.dll))"/>
obj/Release/Package/PackageTmp/Properties/SlowCheetah/SlowCheetah.Transforms.targets:    <SlowCheetahTaskPath Condition=" '$(SlowCheetahTaskPath)'=='' and '$(BuildingInsideVisualStudio)'=='true' and Exists('$(sc-MSBuildLibPathLocal)SlowCheetah.Xdt.dll')">$(sc-MSBuildLibPathLocal)</SlowCheetahTaskPath>
obj/Release/Package/PackageTmp/Properties/SlowCheetah/SlowCheetah.Transforms.targets:      <_FilesToCopy Include="$(SlowCheetahToolsPath)SlowCheetah.Xdt.dll"/>
obj/Release/Package/PackageTmp/Properties/SlowCheetah/SlowCheetah.Transforms.targets:             AssemblyFile="$([MSBUILD]::Unescape($(SlowCheetahTaskPath)SlowCheetah.Xdt.dll))"/>
obj/STAGE/Package/PackageTmp/Properties/SlowCheetah/SlowCheetah.Transforms.targets:    <SlowCheetahTaskPath Condition=" '$(SlowCheetahTaskPath)'=='' and '$(BuildingInsideVisualStudio)'=='true' and Exists('$(sc-MSBuildLibPathLocal)SlowCheetah.Xdt.dll')">$(sc-MSBuildLibPathLocal)</SlowCheetahTaskPath>
obj/STAGE/Package/PackageTmp/Properties/SlowCheetah/SlowCheetah.Transforms.targets:      <_FilesToCopy Include="$(SlowCheetahToolsPath)SlowCheetah.Xdt.dll"/>
obj/STAGE/Package/PackageTmp/Properties/SlowCheetah/SlowCheetah.Transforms.targets:             AssemblyFile="$([MSBUILD]::Unescape($(SlowCheetahTaskPath)SlowCheetah.Xdt.dll))"/>
obj/Stage-Debug/Package/PackageTmp/Properties/SlowCheetah/SlowCheetah.Transforms.targets:    <SlowCheetahTaskPath Condition=" '$(SlowCheetahTaskPath)'=='' and '$(BuildingInsideVisualStudio)'=='true' and Exists('$(sc-MSBuildLibPathLocal)SlowCheetah.Xdt.dll')">$(sc-MSBuildLibPathLocal)</SlowCheetahTaskPath>
obj/Stage-Debug/Package/PackageTmp/Properties/SlowCheetah/SlowCheetah.Transforms.targets:      <_FilesToCopy Include="$(SlowCheetahToolsPath)SlowCheetah.Xdt.dll"/>
obj/Stage-Debug/Package/PackageTmp/Properties/SlowCheetah/SlowCheetah.Transforms.targets:             AssemblyFile="$([MSBUILD]::Unescape($(SlowCheetahTaskPath)SlowCheetah.Xdt.dll))"/>

R:\COOLPROJECT\MAIN>
ericnewton76 commented 6 years ago

Sorry this was an extra file (Properties/SlowCheetah.Transforms.targets) still getting deployed into build server after I thought it was removed.

I hate TFS hiding deleted and added items behind a promotion dialog. Just show the file as deleted in pending changes like git status does. If its not part of the project and should be ignored, then it should be listed in .tfignore