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
What are the plans here in terms of timeline/expectations as this could be important for WPF? Add STA for PS 7.0? Or is it too much involved and will come only in 7.1? Steve Lee (@SteveL-MSFT)
Ilya (@iSazonov) I searched the old tests and they don't seem comprehensive. All it really does is use -STA with powershell.exe and validates that the apartmentstate is set correctly. Ideally, we should include a specific test like using a COM object that requires STA or even WPF (not getting an exception). Also manually run all tests with -STA to see if anything fails unexpectedly.
Activity
iSazonov commentedon Jul 3, 2018
Related #4995
bergmeister commentedon Jun 14, 2019
What are the plans here in terms of timeline/expectations as this could be important for WPF? Add STA for PS 7.0? Or is it too much involved and will come only in 7.1? Steve Lee (@SteveL-MSFT)
SteveL-MSFT commentedon Jun 14, 2019
Christoph Bergmeister (@bergmeister) agree that this is probably needed for WPF to work with 7, so we should do this for 7.0.
iSazonov commentedon Jun 14, 2019
We preserved all apartment code. Only .Net Core has probably deviations from .Net Framework.
bergmeister commentedon Jun 14, 2019
Ilya (@iSazonov) Except for the
-Staand-Mtaswitches on thepwshbinary that were removed in #4995iSazonov commentedon Jun 14, 2019
Has MSFT team tests for the code area?
SteveL-MSFT commentedon Jun 20, 2019
Ilya (@iSazonov) I searched the old tests and they don't seem comprehensive. All it really does is use
-STAwith powershell.exe and validates that the apartmentstate is set correctly. Ideally, we should include a specific test like using a COM object that requires STA or even WPF (not getting an exception). Also manually run all tests with-STAto see if anything fails unexpectedly.