albanian-xrm / albanian-xrm/CDSPROJ-SDK

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

未关闭
#6 2 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C#
星标
6
派生
1
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

这个仓库没有索引到贡献指南

调研方向

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.

由索引模型根据 Issue 内容生成。

评估

技术栈
csharp
领域
build-system, tooling
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
活跃
描述清晰度
基本清楚
新手友好度
68/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。