|
9 | 9 |
|
10 | 10 | <PropertyGroup>
|
11 | 11 | <_TemplatesDirectory>$(MSBuildThisFileDirectory)..\content\</_TemplatesDirectory>
|
12 |
| - <_DepsOutputDirectory>$(RepositoryRoot).w\se\</_DepsOutputDirectory> |
| 12 | + <_DepsOutputDirectory>$(IntermediateOutputPath)\se\</_DepsOutputDirectory> |
13 | 13 | <_WorkingDirectory>$(_DepsOutputDirectory)\depswork</_WorkingDirectory>
|
14 | 14 | <_BasePackagePath>content\additionaldeps\</_BasePackagePath>
|
15 | 15 | <_RuntimeStoreManifestFile>$(_DepsOutputDirectory)\rs.csproj</_RuntimeStoreManifestFile>
|
16 | 16 | <_RuntimeStoreOutput>$(_DepsOutputDirectory)\rs\</_RuntimeStoreOutput>
|
17 | 17 | <ManifestFileContents>
|
18 | 18 | <![CDATA[
|
19 | 19 | <Project Sdk="Microsoft.NET.Sdk">
|
| 20 | + <PropertyGroup> |
| 21 | + <TargetFramework>netcoreapp3.0</TargetFramework> |
| 22 | + </PropertyGroup> |
20 | 23 | <ItemGroup>
|
21 | 24 | <PackageReference Remove="Internal.AspNetCore.Sdk" />
|
22 | 25 | <PackageReference Include="Microsoft.AspNetCore.App" Version="$(MicrosoftAspNetCoreAppPackageVersion)" IsImplicitlyDefined="true"/>
|
|
27 | 30 | </ManifestFileContents>
|
28 | 31 | </PropertyGroup>
|
29 | 32 |
|
| 33 | + <ItemGroup Condition="'@(HostingStartupRuntimeStoreTargets->Count())' == '0'"> |
| 34 | + <HostingStartupRuntimeStoreTargets Include="netcoreapp3.0" Runtime="win7-x64" /> |
| 35 | + <HostingStartupRuntimeStoreTargets Include="netcoreapp3.0" Runtime="win7-x86" /> |
| 36 | + </ItemGroup> |
| 37 | + |
30 | 38 | <ItemGroup>
|
31 | 39 | <_TemplateFiles Include="$(MSBuildThisFileDirectory)\HostingStartup\*.cs*" />
|
32 | 40 | <_HostingStartupPackageReference
|
|
45 | 53 | <!-- Generate runtime store -->
|
46 | 54 | <WriteLinesToFile File="$(_RuntimeStoreManifestFile)" Lines="$(ManifestFileContents)" Overwrite="true" Encoding="Unicode"/>
|
47 | 55 |
|
48 |
| - <PropertyGroup> |
49 |
| - <_CommonProperties> |
50 |
| - AspNetUniverseBuildOffline=true; |
51 |
| - DotNetRestoreSourcePropsPath=$(DotNetRestoreSourcePropsPath); |
52 |
| - DotNetPackageVersionPropsPath=$(DotNetPackageVersionPropsPath); |
53 |
| - BuildNumber=$(BuildNumber); |
54 |
| - Configuration=$(Configuration); |
55 |
| - IsFinalBuild=$(IsFinalBuild); |
56 |
| - MicrosoftAspNetCoreAppPackageVersion=$(MicrosoftAspNetCoreAppPackageVersion); |
57 |
| - RuntimeFrameworkVersion=$(HostingStartupRuntimeFrameworkVersion); |
58 |
| - </_CommonProperties> |
59 |
| - </PropertyGroup> |
60 |
| - |
61 | 56 | <MSBuild Projects="$(_RuntimeStoreManifestFile)"
|
62 | 57 | Targets="ComposeStore"
|
63 |
| - Properties="TargetFramework=%(HostingStartupRuntimeStoreTargets.Identity);RuntimeIdentifier=%(HostingStartupRuntimeStoreTargets.Runtime);ComposeDir=$(_RuntimeStoreOutput)\%(HostingStartupRuntimeStoreTargets.Runtime);SkipOptimization=true;$(_CommonProperties)" /> |
| 58 | + Properties="TargetFramework=%(HostingStartupRuntimeStoreTargets.Identity);RuntimeFrameworkVersion=$(HostingStartupRuntimeFrameworkVersion);RuntimeIdentifier=%(HostingStartupRuntimeStoreTargets.Runtime);ComposeDir=$(_RuntimeStoreOutput)\%(HostingStartupRuntimeStoreTargets.Runtime);SkipOptimization=true" /> |
64 | 59 | <!-- Generate deps -->
|
65 | 60 | <RemoveDir Directories="%(_HostingStartupPackageReference.WorkingDirectory)" />
|
66 | 61 |
|
67 | 62 | <Copy SourceFiles="@(_TemplateFiles)" DestinationFolder="%(_HostingStartupPackageReference.WorkingDirectory)" />
|
68 | 63 |
|
69 | 64 | <MSBuild Projects="%(_HostingStartupPackageReference.Project)"
|
70 | 65 | Targets="Restore"
|
71 |
| - Properties="HostingStartupPackageName=%(_HostingStartupPackageReference.Identity);HostingStartupPackageVersion=%(_HostingStartupPackageReference.Version);UseAppHost=false;NoBuild=false;$(_CommonProperties)" /> |
| 66 | + Properties="HostingStartupPackageName=%(_HostingStartupPackageReference.Identity);HostingStartupPackageVersion=%(_HostingStartupPackageReference.Version);RuntimeFrameworkVersion=$(HostingStartupRuntimeFrameworkVersion);MicrosoftAspNetCoreAppPackageVersion=$(MicrosoftAspNetCoreAppPackageVersion);UseAppHost=false;NoBuild=false" /> |
72 | 67 |
|
73 | 68 | <MSBuild Projects="%(_HostingStartupPackageReference.Project)"
|
74 | 69 | Targets="Publish"
|
75 |
| - Properties="PublishDir=%(_HostingStartupPackageReference.WorkingDirectory)\p;HostingStartupPackageName=%(_HostingStartupPackageReference.Identity);HostingStartupPackageVersion=%(_HostingStartupPackageReference.Version);UseAppHost=false;NoBuild=false;IncludeMainProjectInDepsFile=false;$(_CommonProperties)" /> |
| 70 | + Properties="PublishDir=%(_HostingStartupPackageReference.WorkingDirectory)\p;HostingStartupPackageName=%(_HostingStartupPackageReference.Identity);HostingStartupPackageVersion=%(_HostingStartupPackageReference.Version);RuntimeFrameworkVersion=$(HostingStartupRuntimeFrameworkVersion);MicrosoftAspNetCoreAppPackageVersion=$(MicrosoftAspNetCoreAppPackageVersion);UseAppHost=false;NoBuild=false;IncludeMainProjectInDepsFile=false" /> |
76 | 71 | <Copy SourceFiles="%(_HostingStartupPackageReference.DepsFile)" DestinationFiles="%(_HostingStartupPackageReference.TrimmedDepsFile)" />
|
77 | 72 |
|
78 | 73 | <ItemGroup>
|
|
0 commit comments