You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Platform-specific set of Modules (and assemblies) #1122
My thought on this is that if they're part of PowerShell (this repo), then they need to build everywhere, and error gracefully (e.g. platform not supported messages) where not supported.
DLLs that will eventually be supported outside windows, but are not yet supported
For #2, leaving them in the package and temporarily adding a platform-specific graceful error message seems appropriate.
For #1, if it will never be supported, I think we should not ship it in the non-Windows packages. For example, why should the Linux package include Windows eventing files and registration? The solution to this seems to be in adjusting the lists of files that are processed when creating installers.
For short-term solution, we will do a post-build step that removes certain things from Linux and Mac build. I think we should put it under Start-PSBuild -Publish only. Andy Jordan (@andschwa) does it sound reasonable?
Activity
andyleejordan commentedon Jun 16, 2016
My thought on this is that if they're part of PowerShell (this repo), then they need to build everywhere, and error gracefully (e.g. platform not supported messages) where not supported.
vors commentedon Jun 16, 2016
That's a reasonable approach.
How can we achieve "fails gracefully part"?
Currently it fails like this
mirichmo commentedon Jun 16, 2016
I see two aspects to this problem:
For #2, leaving them in the package and temporarily adding a platform-specific graceful error message seems appropriate.
For #1, if it will never be supported, I think we should not ship it in the non-Windows packages. For example, why should the Linux package include Windows eventing files and registration? The solution to this seems to be in adjusting the lists of files that are processed when creating installers.
andyleejordan commentedon Jun 20, 2016
Also, the best way to do this is blocked on one our long outstanding issues, #673, which requires https://github.com/dotnet/cli/issues/465, and is listed as an external blocker under #667.
2 remaining items
vors commentedon Jul 21, 2016
For short-term solution, we will do a post-build step that removes certain things from Linux and Mac build. I think we should put it under
Start-PSBuild -Publishonly. Andy Jordan (@andschwa) does it sound reasonable?andyleejordan commentedon Jul 21, 2016
sergei (@vors), yes that's reasonable.
joeyaiello commentedon Jul 21, 2016
Removing blocked given that we have a short-term solution.
Create separate Top-level directory per platform