0

I'm trying to deploy my first C# web app using Visual Studio 2013, and the web deployment package fails with the message

Error 43 Copying file Content\lib\bootstrap-timepicker\Gruntfile.js to obj\Release\Package\PackageTmp\Content\lib\bootstrap-timepicker\Gruntfile.js failed. Could not find file 'Content\lib\bootstrap-timepicker\Gruntfile.js.

and the item itself displays

The item 'Gruntfile.js' does not exist in the project directory. It may have been moved, renamed, or deleted.

when attempting to open it. Gruntfile.js appears in numerous project folders, not just the one folder in which it carries the warning logo.

Where can I get a copy of just the bootstrap-timepicker Gruntfile.js, and how should it be imported into the project? The "Getting Started" and "Installing Grunt" sections of the gruntjs website seem to only discuss the original acquiring of the product, not necessarily how to recreate a corrupted version. Thanks in advance!

17
  • was bootstrap timepicker installed via nuget? If so you could try re-installing the nuget package
    – ADyson
    Commented Nov 30, 2016 at 15:26
  • Thanks for the response ADyson! Someone else set up the project, but I will check on that.
    – jle
    Commented Nov 30, 2016 at 15:31
  • you can check easily by looking in the "Manage Nuget Packages" option for the project (right-click on the project file) - you don't need to ask the project creator.
    – ADyson
    Commented Nov 30, 2016 at 15:41
  • Thanks again - the "Installed Packages" under "Manage Nuget Packages" shows a few jQuery files, but nothing to indicate Grunt or Gruntfile.js.
    – jle
    Commented Nov 30, 2016 at 15:53
  • gruntfile.js is part of the "bootstrap timepicker" package (as suggested by the path you gave). That's what you want to be looking for in the list (or something similar).
    – ADyson
    Commented Nov 30, 2016 at 15:55

1 Answer 1

1

It looks like it's a file missing in one of your folders. And it looks like this component: https://github.com/jdewit/bootstrap-timepicker

You can download the gruntfile.js from there, and (just using Windows Explorer) paste it into the folder location specified in the error message. If it's named as part of the project already Visual Studio will pick up that it's been added, or you can refresh the folder in the Solution Explorer view.

Do the same for any other missing files. You can see what's missing in Visual Studio because the files will have a little yellow triangle next to them containing an exclamation mark.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.