|
37 | 37 | </Content> |
38 | 38 | </ItemGroup> |
39 | 39 |
|
40 | | - <Target Name="PublishAspNetRuntimePackageStore" |
| 40 | + <Target Name="PublishAspNetSharedFramework" |
41 | 41 | AfterTargets="CrossgenPublishDir"> |
42 | 42 | <ItemGroup> |
43 | | - <AspNetRuntimePackageStore Remove="*" /> |
44 | | - <AspNetRuntimePackageStore Include="$(AspNetRuntimePackageStorePublishDirectory)/**/*" /> |
| 43 | + <AspNetSharedFramework Remove="*" /> |
| 44 | + <AspNetSharedFramework Include="$(AspNetCoreSharedFxPublishDirectory)/**/*" /> |
45 | 45 | </ItemGroup> |
46 | 46 |
|
47 | | - <Copy SourceFiles="@(AspNetRuntimePackageStore)" |
48 | | - DestinationFiles="@(AspNetRuntimePackageStore->'$(OutputDirectory)/%(RecursiveDir)%(Filename)%(Extension)')" /> |
| 47 | + <Copy SourceFiles="@(AspNetSharedFramework)" |
| 48 | + DestinationFiles="@(AspNetSharedFramework->'$(OutputDirectory)/%(RecursiveDir)%(Filename)%(Extension)')" /> |
49 | 49 | </Target> |
50 | 50 |
|
51 | 51 | <Target Name="PublishSharedFramework" |
|
69 | 69 |
|
70 | 70 | <Target Name="PublishRoslyn" |
71 | 71 | BeforeTargets="Publish"> |
72 | | - |
| 72 | + |
73 | 73 | <ItemGroup> |
74 | 74 | <RoslynBits Include="$(NuGetPackagesDir)/microsoft.netcore.compilers/$(MicrosoftNETCoreCompilersPackageVersion)/tools/**/*" /> |
75 | 75 | </ItemGroup> |
|
104 | 104 |
|
105 | 105 | <Target Name="PublishFSharp" |
106 | 106 | BeforeTargets="Publish"> |
107 | | - |
| 107 | + |
108 | 108 | <DotNetPublish ToolPath="$(PreviousStageDirectory)" |
109 | 109 | Configuration="$(Configuration)" |
110 | 110 | ProjectPath="$(SrcDirectory)/tool_fsharp/tool_fsc.csproj" /> |
|
141 | 141 | <DestinationPath Condition="'%(MSBuildExtensionsContent.DestinationPath)' == ''">$(PublishDir)/%(MSBuildExtensionsContent.DeploymentSubpath)%(RecursiveDir)%(Filename)%(Extension)</DestinationPath> |
142 | 142 | </MSBuildExtensionsContent> |
143 | 143 | </ItemGroup> |
144 | | - |
| 144 | + |
145 | 145 | <Copy SourceFiles="@(MSBuildExtensionsContent)" |
146 | 146 | DestinationFiles="%(MSBuildExtensionsContent.DestinationPath)" /> |
147 | 147 |
|
|
262 | 262 | <RoslynTargets Include="%(RoslynFilesWithPEMarker.FullPath)" Condition=" '%(RoslynFilesWithPEMarker.IsPE)' == 'True' " /> |
263 | 263 | <FSharpTargets Include="%(FSharpFilesWithPEMarker.FullPath)" Condition=" '%(FSharpFilesWithPEMarker.IsPE)' == 'True' " /> |
264 | 264 | <RemainingTargets Include="%(RemainingFilesWithPEMarker.FullPath)" Condition=" '%(RemainingFilesWithPEMarker.IsPE)' == 'True' " /> |
265 | | - |
| 265 | + |
266 | 266 | <RoslynFolders Include="@(RoslynTargets->DirectoryName()->Distinct())" /> |
267 | 267 | <FSharpFolders Include="@(FSharpTargets->DirectoryName()->Distinct())" /> |
268 | 268 | <RemainingFolders Include="@(RemainingTargets->DirectoryName()->Distinct())" /> |
269 | | - |
| 269 | + |
270 | 270 | <!-- FSharp.Build.dll causes the FSharp folder to be included. Remove it, as we don't want other FSharp dlls being included in the crossgen. --> |
271 | 271 | <RemainingFolders Remove="$(PublishDir)FSharp\**\*" /> |
272 | 272 | </ItemGroup> |
|
291 | 291 | CreateSymbols="$(CreateCrossgenSymbols)" |
292 | 292 | DiasymReaderPath="@(DiasymReaderPath)" |
293 | 293 | PlatformAssemblyPaths="@(PlatformAssemblies);@(RoslynFolders);$(SharedFrameworkNameVersionPath)" /> |
294 | | - |
| 294 | + |
295 | 295 | <Crossgen |
296 | 296 | SourceAssembly="%(FSharpTargets.FullPath)" |
297 | 297 | DestinationPath="%(FSharpTargets.FullPath)" |
|
316 | 316 | <Target Name="ChmodPublishDir" |
317 | 317 | AfterTargets="CrossgenPublishDir" |
318 | 318 | Condition=" '$(OSName)' != 'win' "> |
319 | | - |
| 319 | + |
320 | 320 | <Exec Command="find $(SdkOutputDirectory) -type d -exec chmod 755 {} \;" /> |
321 | 321 | <Exec Command="find $(SdkOutputDirectory) -type f -exec chmod 644 {} \;" /> |
322 | 322 | <Chmod Mode="755" Glob="$(SdkOutputDirectory)/FSharp/RunFsc.sh" /> |
|
330 | 330 | <PdbsToMove Include="$(PublishDir)/**/*.ni.*.map" /> |
331 | 331 | </ItemGroup> |
332 | 332 |
|
333 | | - <Move SourceFiles="@(PdbsToMove)" |
| 333 | + <Move SourceFiles="@(PdbsToMove)" |
334 | 334 | DestinationFiles="@(PdbsToMove->'$(SymbolsDirectory)/sdk/$(SdkVersion)/%(RecursiveDir)%(Filename)%(Extension)')" /> |
335 | 335 | </Target> |
336 | 336 |
|
|
0 commit comments