Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error MSB4094: "xxx.Serialization.csproj;\xxx.Serialization.csproj" is an invalid value for the "Module" parameter of the "ResolveModuleContentTargetPath" task. #42

Open
zhanke opened this issue Dec 18, 2018 · 1 comment

Comments

@zhanke
Copy link

zhanke commented Dec 18, 2018

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:

  1. In web root project in visual studio, expand references node and remove all dynamic references
  2. Add any project reference that would have been picked up by dynamic reference to web root project manually
    1. In the example below, foundation serialization project was added.
  3. 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]

Thank you!

@rbatallasOshyn
Copy link

I have this issue right now with the latest version, does anyone know how to fix it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants