albanian-xrm / albanian-xrm/CDSPROJ-SDK

Build on v.14 and v.15 fails for missing Solution.xml

Đang mở
#6 2 bình luận 1 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
C#
Star
6
Fork
1
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

My .cdsproj file:

```XML


$(MSBuildThisFileDirectory)map.build.xml
Unmanaged
Managed
$(FileVersion)


true
Verbose
Info
$(OutputPath)$(MSBuildProjectName)_v$(SolutionFileVersion)_unmanaged.zip
$(OutputPath)$(MSBuildProjectName)_v$(SolutionFileVersion)_managed.zip
$(OutputPath)$(MSBuildProjectName)_v$(SolutionFileVersion).zip

```

Launching

```Powershell
dotnet build -c Release -property:FileVersion=1.0.0
```

It gets the following error

```txt
Restore complete (0,3s)
master net462 failed with 1 error(s) (1,4s)
C:\Users\riccardo.gregori\.nuget\packages\microsoft.powerapps.msbuild.solution\2.11.2\build\Microsoft.PowerApps.MSBuild.Solution.targets(102,5): error Could not find a part of the path 'C:\Sources\solutions\master\obj\Release\Metadata\Other\Solution.xml'.
```

Same error is also on v.1.0.14.

If i take the v13, it works, the build succeeds

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Start by reproducing the issue with the shown dotnet build command and the provided .cdsproj file. Inspect Microsoft.PowerApps.MSBuild.Solution.targets at line 102 and compare the build output between SDK versions 1.0.13, 1.0.14, and 1.0.15. Done means the v1.0.14 and v1.0.15 builds complete without the missing obj/Release/Metadata/Other/Solution.xml error.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
csharp
Lĩnh vực
build-system, tooling
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Sôi nổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
68/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.