Repository navigation
GenerateResources incrementality for netcore - #1251
rainersigwald merged 3 commits into
Conversation
Closes dotnet#1197. This implementation is sufficient for current .NET Core--see dotnet#1247 for details. If we start supporting linked resources, this will produce false up-to-date results and must be changed.
|
LGTM thanks @rainersigwald . How do we get the dotnet/buildtools updated (which I guess updates the msbuild for dotnet/coreclr and dotnet/corefx) |
|
|
|
Confirmed that this fixes the scenario from dotnet/sdk#284 (on Windows). I'll look at the OS X failure shortly. @danmosemsft To get this through to corefx/coreclr, we'll need to a) update buildtools and b) update the version reference in those repos. Unfortunately the current MSBuild version is pretty stale so part a) may be nontrivial. @joperezr has done those steps in the past. |
|
Once you have this change in a package, I'm happy to help getting it into buildtools and then to corefx/coreclr. |
This was failing but the catch-any-exception clause was preventing that from failing tests. Disabling it for .NET Core like the other round-trip tests.
3ea45a0 to
b48b814
Compare
|
@dotnet-bot test OSX Build for CoreCLR please (checking for stability since there's a race condition in a lot of the incrementality tests on HFS+) |
|
@rainersigwald perhaps consider using #ifdef or XUnit attributes if possible so that the increased timeout is only for OSX. Otherwise all runs slow down unnecessarily. |
HFS+ timestamps have 1 second granularity, so any up-to-date test on live files on OS X must sleep for more than one second between file updates to ensure different timestamps.
b48b814 to
2642ba4
Compare
|
@danmosemsft Good point. Made it conditional on OS. |
|
@joperezr MSBuild packages versioned |
Closes #1197.
This implementation is sufficient for current .NET Core--see #1247 for
details. If we start supporting linked resources, this will produce false
up-to-date results and must be changed.
cc @danmosemsft @eerhardt