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

Visual Studio ignores grunt.targets #4

Open
munkyjunky opened this issue May 28, 2014 · 3 comments
Open

Visual Studio ignores grunt.targets #4

munkyjunky opened this issue May 28, 2014 · 3 comments

Comments

@munkyjunky
Copy link

After installing Ncapsulate.Grunt, nothing in App_Build/grunt.targets seems to work.

From the command line, running grunt clean successfully runs the clean task through grunt.cmd, however the following target does not run the clean task after running clean through Visual Studio.

<Target Name="Grunt-AfterClean" AfterTargets="AfterClean">
    <Grunt Tasks="clean" />
</Target>

This is one example - none of my targets appear to work.

@javierfigueroa
Copy link

This is working for me. Did you try installing the package in a clean project and running a simple grunt build?

@vasco3
Copy link
Contributor

vasco3 commented Sep 9, 2014

I have the same issue with gulp. I just want to run the default from the gulpfile.

<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <Target Name="Gulp-AfterBuild" AfterTargets="Npm">
    <Gulp />
  </Target>
</Project>

@vasco3
Copy link
Contributor

vasco3 commented Sep 10, 2014

Ok it seemed that Visual Studio was locking the output folder. I restarted my Computer and now it works fine.

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