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
Error MSB4186 Invalid static method invocation syntax: "[System.IO.Path]::GetDirectoryName()". Method 'System.IO.Path.GetDirectoryName' not found. Static method invocation should be of the form: $([FullTypeName]::Method()), e.g. $([System.IO.Path]::Combine(a, b)). Check that all parameters are defined, are of the correct type, and are specified in the right order. ScaleUnit C:\Users\Administrator.nuget\packages\microsoft.dynamics.commerce.sdk.scaleunit\9.45.23276.2\build\Microsoft.Dynamics.Commerce.Sdk.ScaleUnit.targets 197
Ongoing investigation on why the MSBuild fails on Microsoft.Dynamics.Commerce.Sdk.ScaleUnit.targets 197
In case anyone else has seen this issue and are still looking for a solution.
The text was updated successfully, but these errors were encountered:
Any idea when Microsoft will fix this?
I am still getting this error and we are now on v10.0.38.
We were on v10.0.35 when I reported this error to Microsoft.
Discussed in #198
Originally posted by utlars October 5, 2023
Error MSB4186 Invalid static method invocation syntax: "[System.IO.Path]::GetDirectoryName()". Method 'System.IO.Path.GetDirectoryName' not found. Static method invocation should be of the form:$([FullTypeName]::Method()), e.g. $ ([System.IO.Path]::Combine(
a
,b
)). Check that all parameters are defined, are of the correct type, and are specified in the right order. ScaleUnit C:\Users\Administrator.nuget\packages\microsoft.dynamics.commerce.sdk.scaleunit\9.45.23276.2\build\Microsoft.Dynamics.Commerce.Sdk.ScaleUnit.targets 197Ongoing investigation on why the MSBuild fails on Microsoft.Dynamics.Commerce.Sdk.ScaleUnit.targets 197
In case anyone else has seen this issue and are still looking for a solution.
The text was updated successfully, but these errors were encountered: