VS2017 Not Copying Satellite Assemblies to Proper Output Location
See original GitHub issueFrom @thefringeninja on March 16, 2017 17:21
I’ve been porting a project over to the new .csproj format. This project has a dependency on FluentValidation
, which uses satellite assemblies. In VS2015, on compilation, these would be placed in their correct subfolders. VS2017 places all the satellite assemblies in the root build output folder. Since they all have the same filename, only one remains.
Minimal repro project file:
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net46</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="FluentValidation" Version="5.5.0" />
</ItemGroup>
</Project>
Copied from original issue: Microsoft/msbuild#1877
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:16 (14 by maintainers)
Top Results From Across the Web
how to set post build event in VS to copy all satellite ...
You can use XCOPY command in post-build script.
Read more >How to stop references being copied to output directory ...
When using dotnet build on the My.Assembly project, the Private assemblies are always copied to the /external/ folder (resulting in multiple ...
Read more >Why do visual studio generate a lot of localized files about ...
This is because you've enabled runtime compilation for your application, which results in satellite assemblies being copied to your app's output directory.
Read more >Create satellite assemblies - .NET
Get started with creating satellite assemblies for .NET apps. A satellite assembly can be easily updated or replaced to provide localized ...
Read more >Linked project items do not get copied to the output directory
VS2017 does correctly copy those those project items to the output directory. Visual Studiowindows 10.0C++visual studio 2019 version 16.0.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
[Just making a note for search engines to pick up the following error messages.] If you see the following error while running unit tests in VSTS:
then it may be caused by this issue. The workaround at https://github.com/dotnet/sdk/issues/1360#issuecomment-310157372 should fix it.
I agree. I have not looked for a workaround. I plan to fix this soon.