Skip to content
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

SDK diff - fix for vstest and fsharp #16751

Merged
merged 4 commits into from
Jun 20, 2023

Conversation

NikolaMilosavljevic
Copy link
Member

Fixes: dotnet/source-build#3290, dotnet/source-build#3517

VSTest localization was enabled on Linux recently - this PR includes a patch for inclusion of localized resources in the CLI package: microsoft/vstest#4564

FSharp binaries are all Windows components or transitive dependencies of those components - adding to the exclusion list, as this difference is now understood.

Also moving the following exclusion entry to the correct section (NuGet):

msft,./sdk/x.y.z/*?/Test.Utility.resources.dll

@NikolaMilosavljevic NikolaMilosavljevic requested a review from a team as a code owner June 19, 2023 22:51
./sdk/x.y.z/cs/Microsoft.TemplateEngine.Orchestrator.RunnableProjects.resources.dll
./sdk/x.y.z/cs/Microsoft.TemplateEngine.Utils.resources.dll
./sdk/x.y.z/cs/Microsoft.TemplateSearch.Common.resources.dll
+./sdk/x.y.z/cs/Microsoft.TestPlatform.Build.resources.dll
Copy link
Member

Choose a reason for hiding this comment

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

So what's the story for this file? This doesn't seem addressed by the patch.

Copy link
Member Author

Choose a reason for hiding this comment

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

Good catch - this is in a separate nupkg: Microsoft.TestPlatform.Build

Working on a fix.

Copy link
Member Author

Choose a reason for hiding this comment

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

Something with SDK composition is incorrect - this localized binary was already included in the relevant nupkg.

Copy link
Member Author

Choose a reason for hiding this comment

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

Argh - this is funny - this is just a diff showing what's not in baseline anymore. No issue here.

Copy link
Member

Choose a reason for hiding this comment

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

Oh, gah. META-DIFFS!


# nuget localization is not available for Linux builds - https://github.com/NuGet/Home/issues/12440
msft,./sdk/x.y.z/*?/NuGet.*?.resources.dll
msft,./sdk/x.y.z/*?/Microsoft.Build.NuGetSdkResolver.resources.dll
msft,./sdk/x.y.z/*?/Test.Utility.resources.dll
Copy link
Member

Choose a reason for hiding this comment

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

I didn't realize this was a NuGet assembly. The name is something I would not expect from them.

Copy link
Member Author

Choose a reason for hiding this comment

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

I'm not 100% sure how or why it's included in Microsoft-built SDK. However, the binary is versioned as all other nuget.client binaries, and the IL contains resources consumed by this nuget.client project: https://github.com/NuGet/NuGet.Client/tree/dev/test/TestUtilities/Test.Utility

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.

SDK content differences - fsharp
3 participants