none
Getting Error When Creating Package using Visual Studio 2012 RRS feed

  • Question

  • Getting Error When going to create a package , and i am use visual studio 2012.....please see below error :

    The "StyleCopTask" task could not be loaded from the assembly C:\TFS\xCR\Dev\Lib\StyleCop\*Undefined*\..\Lib\StyleCop\StyleCop.dll. Could not load file or assembly 'file:///C:\TFS\xCR\Dev\Lib\StyleCop\Lib\StyleCop\StyleCop.dll' or one of its dependencies. The system cannot find the file specified. Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask.
    Tuesday, December 3, 2013 12:11 PM

All replies

  • Hi Gupta,

    Could you share us more information about this issue? How did you create package with VS2012? Which kind of app are you using? Is it related to web deploy packages or Clickonce?

    http://blogs.msdn.com/b/webdev/archive/2012/08/09/how-to-create-web-deploy-packages-in-visual-studio-2012.aspx

    http://msdn.microsoft.com/en-us/library/t71a733d(v=vs.110).aspx

    Best Regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Wednesday, December 4, 2013 10:13 AM
  • Yes.. I am use third Party (Rad Gate Deployment Manager) for creating Package or nuget..

    While i am going to build then no error is coming, then i am going to create nuget or package then error is shown....

    and if i am going to Exclude stylecop file then error is not shown and package is created successfully..

    Please suggest me what to do to solve this issue...

    Wednesday, December 4, 2013 10:21 AM
  • Hi Gupta,

    Actually I want to help you find the correct forum for this issue, since it is not the VS General issue. This forum is to discuss:

    Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System, and Visual Studio Editor.

    I am use third Party (Rad Gate Deployment Manager) for creating Package or nuget..

    But if you use the third party tool for it, I’m afraid that it is really out of support range of MSDN forums. Maybe you could get the better support from the following web site:

    http://www.red-gate.com/delivery/deployment-manager/

    Best Regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Thursday, December 5, 2013 6:38 AM