-
Notifications
You must be signed in to change notification settings - Fork 1.1k
CopyLocal for satellite assemblies broken: copies all of them to the same bin directory #1132
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
Comments
Closing as duplicate of #1006 |
mmitche
pushed a commit
to mmitche/sdk
that referenced
this issue
Jun 5, 2020
…124.1 (dotnet#1132) - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19574.1
GangWang01
pushed a commit
to GangWang01/sdk
that referenced
this issue
Jun 7, 2022
Fixes dotnet#1132 Fixes dotnet#1128 Fixes dotnet#1127 Fixes dotnet#1126 Fixes dotnet#1125 Fixes dotnet#1124 Fixes dotnet#1115
GangWang01
pushed a commit
to GangWang01/sdk
that referenced
this issue
Jul 11, 2022
Fixes dotnet#1132 Fixes dotnet#1128 Fixes dotnet#1127 Fixes dotnet#1126 Fixes dotnet#1125 Fixes dotnet#1124 Fixes dotnet#1115
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From @AArnott on April 19, 2017 16:13
When copied locally to an app, satellite assemblies should always be copied to their respective subdirectories according to their culture.
When a project defines
TargetFrameworks
, this behavior regresses. It works fine whenTargetFramework
is defined directly in a project instead.Repro steps
Modify project file as follows:
Then restore and build:
Expected
Satellite assemblies for the PackageReference to be copied to their appropriate subdirectories like this:
Actual
The satellite assemblies are all copied to the root bin folder:
This is a problem for several reasons:
Note that
dotnet publish -f net46
lays the files out in their correct locations. But this is not an acceptable workaround for local building and testing. This is a regression as NuGet references previous to VS2017 (15.1) would copy them to the right locations and I depend on that.Copied from original issue: dotnet/msbuild#1994
The text was updated successfully, but these errors were encountered: