-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Copy translation message logs twice #16133
Comments
Please add repro steps and details, as asked in the template. |
|
Dears , Where does the <Target
Name="CopyPackageTranslationFiles"
AfterTargets="Build">
<Message Text="Copying translation files: $(MSBuildProjectName)" Importance="high" />
<Copy
SourceFiles="%(PackageTranslationFiles.FullPath)"
DestinationFolder="Localization\%(RecursiveDir)"
Condition="'@(PackageTranslationFiles)' != ''"
SkipUnchangedFiles="true"
OverwriteReadOnlyFiles="false" />
</Target> |
I don't know :) that's why I prefer to use MSBuild programmatically :) Related to #12364 |
Before net8.0 we were targeting 6 and 7. Because the build is done in parallel, some files were locked during the copy process. We tried to copy the files once even with two targets, but the way the Targets in MSBUILD work when you have multiple tfms doesn't allow for that. So we decided to copy twice at a point where it's not concurrent anymore. Though with a single TFM (net8.0) I am not sure it should still happen. |
I have no idea what the new screenshot is trying to demonstrate, and why it is different from the first screenshot. |
Or is the new screenshot from 1.8.3 as I suggested to try? |
Sorry, the new screenshot shows that when I run the build before your linked PR, everything is fine, and copying translations logs once |
The PR is fine, however it works after the PR is the intended behavior (maybe not the optimal but one that doesn't crash randomly). Maybe watching the meeting that happened right after the PR would give some explanations what to expect. |
I will check then see how it goes |
It seems that this issue didn't really move for quite a while despite us asking the author for further feedback. Is this something you'd like to revisit any time soon or should we close? Please reply. |
We triaged this issue and set the milestone according to the priority we think is appropriate (see the docs on how we triage and prioritize issues). This indicates when the core team may start working on it. However, if you'd like to contribute, we'd warmly welcome you to do that anytime. See our guide on contributions here. |
I noticed in the last few releases that a translation message logged twice while building a project
The text was updated successfully, but these errors were encountered: