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

.\UpdateNFDependencyVersion.ps fails on a couple of projects #48

Open
bryancostanich opened this issue Jun 8, 2018 · 1 comment
Open
Assignees

Comments

@bryancostanich
Copy link
Contributor

When you run it, it pukes on MCP23008 and x74595

C:\Users\bryan costanich\GitRepos\wlabs\Netduino.Foundation\Source [master ≡ +0 ~52 -0 !]> .\UpdateNFDependencyVersion.ps1 0.17
Peripheral_Libs/Displays.GraphicsLibrary/Driver
Peripheral_Libs/Displays.LCD.Lcd2004/Driver
Peripheral_Libs/Displays.MicroLiquidCrystal/Driver
Peripheral_Libs/Displays.SerialLCD/Driver
Peripheral_Libs/Displays.TextDisplayMenu/Driver
Peripheral_Libs/ICs.EEPROM.AT24Cxx/Driver
Peripheral_Libs/ICs.IOExpanders.MCP23008/Driver
Get-Content : Cannot retrieve the dynamic parameters for the cmdlet. The specified wildcard character pattern is not
valid: System.Object[]
At C:\Users\bryan costanich\GitRepos\wlabs\Netduino.Foundation\Source\UpdateNFDependencyVersion.ps1:25 char:22
+ ... xml = [xml](Get-Content ("{0}\{1}" -f $file.DirectoryName, $file.Name ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Get-Content], ParameterBindingException
    + FullyQualifiedErrorId : GetDynamicParametersException,Microsoft.PowerShell.Commands.GetContentCommand

Peripheral_Libs/ICs.IOExpanders.x74595/Driver
Exception calling "Save" with "1" argument(s): "Could not find a part of the path 'C:\Users\bryan
costanich\Documents\GitHub\System.Object[]\System.Object[]'."
At C:\Users\bryan costanich\GitRepos\wlabs\Netduino.Foundation\Source\UpdateNFDependencyVersion.ps1:57 char:17
+ ...             $xml.save(("{0}\{1}" -f $file.DirectoryName, $file.Name)) ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : DotNetMethodException

Peripheral_Libs/RTCs.DS323x/Driver
@NevynUK
Copy link
Collaborator

NevynUK commented Aug 16, 2018

I came across this earlier and think I've fixed it - looks like the script does not like two nuspec files in the drivers directory.

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

3 participants