microsoft / microsoft/Dynamics365Commerce.Solutions
CSU extension build error during merge process with GetDirectoryName not found using multiple ISV solutions.
@Pikhulya is already working on this.
Since Nov 9, 2023.
- Dominant language
- No language data
- Stars
- 80
- Forks
- 38
- PR merge metrics
- No merged PRs in 30d
Description
Discussed in https://github.com/microsoft/Dynamics365Commerce.Solutions/discussions/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 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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.