Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't delete resource folder while clean/rebuild #424

Merged
merged 3 commits into from
May 23, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions src/Adapter/Build/Desktop/MSTest.TestAdapter.targets
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,4 @@
</ItemGroup>
</Target>

<!-- This is required because an empty resource folder is left even though the files within are cleaned up. -->
<Target Name="CleanupMSTestV2ResourceFolders" AfterTargets="AfterClean" Condition="$(EnableMSTestV2CopyResources) == 'true'" DependsOnTargets="GetMSTestV2CultureHierarchy">
<ItemGroup>
<ResourceDirectories Include="$(TargetDir)%(CurrentUICultureHierarchy.Identity)" />
</ItemGroup>
<!-- RemoveDir does not throw if the folder does not exist. Continue on error - In any case do not fail build if this task fails(Warn and move on).-->
<RemoveDir Directories="@(ResourceDirectories)" ContinueOnError="true"/>
</Target>
</Project>
8 changes: 0 additions & 8 deletions src/Adapter/Build/Universal/MSTest.TestAdapter.targets
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,4 @@
</ItemGroup>
</Target>

<!-- This is required because an empty resource folder is left even though the files within are cleaned up. -->
<Target Name="CleanupMSTestV2ResourceFolders" AfterTargets="AfterClean" Condition="$(EnableMSTestV2CopyResources) == 'true'" DependsOnTargets="GetMSTestV2CultureHierarchy">
<ItemGroup>
<ResourceDirectories Include="$(TargetDir)%(CurrentUICultureHierarchy.Identity)" />
</ItemGroup>
<!-- RemoveDir does not throw if the folder does not exist. Continue on error - In any case do not fail build if this task fails(Warn and move on).-->
<RemoveDir Directories="@(ResourceDirectories)" ContinueOnError="true"/>
</Target>
</Project>