microsoft / Dynamics365Commerce.Solutions

Repository for hosting the Dynamics 365 Commerce end to end sample solutions
Other
58 stars 26 forks source link

[Project Type][Build Issue with 9.43] #38

Closed SanketPatil4 closed 1 year ago

SanketPatil4 commented 1 year ago

Build Issue

Summary

Describe the issue

getting error unable to build the solution file of Commerce SDK cloned from the latest branch of Microsoft https://github.com/microsoft/Dynamics365Commerce.ScaleUnit/tree/release/9.43

Commerce SDK Version:

Visual Studio/Visual Studio Code/MSBuild Version:

Does this happen every time the solution is built: yes with version 9.43

Name of Project with Error:

MSBuild Error:

Severity    Code    Description    Project    File    Line    Suppression State Error    NETSDK1060    Error reading assets file: Error loading lock file 'K:\CommerceSDK\Dynamics365Commerce.ScaleUnit\src\ScaleUnitSample\POS\obj\project.assets.json' : Error reading '' at line 6018 column 25 : Error reading '' at line 6023 column 43 : '[9.43.-, 9.44.0)' is not a valid version string.    POS    C:\Program Files\dotnet\sdk\2.1.526\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets

Reproducing the Issue

Clone https://github.com/microsoft/Dynamics365Commerce.ScaleUnit/tree/release/9.43 and Run Build.

image

--> Link to GitHub repo/solution where the issue is reproducible:

Steps to reproduce the behavior: Clone https://github.com/microsoft/Dynamics365Commerce.ScaleUnit/tree/release/9.43 and Run Build.

image

Additional context

MSBuild Diagnostic Log:

dadossan commented 1 year ago

Duplicate of https://github.com/microsoft/Dynamics365Commerce.Solutions/issues/104