microsoft / microsoft/Dynamics365Commerce.Solutions

CSU extension build error during merge process with GetDirectoryName not found using multiple ISV solutions.

Open
#212 1 comment 0 reactions 1 assignee View on GitHub

@Pikhulya is already working on this.

Since Nov 9, 2023.

CommerceScaleUnit
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.