We are happy to collaborate with developers and contributors interested in enhancing Power Platform development processes. If you have feedback, suggestions, or would like to contribute, please feel free to submit issues or pull requests.
Some projects include Microsoft.PowerApps.MSBuild.* packages. The current version is defined in Direcotry.Build.props file and is shared across all projects. We currently lock to a specific version to ensure highest-level compatibility. Some projects reference the Tasks project, and in this case, the latest version is always used as well.
For developing and testing, you may use this repo which has a basic setup done.
Run the following terminal command in the folder Tasks:
dotnet pack --configuration DebugAdd nuget.config file to your Dataverse solution project folder:
<configuration>
<packageSources>
<!-- package source is additive -->
<add key="LocalBuildTasks" value="/{REPOSITORY PATH}/src/Tasks/bin/Release/" />
</packageSources>
</configuration>Clear all cached packages:
Note that the command below is going to nuke your entire local package cache. It might be wiser to navigate to
.nuget\packages\talxis.devkit.build.dataverse.tasksand delete only the contents of this folder. If you can't delete it because it is in use, executedotnet build-server shutdownfirst.
dotnet nuget locals --clear allYou might need to clear the Nuget.org cache to see a recently published package:
dotnet nuget locals http-cache --clearRebuild the project:
dotnet build --no-incremental --forceIn folder where you want to run dotnet build:
set MSBUILDDEBUGONSTART=1
dotnet build -bl /m:1You will get a promp to attach debugger into a Visual Studio instance.
Build the target project with:
dotnet build -blThe produced logs can be opened in MSBuild Log Viewer.