You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When Invoke-MSBuild is called with the -debugMode flag at the end of the build we should save the resulting ProjectInstance to a file. We can use the log folder as the location to persist that file. We should perhaps have an options/parameter for that.
After persisting this to disk we should also keep track of this path in the buildResult object which is saved for later use.
Then we can create the following cmdlets / advanced functions
Get-PSBuildPostBuildResult (or something along those lines). The idea is that we would return the path to the .csproj file that contains the final "view" that MSBuild had for the project file. This would be really helpful for debugging.
This can be achieved with $projectInstance.ToProjectRootElement().Save('<path>')
The text was updated successfully, but these errors were encountered:
When Invoke-MSBuild is called with the -debugMode flag at the end of the build we should save the resulting ProjectInstance to a file. We can use the log folder as the location to persist that file. We should perhaps have an options/parameter for that.
After persisting this to disk we should also keep track of this path in the buildResult object which is saved for later use.
Then we can create the following cmdlets / advanced functions
This can be achieved with
$projectInstance.ToProjectRootElement().Save('<path>')
The text was updated successfully, but these errors were encountered: