Source build patches#17417
Conversation
This project restores a prebuilt Microsoft.Win32.Registry reference, but it doesn't end up in the SDK: the DLL from the net5.0 shared framework is already present. Remove this unnecessary PackageReference to remove the prebuilt.
|
I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label. |
|
@sfoslund, Can you please remove the source-build patches and the target that applies them as part of this PR as well? They are no longer needed with these changes. |
|
/azp run |
|
Azure Pipelines failed to run 1 pipeline(s). |
1563809 to
25533b7
Compare
25533b7 to
80fdaf4
Compare
|
|
||
| <Target Name="PublishNetSdks" | ||
| BeforeTargets="Build"> | ||
| <ItemGroup> |
There was a problem hiding this comment.
It seems like it would be preferable to have project references to these from redist.csproj (with ReferenceOutputAssembly set to false).
One of the dotnet tool tests is failing with an odd error that I haven't been able to debug, @wli3 do you know what this could be? |
|
@MichaelSimons we're seeing test failures because of the dotent-hello test packages that are removed. Why do they need to be removed? Source build doesn't deal with test assets anyways, does it? |
They don't need to be removed, they just need to be excluded from source-build. I can't answer why they were removed because yes, source-build doesn't deal with tests. Maybe add them back we will see what prebuilts if any are added and we can address it at that time when we have the full context. |
@MichaelSimons all legs but the source build leg seem to be okay. Have you seen this before? We started getting this error with 45b7b2b but I'm not sure how that could be causing it. |
|
|
||
| <Target Name="PublishNetSdks" | ||
| BeforeTargets="Build"> | ||
| <ItemGroup> |
There was a problem hiding this comment.
It seems like it would be preferable to have project references to these from redist.csproj (with ReferenceOutputAssembly set to false).
Ping @MichaelSimons do you have any thoughts here? |
|
@sfoslund - Sorry I've been oof for a few days. I'm catching up and will take a look this afternoon. |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
@MichaelSimons great, thank you! |
|
@MichaelSimons we're green, does everything look okay to you to merge? |
@sfoslund, LGTM - thanks |
Fixes #16974
Fixes #16973