@@ -306,7 +306,6 @@ Copyright (c) .NET Foundation. All rights reserved.
306
306
<Private >true</Private >
307
307
<MSBuildSourceTargetName >_RunCsWinRTGenerator</MSBuildSourceTargetName >
308
308
<Platforms >AnyCPU</Platforms >
309
- <CopyLocal >true</CopyLocal >
310
309
</CsWinRTGeneratorInteropAssemblyPath >
311
310
</ItemGroup >
312
311
@@ -316,17 +315,15 @@ Copyright (c) .NET Foundation. All rights reserved.
316
315
<!-- 'ReferencePath' handles adding the interop .dll to '.deps.json', which is needed for '[UnsafeAccessor]' to work -->
317
316
<ReferencePath Include =" @(CsWinRTGeneratorInteropAssemblyPath)" />
318
317
319
- <!-- 'AllItemsFullPathWithTargetPath ' handles copying the interop .dll to the build output folder -->
320
- <AllItemsFullPathWithTargetPath
318
+ <!-- '_SourceItemsToCopyToOutputDirectory ' handles copying the interop .dll to the build output folder -->
319
+ <_SourceItemsToCopyToOutputDirectory
321
320
Include =" @(CsWinRTGeneratorInteropAssemblyPath)"
322
- TargetPath =" $(_CsWinRTGeneratorInteropAssemblyFileName)"
323
- CopyToOutputDirectory =" PreserveNewest" />
324
-
325
- <!-- 'AllPublishItemsFullPathWithTargetPath' handles copying the interop .dll to the publish output folder -->
326
- <AllPublishItemsFullPathWithTargetPath
321
+ TargetPath =" $(_CsWinRTGeneratorInteropAssemblyFileName)" />
322
+
323
+ <!-- '_SourceItemsToCopyToPublishDirectory' handles copying the interop .dll to the publish output folder -->
324
+ <_SourceItemsToCopyToPublishDirectory
327
325
Include =" @(CsWinRTGeneratorInteropAssemblyPath)"
328
- TargetPath =" $(_CsWinRTGeneratorInteropAssemblyFileName)"
329
- CopyToOutputDirectory =" PreserveNewest" />
326
+ TargetPath =" $(_CsWinRTGeneratorInteropAssemblyFileName)" />
330
327
</ItemGroup >
331
328
332
329
<!-- Append to 'FileWrites' so the interop .dll will be removed on clean -->
0 commit comments