This project has moved. For the latest updates, please go here.
1

Closed

Unable to Import-Module

description

Hi there. I just found a small issue if I use Install-Module -Name Invoke-MsBuild to install your module. Installation works but then I can't use Import-Module -Name Invoke-MSBuild to import and use it. Apparently it is due your Invoke-MsBuild.psd1 file, where the RootModule is referencing to some invalid directory. Removing the directory (and leave only Invoke-MsBuild.psm1 solve my issue. Can you update the script?
Closed Mar 7, 2016 at 12:56 AM by deadlydog
Thanks for reporting the issue. I was suspicious of using an absolute file path in there, but the examples I was looking at for making the .psd1 were using an absolute file path. I've updated the package. Let me know if you still have a problem. Thanks.

Fixed in 1.6.1.2

comments

wkit23 wrote Mar 7, 2016 at 3:42 AM

Yupe! It's fixed! Thanks a lot!