Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 36 additions & 2 deletions eng/pipelines/azure-pipelines-unofficial.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ extends:
sdl:
sourceAnalysisPool:
name: NetCore1ESPool-Internal
image: windows.vs2022preview.amd64
image: windows.vs2026preview.scout.amd64
os: windows
containers:
linux_x64:
Expand Down Expand Up @@ -135,7 +135,7 @@ extends:

pool:
name: NetCore1ESPool-Internal
image: windows.vs2022preview.amd64
image: windows.vs2026preview.scout.amd64
os: windows

variables:
Expand All @@ -162,6 +162,40 @@ extends:
script: |
Get-ChildItem -Path "$(Build.SourcesDirectory)\artifacts\packages" -File -Recurse | Select-Object FullName, @{Name="Size(MB)";Expression={[math]::Round($_.Length/1MB,2)}} | Format-Table -AutoSize

- task: NodeTool@0
displayName: 🟣Install node.js
inputs:
versionSpec: '20.x'

- task: npmAuthenticate@0
displayName: 🟣NPM authenticate
inputs:
workingFile: $(Build.SourcesDirectory)\.npmrc

- task: PowerShell@2
displayName: 🟣Set .npmrc environment
inputs:
targetType: 'inline'
script: Write-Host "##vso[task.setvariable variable=NPM_CONFIG_USERCONFIG]$(Build.SourcesDirectory)\.npmrc"

- task: PowerShell@2
displayName: 🟣Install yarn
inputs:
targetType: 'inline'
script: |
npm install -g yarn@1.22.22
yarn --version
workingDirectory: '$(Build.SourcesDirectory)'

- task: PowerShell@2
displayName: 🟣Install vsce
inputs:
targetType: 'inline'
script: |
npm install -g @vscode/vsce@3.7.1
vsce --version
workingDirectory: '$(Build.SourcesDirectory)'

- template: /eng/pipelines/templates/BuildAndTest.yml
parameters:
dotnetScript: $(Build.SourcesDirectory)/dotnet.cmd
Expand Down
8 changes: 6 additions & 2 deletions src/Aspire.Hosting.AppHost/Aspire.Hosting.AppHost.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@

<ItemGroup>
<!-- Reference the analyzer to ensure it's built but don't reference its output -->
<ProjectReference Include="..\Aspire.Hosting.Analyzers\Aspire.Hosting.Analyzers.csproj" ReferenceOutputAssembly="false" Private="true" />
<ProjectReference Include="..\Aspire.Hosting.Analyzers\Aspire.Hosting.Analyzers.csproj" ReferenceOutputAssembly="false" Private="true"
SetTargetFramework="TargetFramework=netstandard2.0"
GlobalPropertiesToRemove="RuntimeIdentifier;PlatformTarget;SelfContained" />
<!-- Reference the tasks project to ensure it's built/restored but don't reference its output -->
<ProjectReference Include="..\Aspire.Hosting.Tasks\Aspire.Hosting.Tasks.csproj" ReferenceOutputAssembly="false" Private="true" />
</ItemGroup>
Expand All @@ -45,7 +47,9 @@
<BeforePack>$(BeforePack);IncludeAnalyzerInPackage;IncludeTasksInPackage</BeforePack>
</PropertyGroup>
<Target Name="IncludeAnalyzerInPackage">
<MSBuild Projects="..\Aspire.Hosting.Analyzers\Aspire.Hosting.Analyzers.csproj" Targets="GetTargetPath">
<MSBuild Projects="..\Aspire.Hosting.Analyzers\Aspire.Hosting.Analyzers.csproj" Targets="GetTargetPath"
Properties="TargetFramework=netstandard2.0"
RemoveProperties="RuntimeIdentifier;PlatformTarget;SelfContained">
<Output TaskParameter="TargetOutputs" PropertyName="AspireHostingAnalyzerFile" />
</MSBuild>

Expand Down
Loading