Unable to build reporting services using command prompt MSBUILD

Unanswered Unable to build reporting services using command prompt MSBUILD

  • Friday, November 11, 2011 7:01 PM
     
     
    Hi,

      ReportingServices2008\licenses.licx(1): error LC0004: Exception occurred crea
    ting type 'PerpetuumSoft.ReportingServices.Viewer.Server.ReportServiceRemote, P
    erpetuumSoft.ReportingServices.Viewer.Server, Version=2.8.0.0, Culture=neutral,
     PublicKeyToken=8a6ae0a3e67829b5' System.IO.FileLoadException: Could not load f
    ile or assembly 'PerpetuumSoft.Framework, Version=2.8.0.0, Culture=neutral, Pub
    licKeyToken=8a6ae0a3e67829b5' or one of its dependencies. Strong name validatio
    n failed. (Exception from HRESULT: 0x8013141A)

      I'm in the process of creating a automated build for multiple application using msbuild in command prompt . When i tried building one of my applications, i got the above error.  The error happens when i try to build my application using msbuild from command prompt but if i build using visual studio everything looks fine...    

    Is this an issue has anything to do with msbuild vs reporting services?

    Any ideas???

     

All Replies

  • Sunday, November 13, 2011 6:11 PM
     
     

    Hi,

     

    Where are you guys??...No replies so..far...

     

    Guys pls help me as i'm yet to resolve this issue.

    Whats the difference between build using visual studio and msbuild using command prompt??

    I'm getting errors only when building using msbuild incommand prompt..I've resolved some errors in the past by modifying code..

    How can i modify code each time i get these kind of errors as i'm in the process of creating an onclick automation tool for builds/publish??

    Is there any way to achieve build process - similar to one which visual studio uses - using msbuild in command prompt

     

    Replies much awaited!!!


    Vinayak Prabha
  • Monday, November 14, 2011 7:49 AM
    Moderator
     
     

    Hi Vinayak,

    >>The error happens when i try to build my application using msbuild from command prompt but if i build using visual studio everything looks fine...

    Does the VS ide and the MSbuild.exe using the same project file? If not, please find the difference between these two project files.

    And please try to create a new project , see whether this issue still exists.

    If this issue still exists, please see the following blog, see whether the workarounds mentioned in this blog are helpful:

    Difference in MSBUILD from command-line versus IDE (paths and backslashes)

    http://blogs.msdn.com/b/mab/archive/2006/07/28/682041.aspx

     

    Best regards,

    Lucy


    Lucy Liu [MSFT]
    MSDN Community Support | Feedback to us
  • Friday, November 18, 2011 6:28 AM
    Moderator
     
     

    Hi Vinayak,

    Have you solved this issue?

    If yes, please mark the useful reply as answer.

    If not, please feel free to let us know.

    Thank you for your understanding!

     

    Best regards,

    Lucy


    Lucy Liu [MSFT]
    MSDN Community Support | Feedback to us
  • Monday, November 21, 2011 9:45 AM
    Moderator
     
     

    Hi Vinayak,

    I temporary make my last reply as answer. You can unmark it if they provide no help.

    Thank you for your understanding!

     

    Best regards,

    Lucy


    Lucy Liu [MSFT]
    MSDN Community Support | Feedback to us
  • Thursday, December 01, 2011 5:21 AM
     
     

    Hi lucy,

    Sorry for the late reply. I was actually into some other projects.

    I've get rid of the above error by installing a reporting services installer file.

    But my issue has not been resolved yet. When using MSBUILD it'll say unable to copy xap file...

    I had similar kind of problem in the past : SilverlightUnitTest project not getting build when using MSBUILD in command prompt but works fine with VS build ( All projects i'm referring are silverlight projects). But what i've done then was exclude the xap file of SilverlightUnitTest from the web project as we no longer using that project. But i can't do the same here as when i tried that, my reporting services are not working.

     

    Please let me know if you have any ideas!!!


    Vinayak Prabha