albanian-xrm / albanian-xrm/CDSPROJ-SDK
Build on v.14 and v.15 fails for missing Solution.xml
- Dominant language
- C#
- Stars
- 6
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
No contributing guide indexed for this repository
Research direction
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.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- build-system, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100