Skip to content

Conversation

ellahathaway
Copy link
Member

@ellahathaway ellahathaway commented Jan 5, 2024

The path for source-build-int-nupkg-cache was previously being set to /root/repos/source-build-reference-packages/artifacts/sb/src/artifacts/sb/src/artifacts/obj/source-built-upstream-cache/, causing new SBRPs that depended on DependencyPackageProjectss to reference the online feeds.

This PR changes the path to be set to /root/repos/source-build-reference-packages/artifacts/sb/src/artifacts/obj/source-built-upstream-cache/. This fix should also eliminate the need for Newtonsoft.Json.13.0.1 in the prebuilt baseline.

Leaving as a draft because Newtonsoft.Json.13.0.1 is still being detected as a prebuilt.


<Exec
Command="./build.sh --configuration $(Configuration) /bl:$(ArtifactsDir)sourcebuild-dependency-projects.binlog /p:LocalNuGetPackageCacheDirectory=$(LocalNuGetPackageCacheDirectory) /p:BuildDependencyPackageProjects=true /p:SetUpSourceBuildIntermediateNupkgCache=true /p:DotNetBuildFromSource=true /p:ArcadeInnerBuildFromSource=true /p:MicrosoftNetCoreIlasmPackageRuntimeId=$(MicrosoftNetCoreIlasmPackageRuntimeId)"
Command="./build.sh --configuration $(Configuration) /bl:$(ArtifactsDir)sourcebuild-dependency-projects.binlog /p:LocalNuGetPackageCacheDirectory=$(LocalNuGetPackageCacheDirectory) /p:SourceBuildOutputDir=$(SourceBuildOutputDir) /p:BuildDependencyPackageProjects=true /p:SetUpSourceBuildIntermediateNupkgCache=true /p:DotNetBuildFromSource=true /p:ArcadeInnerBuildFromSource=true /p:MicrosoftNetCoreIlasmPackageRuntimeId=$(MicrosoftNetCoreIlasmPackageRuntimeId)"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this warrants a comment describing why the property it is needed.

@ellahathaway
Copy link
Member Author

Newtonsoft issue is likely caused by the previous versions of the packages in the PSB artifacts. Closing this PR and moving path changes to #858

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants