Rename OfflineBuild property to DotNetBuildOffline#39926
Conversation
|
@ericstj I created a patch in source-build locally with this change in it to test building source-build and the resulting tarball. On tarball build, I'm seeing an error:
Any suggestions on how to troubleshoot this? |
|
@dseefeld are you doing two pass build? The first pass specifying If so, then the thing to check would be that the files are being written correctly to |
|
Took a look at some logs shared offline and found the problem. The path specified for DotNetSourceBuildIntermediatePath in the first pass was different than the one for the second pass. They need to be the same in order to share the generated source. |
|
@ericstj In the initial build, we're passing a path to generate the code to via |
When running as an initial target _RedefineNotSupportedSourceFile would run too many times, as currently the config system will evaluate projects under the parent project's Configuration.
|
Chatted with @dseefeld offline and the latest change addresses the failure he was seeing. Will merge this once green and port to release/3.0. |
|
Hello @ericstj! Because this pull request has the p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
* Rename OfflineBuild property to DotNetBuildOffline * Change sequencing of _RedefineNotSupportedSourceFile When running as an initial target _RedefineNotSupportedSourceFile would run too many times, as currently the config system will evaluate projects under the parent project's Configuration.
|
This PR went into master - fixing milestone to 5.0. |
* Rename OfflineBuild property to DotNetBuildOffline * Change sequencing of _RedefineNotSupportedSourceFile When running as an initial target _RedefineNotSupportedSourceFile would run too many times, as currently the config system will evaluate projects under the parent project's Configuration.
* Rename OfflineBuild property to DotNetBuildOffline * Change sequencing of _RedefineNotSupportedSourceFile When running as an initial target _RedefineNotSupportedSourceFile would run too many times, as currently the config system will evaluate projects under the parent project's Configuration. Commit migrated from dotnet/corefx@1ea5d58
This will also need to go to
release/3.0