-
Notifications
You must be signed in to change notification settings - Fork 432
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add SiteExtension.proj to replace build-extension.ps1 #10168
base: dev
Are you sure you want to change the base?
Conversation
os: windows | ||
|
||
variables: | ||
${{ if or( eq( variables['Build.Reason'], 'PullRequest' ), and( not( contains( variables['Build.SourceBranch'], 'release/inproc6/4.' ) ), not( contains( variables['Build.SourceBranch'], 'release/inproc8/4.' ) ), not( contains( variables['Build.SourceBranch'], 'release/4.' ) ), not( contains( variables['Build.SourceBranch'], 'release/ExtensionsMetadataGenerator/' ) ) ) ) }}: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shall we remove the "release/inproc6/4" and "release/inproc8/4" usage here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have updated that in a different PR: #10171
@@ -42,9 +42,7 @@ | |||
<PackageReference Include="Microsoft.AspNetCore.TestHost" Version="8.0.1" /> | |||
<PackageReference Include="Microsoft.Azure.DocumentDB.Core" Version="2.11.2" /> | |||
<PackageReference Include="Microsoft.Azure.EventHubs" Version="2.1.0" /> | |||
<PackageReference Include="Microsoft.Azure.Functions.NodeJsWorker" Version="3.10.0" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The tests are not using anything from these packages?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They are now brought in through worker.props
at the top.
<GetFileHash Files="@(_FilesToHash)" HashEncoding="base64"> | ||
<Output TaskParameter="Items" ItemName="_HashedFiles" /> | ||
</GetFileHash> | ||
</Target> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we skipping this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See worker.props CleanDotnetWorkerFiles
target
Issue describing the changes in this PR
resolves #issue_for_this_pr
Pull request checklist
IMPORTANT: Currently, changes must be backported to the
in-proc
branch to be included in Core Tools and non-Flex deployments.in-proc
branch is not requiredrelease_notes.md
Additional information
This PR introduces a new project
WebHost.Script.SiteExtension
, which is a replacement forbuild-extension.ps1
. This project can be used viadotnet
CLI to restore, build, and publish all the artifacts needed for the Antares site extension.Other Changes
update-hostreferences.ps1
, this is no longer used anywhereworkers.props
file. Left python out due to code owners, but ideally python will be moved there as well.ZipPublish.targets
.RuntimeIdentifiers
added toWebHost.csproj
. Having this set of identifiers listed improves the restore task (otherwise each time you want to use a different runtime, you have to re-restore).