@@ -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 >
@@ -256,7 +257,12 @@ This package is an internal implementation of the .NET Core SDK and is not meant
256
257
</ItemGroup >
257
258
258
259
<WriteLinesToFile
259
- File =" $(VersionFileIntermediateOutputPath)"
260
+ File =" $(VersionTxtFileIntermediateOutputPath)"
261
+ Lines =" @(VersionLines)"
262
+ Overwrite =" true" />
263
+
264
+ <WriteLinesToFile
265
+ File =" $(DotVersionFileIntermediateOutputPath)"
260
266
Lines =" @(VersionLines)"
261
267
Overwrite =" true" />
262
268
</Target >
@@ -397,7 +403,7 @@ This package is an internal implementation of the .NET Core SDK and is not meant
397
403
398
404
<Target Name =" _ResolveSharedFrameworkContent" DependsOnTargets =" ResolveReferences;Crossgen" >
399
405
<ItemGroup >
400
- <SharedFxContent Include =" $(VersionFileIntermediateOutputPath )" />
406
+ <SharedFxContent Include =" $(DotVersionFileIntermediateOutputPath )" />
401
407
<SharedFxContent Include =" $(ProjectDepsFilePath)" />
402
408
<SharedFxContent Include =" $(ProjectRuntimeConfigFilePath)" />
403
409
<SharedFxContent Include =" @(ReferenceCopyLocalPaths)" Condition =" '%(Extension)' != '.pdb'" />
@@ -496,7 +502,7 @@ This package is an internal implementation of the .NET Core SDK and is not meant
496
502
BeforeTargets =" _GetPackageFiles" >
497
503
498
504
<ItemGroup >
499
- <None Include =" $(VersionFileIntermediateOutputPath )" Pack =" true" PackagePath =" ." />
505
+ <None Include =" $(VersionTxtFileIntermediateOutputPath )" Pack =" true" PackagePath =" ." />
500
506
</ItemGroup >
501
507
</Target >
502
508
0 commit comments