@@ -67,7 +67,8 @@ This package is an internal implementation of the .NET Core SDK and is not meant
67
67
<!-- There is no way to suppress the .dev.runtimeconfig.json generation. -->
68
68
<ProjectRuntimeConfigDevFilePath >$(IntermediateOutputPath)ignoreme.dev.runtimeconfig.json</ProjectRuntimeConfigDevFilePath >
69
69
70
- <VersionFileIntermediateOutputPath >$(IntermediateOutputPath)$(SharedFxName).versions.txt</VersionFileIntermediateOutputPath >
70
+ <VersionTxtFileIntermediateOutputPath >$(IntermediateOutputPath)$(SharedFxName).versions.txt</VersionTxtFileIntermediateOutputPath >
71
+ <DotVersionFileIntermediateOutputPath >$(IntermediateOutputPath).version</DotVersionFileIntermediateOutputPath >
71
72
72
73
<!-- The project representing the shared framework doesn't produce a .NET assembly or symbols. -->
73
74
<DebugType >none</DebugType >
@@ -259,7 +260,12 @@ This package is an internal implementation of the .NET Core SDK and is not meant
259
260
</ItemGroup >
260
261
261
262
<WriteLinesToFile
262
- File =" $(VersionFileIntermediateOutputPath)"
263
+ File =" $(VersionTxtFileIntermediateOutputPath)"
264
+ Lines =" @(VersionLines)"
265
+ Overwrite =" true" />
266
+
267
+ <WriteLinesToFile
268
+ File =" $(DotVersionFileIntermediateOutputPath)"
263
269
Lines =" @(VersionLines)"
264
270
Overwrite =" true" />
265
271
</Target >
@@ -402,7 +408,7 @@ This package is an internal implementation of the .NET Core SDK and is not meant
402
408
403
409
<Target Name =" _ResolveSharedFrameworkContent" DependsOnTargets =" ResolveReferences;Crossgen" >
404
410
<ItemGroup >
405
- <SharedFxContent Include =" $(VersionFileIntermediateOutputPath )" />
411
+ <SharedFxContent Include =" $(DotVersionFileIntermediateOutputPath )" />
406
412
<SharedFxContent Include =" $(ProjectDepsFilePath)" />
407
413
<SharedFxContent Include =" $(ProjectRuntimeConfigFilePath)" />
408
414
<SharedFxContent Include =" @(ReferenceCopyLocalPaths)" Condition =" '%(Extension)' != '.pdb'" />
@@ -501,7 +507,7 @@ This package is an internal implementation of the .NET Core SDK and is not meant
501
507
BeforeTargets =" _GetPackageFiles" >
502
508
503
509
<ItemGroup >
504
- <None Include =" $(VersionFileIntermediateOutputPath )" Pack =" true" PackagePath =" ." />
510
+ <None Include =" $(VersionTxtFileIntermediateOutputPath )" Pack =" true" PackagePath =" ." />
505
511
</ItemGroup >
506
512
</Target >
507
513
0 commit comments