-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Microsoft.CodeAnalysis.CSharp puts a lot of resource litters in the output folder #39458
Comments
@Nefcanto Please provide a complete project that demonstrates the issue that concerns you, and identify what specific output folder you are talking about and which files you are referring to. |
After upgrading to .NET Core 3.0, based on this issue I had to replace And when I look inside each of these folders, I see this: Is this information enough? |
I had the same issue. Same folders but content is After removing From the project file it was resolved. I got that reference when scaffolding an addition to my project. |
@Nefcanto and @vankampenp if you are using the new sdk-style project format you can add this property to your project
this should ensure that these resource dlls are not deployed |
@jmarolf, that solved my problem. Thank you so much. |
@Nefcanto I am going to close this issue in that case. Things are working as designed |
Because of the package Microsoft.VisualStudio.Web.CodeGeneration.Design, dozen locale directories are deployed with the application. Each directory contains the following files: Microsoft.CodeAnalysis.CSharp.resources.dll Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll Microsoft.CodeAnalysis.resources.dll Microsoft.CodeAnalysis.Workspaces.resources.dll Removing of this package is recommended as workaround - dotnet/roslyn#39458
@jmarolf Why for heavens sake it this still an "issue" 4 years later. Who ever wants all those crazy resource files for an analyzer, that shouldn't even be deployed anywhere. Analyzers are run at build time right, there is absolutely no need to deploy these files ever. I added a package to my solution, and they just appeared. |
Every single time I deal with this. I don't even have I just added <Project>
<PropertyGroup>
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
</PropertyGroup>
</Project> |
I don't use CodeAnalysis at all. But I don't know why, my output folder contains a lot of folders related to cultural resources of
Microsoft.CodeAnalysis.CSharp
.I've asked it first here.
Can you create a clean output folder when there is no need for localization resources?
The text was updated successfully, but these errors were encountered: