-
Notifications
You must be signed in to change notification settings - Fork 1.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
Almost empty Strings.resx fails GenerateResources in .NET Core MSBuild #1661
Comments
This happens to me on Windows as well when doing things from the command-line. So the MSBuild that is part of the CLI has this bug, regardless of OS. |
This will be an issue for anyone trying to do CI for their projects using the CLI. |
Per .NET Core Tooling standup (JoC and @MattGertz), since there's a workaround this doesn't meet the RTW bar. |
I updated the title to make sure people know this is on all OS's from the command line. |
NP. I got confused because of our own CI setup. |
Also being hit in Roslyn. For example, dotnet/roslyn#18285 failed with it on this job: https://ci.dot.net/job/dotnet_roslyn/job/master/job/ubuntu_16_debug_prtest/1057/ |
Using AlmostEmptyResx.zip, I can reproduce this on my machine with .NET Core SDK 1.0.4 (MSBuild 15.1.1012.6693), but not with .NET Core SDK 2.0.0-preview2-006479 (MSBuild 15.3.388.41745). MSBuild didn't change, so I bet this is because the new SDK ships with the fix for dotnet/corefx#19190. Please comment here if you see this on a 2.0 |
Copy from dotnet/buildtools#1315
I'm writing this PR, and if you look at the OSX and Linux CI builds they fail with the following error, but the Windows build doesn't:
For it to work, I just have to add at the very end of the Strings.resx file one
<data>
element as:Having different behavior makes writing cross-platform code more difficult.
Thanks!
The text was updated successfully, but these errors were encountered: