Skip to content

Commit 5049ca8

Browse files
committed
Clean up: make sure PrepareForTest copies the global.json to scripts dir, not to src\ProjectTemplates\scripts\.dotnet.
1 parent 5291ac3 commit 5049ca8

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

src/ProjectTemplates/TestInfrastructure/PrepareForTest.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120
<_FilesToCopy Include="$(LocalDotNetRoot)shared\**\*" DestinationRelativeFolder="shared\" />
121121
<_FilesToCopy Include="$(LocalDotNetRoot)sdk\**\*" DestinationRelativeFolder="sdk\" />
122122
<_FilesToCopy Include="$(SharedFrameworkLayoutRoot)\**\*" />
123-
<_FilesToCopy Include="$(RepoRoot)\global.json" />
123+
<_FilesToCopy Include="$(RepoRoot)\global.json" DestinationRelativeFolder="..\\" />
124124

125125
<_DestinationFiles Include="@(_FilesToCopy->'$(TemplateTestDotNetRoot)%(DestinationRelativeFolder)%(RecursiveDir)%(Filename)%(Extension)')" />
126126
</ItemGroup>

src/ProjectTemplates/global.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)