Skip to content

Build and test layout incorrect when consuming classlib with satellite assembly. #29399

@sdmaclea

Description

@sdmaclea

Given a project reference to a classlib with satellite assemblies
Build of the client app laysout the build incorrectly. Satellites are not in the correct directories.

find /Users/stmaclea/git/corefx/artifacts/bin/tests -name ReferencedClassLib.resources.dll
/Users/stmaclea/git/corefx/artifacts/bin/tests/System.Runtime.Loader.Tests/netcoreapp-OSX-Debug-x64/ReferencedClassLib.resources.dll
/Users/stmaclea/git/corefx/artifacts/bin/tests/ReferencedClassLib/netcoreapp-OSX-Debug-x64/en/ReferencedClassLib.resources.dll
<ProjectReference Include="ReferencedClassLibNeutralIsSatellite\ReferencedClassLibNeutralIsSatellite.csproj" />
<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <ProjectGuid>{2CD5A44C-65B4-4C51-AC7B-B2938307848A}</ProjectGuid>
    <Configurations>netcoreapp-Debug;netcoreapp-Release;uap-Debug;uap-Release</Configurations>
  </PropertyGroup>
  <ItemGroup>
    <Compile Include="ReferencedClassLib.cs" />
    <EmbeddedResource Include="ReferencedStrings*.resx" />
  </ItemGroup>
</Project>

This is blocking writing proper satellite testing for classlibs in corefx.

Tracking dotnet/sdk#3185

/cc @jkotas @tarekgh @vivmishra I reported in SDK.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions