Unified publishing for Sitecore Helix solutions that extends existing Visual Studio and command line workflows
MIT License
68
stars
18
forks
source link
error MSB4094: "xxx.Serialization.csproj;\xxx.Serialization.csproj" is an invalid value for the "Module" parameter of the "ResolveModuleContentTargetPath" task. #42
This is probably a very low priority issue since it's due to incorrect setup in the first place. Just represents one extreme scenario.
Steps to replicate:
In web root project in visual studio, expand references node and remove all dynamic references
Add any project reference that would have been picked up by dynamic reference to web root project manually
In the example below, foundation serialization project was added.
Build project
Error:
CollectFilesFrom_binDeployableAssemblies: Gather all files from Project items @(_binDeployableAssemblies). Adding: 1>...\RichardSzalay.Helix.Publishing.WebRoot.1.4.4\build\Helix.Publishing.Plugins\CollectFilesFromHelixModules.Additional.targets(36,9): error MSB4094: "..\..\Foundation\Serialization\code\xxx.Serialization.csproj;..\..\Foundation\Serialization\code\xxx.Serialization.csproj" is an invalid value for the "Module" parameter of the "ResolveModuleContentTargetPath" task. Multiple items cannot be passed into a parameter of type "Microsoft.Build.Framework.ITaskItem". [....csproj]
This is probably a very low priority issue since it's due to incorrect setup in the first place. Just represents one extreme scenario.
Steps to replicate:
Error:
CollectFilesFrom_binDeployableAssemblies: Gather all files from Project items @(_binDeployableAssemblies). Adding: 1>...\RichardSzalay.Helix.Publishing.WebRoot.1.4.4\build\Helix.Publishing.Plugins\CollectFilesFromHelixModules.Additional.targets(36,9): error MSB4094: "..\..\Foundation\Serialization\code\xxx.Serialization.csproj;..\..\Foundation\Serialization\code\xxx.Serialization.csproj" is an invalid value for the "Module" parameter of the "ResolveModuleContentTargetPath" task. Multiple items cannot be passed into a parameter of type "Microsoft.Build.Framework.ITaskItem". [....csproj]
Thank you!