When I pack a .nuspec file to generate a package, which contains some files in the different folder, but a file exists on both folder, then I pack this .nuspec file. NuGet pack it successfully, but just include one and not throw the error.
My .nupsec file like:
<files>
<file src="foo\test.dll" target="Tools" />
<file src="bar\test.dll" target="Tools" />
</files>
I know I may overwrite the dll file in the tools folder, but NuGet should throw the error or warning about this overwriting.
Any suggestion?