|
|
@@ -9,7 +9,7 @@
|
|
|
|
|
|
<PropertyGroup>
|
|
|
<_TemplatesDirectory>$(MSBuildThisFileDirectory)..\content\</_TemplatesDirectory>
|
|
|
- <_DepsOutputDirectory>$(RepositoryRoot).w\se\</_DepsOutputDirectory>
|
|
|
+ <_DepsOutputDirectory>$(IntermediateOutputPath)\se\</_DepsOutputDirectory>
|
|
|
<_WorkingDirectory>$(_DepsOutputDirectory)\depswork</_WorkingDirectory>
|
|
|
<_BasePackagePath>content\additionaldeps\</_BasePackagePath>
|
|
|
<_RuntimeStoreManifestFile>$(_DepsOutputDirectory)\rs.csproj</_RuntimeStoreManifestFile>
|
|
|
@@ -17,6 +17,9 @@
|
|
|
<ManifestFileContents>
|
|
|
<![CDATA[
|
|
|
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
+ <PropertyGroup>
|
|
|
+ <TargetFramework>netcoreapp3.0</TargetFramework>
|
|
|
+ </PropertyGroup>
|
|
|
<ItemGroup>
|
|
|
<PackageReference Remove="Internal.AspNetCore.Sdk" />
|
|
|
<PackageReference Include="Microsoft.AspNetCore.App" Version="$(MicrosoftAspNetCoreAppPackageVersion)" IsImplicitlyDefined="true"/>
|
|
|
@@ -27,6 +30,11 @@
|
|
|
</ManifestFileContents>
|
|
|
</PropertyGroup>
|
|
|
|
|
|
+ <ItemGroup Condition="'@(HostingStartupRuntimeStoreTargets->Count())' == '0'">
|
|
|
+ <HostingStartupRuntimeStoreTargets Include="netcoreapp3.0" Runtime="win7-x64" />
|
|
|
+ <HostingStartupRuntimeStoreTargets Include="netcoreapp3.0" Runtime="win7-x86" />
|
|
|
+ </ItemGroup>
|
|
|
+
|
|
|
<ItemGroup>
|
|
|
<_TemplateFiles Include="$(MSBuildThisFileDirectory)\HostingStartup\*.cs*" />
|
|
|
<_HostingStartupPackageReference
|
|
|
@@ -45,22 +53,9 @@
|
|
|
<!-- Generate runtime store -->
|
|
|
<WriteLinesToFile File="$(_RuntimeStoreManifestFile)" Lines="$(ManifestFileContents)" Overwrite="true" Encoding="Unicode"/>
|
|
|
|
|
|
- <PropertyGroup>
|
|
|
- <_CommonProperties>
|
|
|
- AspNetUniverseBuildOffline=true;
|
|
|
- DotNetRestoreSourcePropsPath=$(DotNetRestoreSourcePropsPath);
|
|
|
- DotNetPackageVersionPropsPath=$(DotNetPackageVersionPropsPath);
|
|
|
- BuildNumber=$(BuildNumber);
|
|
|
- Configuration=$(Configuration);
|
|
|
- IsFinalBuild=$(IsFinalBuild);
|
|
|
- MicrosoftAspNetCoreAppPackageVersion=$(MicrosoftAspNetCoreAppPackageVersion);
|
|
|
- RuntimeFrameworkVersion=$(HostingStartupRuntimeFrameworkVersion);
|
|
|
- </_CommonProperties>
|
|
|
- </PropertyGroup>
|
|
|
-
|
|
|
<MSBuild Projects="$(_RuntimeStoreManifestFile)"
|
|
|
Targets="ComposeStore"
|
|
|
- Properties="TargetFramework=%(HostingStartupRuntimeStoreTargets.Identity);RuntimeIdentifier=%(HostingStartupRuntimeStoreTargets.Runtime);ComposeDir=$(_RuntimeStoreOutput)\%(HostingStartupRuntimeStoreTargets.Runtime);SkipOptimization=true;$(_CommonProperties)" />
|
|
|
+ Properties="TargetFramework=%(HostingStartupRuntimeStoreTargets.Identity);RuntimeFrameworkVersion=$(HostingStartupRuntimeFrameworkVersion);RuntimeIdentifier=%(HostingStartupRuntimeStoreTargets.Runtime);ComposeDir=$(_RuntimeStoreOutput)\%(HostingStartupRuntimeStoreTargets.Runtime);SkipOptimization=true" />
|
|
|
<!-- Generate deps -->
|
|
|
<RemoveDir Directories="%(_HostingStartupPackageReference.WorkingDirectory)" />
|
|
|
|
|
|
@@ -68,11 +63,11 @@
|
|
|
|
|
|
<MSBuild Projects="%(_HostingStartupPackageReference.Project)"
|
|
|
Targets="Restore"
|
|
|
- Properties="HostingStartupPackageName=%(_HostingStartupPackageReference.Identity);HostingStartupPackageVersion=%(_HostingStartupPackageReference.Version);UseAppHost=false;NoBuild=false;$(_CommonProperties)" />
|
|
|
+ Properties="HostingStartupPackageName=%(_HostingStartupPackageReference.Identity);HostingStartupPackageVersion=%(_HostingStartupPackageReference.Version);RuntimeFrameworkVersion=$(HostingStartupRuntimeFrameworkVersion);MicrosoftAspNetCoreAppPackageVersion=$(MicrosoftAspNetCoreAppPackageVersion);UseAppHost=false;NoBuild=false" />
|
|
|
|
|
|
<MSBuild Projects="%(_HostingStartupPackageReference.Project)"
|
|
|
Targets="Publish"
|
|
|
- Properties="PublishDir=%(_HostingStartupPackageReference.WorkingDirectory)\p;HostingStartupPackageName=%(_HostingStartupPackageReference.Identity);HostingStartupPackageVersion=%(_HostingStartupPackageReference.Version);UseAppHost=false;NoBuild=false;IncludeMainProjectInDepsFile=false;$(_CommonProperties)" />
|
|
|
+ Properties="PublishDir=%(_HostingStartupPackageReference.WorkingDirectory)\p;HostingStartupPackageName=%(_HostingStartupPackageReference.Identity);HostingStartupPackageVersion=%(_HostingStartupPackageReference.Version);RuntimeFrameworkVersion=$(HostingStartupRuntimeFrameworkVersion);MicrosoftAspNetCoreAppPackageVersion=$(MicrosoftAspNetCoreAppPackageVersion);UseAppHost=false;NoBuild=false;IncludeMainProjectInDepsFile=false" />
|
|
|
<Copy SourceFiles="%(_HostingStartupPackageReference.DepsFile)" DestinationFiles="%(_HostingStartupPackageReference.TrimmedDepsFile)" />
|
|
|
|
|
|
<ItemGroup>
|