Skip to content

Tool to convert project dependencies to MSBuild project references

License

Notifications You must be signed in to change notification settings

vbaderks/ConvertProjDepToProjRef

Repository files navigation

Convert Project Dependencies to MSBuild Project references

ConvertProjDepToProjRef is a tool to convert project dependencies in a Visual Studio solution file (.sln) into MSBuild project references (ProjectReference) in project files. It will do 95% of the work.
Project dependencies in an .sln file are an older method to define build dependencies and are slower because MSBuild must first create meta projects files.

Features

  • .NET 8.0 App.

Build Instructions

  • git clone
  • dotnet build

Usage Instructions

  • Run the tool on a solution file: ConvertProjDepToProjRef.exe MySolution.sln
  • Update C++ projects that only perform custom builds as ConfigurationType “Utility”
  • Remove the RuntimeIdentifier element for C# projects that only perform custom builds
  • Use a text editor to remove the ProjectSection(ProjectDependencies) = postProject sections from the .sln file.

About

Tool to convert project dependencies to MSBuild project references

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages