You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes test bugs in two tests. These tests were calling
`Execute($"/p:PublishSingleFile=true
/p:RuntimeIdentifier={RuntimeInformation.RuntimeIdentifier}")`,
which was setting the value of `PublishSingleFile` to `true
/p:RuntimeIdentifier=<RID>`. The two MSBuild properties should
have been passed as separate arguments to `Execute`.
This was resulting in the tests not actually publishing
single-file, and not setting the RID. Fixing this required
updating the tests to expect RID-specific static web assets. The
expected manifests were then updated by running the
`update-test-baselines.ps1` script.
Copy file name to clipboardExpand all lines: src/Tests/Microsoft.NET.Sdk.Razor.Tests/StaticWebAssetsBaselines/PublishProjectWithReferences_PublishSingleFile_GeneratesPublishJsonManifestAndCopiesPublishAssets.Build.staticwebassets.json
Copy file name to clipboardExpand all lines: src/Tests/Microsoft.NET.Sdk.Razor.Tests/StaticWebAssetsBaselines/PublishProjectWithReferences_PublishSingleFile_GeneratesPublishJsonManifestAndCopiesPublishAssets.Publish.files.json
Copy file name to clipboardExpand all lines: src/Tests/Microsoft.NET.Sdk.Razor.Tests/StaticWebAssetsBaselines/PublishProjectWithReferences_PublishSingleFile_GeneratesPublishJsonManifestAndCopiesPublishAssets.Publish.staticwebassets.json
Copy file name to clipboardExpand all lines: src/Tests/Microsoft.NET.Sdk.Razor.Tests/StaticWebAssetsBaselines/Publish_PublishSingleFile_GeneratesPublishJsonManifestAndCopiesPublishAssets.Build.staticwebassets.json
Copy file name to clipboardExpand all lines: src/Tests/Microsoft.NET.Sdk.Razor.Tests/StaticWebAssetsBaselines/Publish_PublishSingleFile_GeneratesPublishJsonManifestAndCopiesPublishAssets.Publish.staticwebassets.json
0 commit comments