diff --git a/build/AzureIntegration.targets b/build/AzureIntegration.targets new file mode 100644 index 0000000000..3d8a7af504 --- /dev/null +++ b/build/AzureIntegration.targets @@ -0,0 +1,31 @@ + + + $(MSBuildThisFileDirectory)..\src\AzureIntegration\ + + + + + + AspNetUniverseBuildOffline=true; + RepositoryRoot=$(AzureIntegrationProjectRoot); + DotNetRestoreSourcePropsPath=$(GeneratedRestoreSourcesPropsPath); + DotNetPackageVersionPropsPath=$(GeneratedPackageVersionPropsPath); + VersionSuffix=$(VersionSuffix); + BuildNumberSuffix=$(BuildNumberSuffix); + Configuration=$(Configuration); + IsFinalBuild=$(IsFinalBuild); + + + + + + + + + + + + + \ No newline at end of file diff --git a/build/SharedFx.targets b/build/SharedFx.targets index e2abd7ae95..08f15d775f 100644 --- a/build/SharedFx.targets +++ b/build/SharedFx.targets @@ -44,28 +44,6 @@ - - - - AspNetUniverseBuildOffline=true; - DotNetRestoreSourcePropsPath=$(GeneratedRestoreSourcesPropsPath); - DotNetPackageVersionPropsPath=$(GeneratedPackageVersionPropsPath); - BuildNumber=$(BuildNumber); - Configuration=$(Configuration); - IsFinalBuild=$(IsFinalBuild); - - - - - - - - - - - - - diff --git a/build/artifacts.props b/build/artifacts.props index ce6a78fb1f..756194a28b 100644 --- a/build/artifacts.props +++ b/build/artifacts.props @@ -28,7 +28,6 @@ This can be done once #4246 is complete, and done in conjunction with converting - diff --git a/build/repo.props b/build/repo.props index 0c86805c1e..f50b7d4f03 100644 --- a/build/repo.props +++ b/build/repo.props @@ -25,9 +25,6 @@ true $(RepositoryRoot)src\Shared\ - $(SharedFxRid.Substring($([MSBuild]::Add($(SharedFxRid.LastIndexOf('-')), 1)))) - false - false diff --git a/build/repo.targets b/build/repo.targets index 717eaa988b..0e3872ef1b 100644 --- a/build/repo.targets +++ b/build/repo.targets @@ -1,5 +1,6 @@ + @@ -35,7 +36,7 @@ $(CompileDependsOn);PackProjects;BuildRepositories;BuildSharedFx $(PackageDependsOn);PackProjects - $(PackageDependsOn);BuildSiteExtension;RemoveSharedFrameworkOnlyRefsFromNuspec + $(PackageDependsOn);RemoveSharedFrameworkOnlyRefsFromNuspec $(TestDependsOn);Compile @@ -92,7 +93,7 @@ - + $(BuildProperties);MicrosoftNETCoreAppPackageVersion=$(MicrosoftNETCoreAppPackageVersion); diff --git a/src/Security/Security.sln b/src/Security/Security.sln index e0457ed5e0..b2735e5b23 100644 --- a/src/Security/Security.sln +++ b/src/Security/Security.sln @@ -131,12 +131,11 @@ EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Diagnostics.Abstractions", "..\Middleware\Diagnostics.Abstractions\src\Microsoft.AspNetCore.Diagnostics.Abstractions.csproj", "{73BCF909-4999-4663-BAE1-36B7734212B7}" EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Routing", "..\Http\Routing\src\Microsoft.AspNetCore.Routing.csproj", "{5B2F3890-198E-4BE8-8464-10B4D97F976A}" +EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Routing.Abstractions", "..\Http\Routing.Abstractions\src\Microsoft.AspNetCore.Routing.Abstractions.csproj", "{71961A8D-B26F-46AE-A475-D00425D875A0}" EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Server.IISIntegration", "..\Servers\IIS\IISIntegration\src\Microsoft.AspNetCore.Server.IISIntegration.csproj", "{FD3AB895-2AF6-447D-82CF-DB002B491D23}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Server.IISIntegration", "..\Servers\IIS\IISIntegration\src\Microsoft.AspNetCore.Server.IISIntegration.csproj", "{81D0E81F-4711-4C7B-BBD4-E168102D0D7D}" -EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU diff --git a/src/SiteExtensions/LoggingBranch/LoggingBranch.csproj b/src/SiteExtensions/LoggingBranch/LoggingBranch.csproj index e5f92e9c54..f905ee1b1c 100644 --- a/src/SiteExtensions/LoggingBranch/LoggingBranch.csproj +++ b/src/SiteExtensions/LoggingBranch/LoggingBranch.csproj @@ -1,14 +1,14 @@  - $(AspNetCoreMajorVersion).$(AspNetCoreMinorVersion) + $(VersionPrefix.Substring(0, $(VersionPrefix.LastIndexOf('.')))) ASP.NET Core Extensions This extension enables additional functionality for ASP.NET Core on Azure WebSites, such as enabling Azure logging. net461 false aspnet;logging;aspnetcore;AzureSiteExtension;keyvault;configuration;dataprotection content - Microsoft.AspNetCore.AzureAppServices.SiteExtension.$(TrimmedVersion) + Microsoft.AspNetCore.AzureAppServices.SiteExtension.$(TrimmedVersion).$(SharedFxArchitecture) $(PackageVersion) $(MicrosoftNETCoreAppPackageVersion) @@ -20,7 +20,6 @@ false false content - true @@ -29,6 +28,18 @@ + + + Pack + false + true + + + + Pack + false + true + diff --git a/src/SiteExtensions/Sdk/SiteExtension.targets b/src/SiteExtensions/Sdk/SiteExtension.targets index 0b12d94221..c7627c3012 100644 --- a/src/SiteExtensions/Sdk/SiteExtension.targets +++ b/src/SiteExtensions/Sdk/SiteExtension.targets @@ -9,7 +9,7 @@ <_TemplatesDirectory>$(MSBuildThisFileDirectory)..\content\ - <_DepsOutputDirectory>$(RepositoryRoot).w\se\ + <_DepsOutputDirectory>$(IntermediateOutputPath)\se\ <_WorkingDirectory>$(_DepsOutputDirectory)\depswork <_BasePackagePath>content\additionaldeps\ <_RuntimeStoreManifestFile>$(_DepsOutputDirectory)\rs.csproj @@ -17,6 +17,9 @@ + + netcoreapp3.0 + @@ -27,6 +30,11 @@ + + + + + <_TemplateFiles Include="$(MSBuildThisFileDirectory)\HostingStartup\*.cs*" /> <_HostingStartupPackageReference @@ -45,22 +53,9 @@ - - <_CommonProperties> - AspNetUniverseBuildOffline=true; - DotNetRestoreSourcePropsPath=$(DotNetRestoreSourcePropsPath); - DotNetPackageVersionPropsPath=$(DotNetPackageVersionPropsPath); - BuildNumber=$(BuildNumber); - Configuration=$(Configuration); - IsFinalBuild=$(IsFinalBuild); - MicrosoftAspNetCoreAppPackageVersion=$(MicrosoftAspNetCoreAppPackageVersion); - RuntimeFrameworkVersion=$(HostingStartupRuntimeFrameworkVersion); - - - + Properties="TargetFramework=%(HostingStartupRuntimeStoreTargets.Identity);RuntimeFrameworkVersion=$(HostingStartupRuntimeFrameworkVersion);RuntimeIdentifier=%(HostingStartupRuntimeStoreTargets.Runtime);ComposeDir=$(_RuntimeStoreOutput)\%(HostingStartupRuntimeStoreTargets.Runtime);SkipOptimization=true" /> @@ -68,11 +63,11 @@ + Properties="HostingStartupPackageName=%(_HostingStartupPackageReference.Identity);HostingStartupPackageVersion=%(_HostingStartupPackageReference.Version);RuntimeFrameworkVersion=$(HostingStartupRuntimeFrameworkVersion);MicrosoftAspNetCoreAppPackageVersion=$(MicrosoftAspNetCoreAppPackageVersion);UseAppHost=false;NoBuild=false" /> + Properties="PublishDir=%(_HostingStartupPackageReference.WorkingDirectory)\p;HostingStartupPackageName=%(_HostingStartupPackageReference.Identity);HostingStartupPackageVersion=%(_HostingStartupPackageReference.Version);RuntimeFrameworkVersion=$(HostingStartupRuntimeFrameworkVersion);MicrosoftAspNetCoreAppPackageVersion=$(MicrosoftAspNetCoreAppPackageVersion);UseAppHost=false;NoBuild=false;IncludeMainProjectInDepsFile=false" />