locked
Upgrade 2008 project, build, error, VS2010 crashes(final release version) - Failed to execute command resgen.exe the file handle is invalid RRS feed

  • Question

  • Not sure why this is happening. First time building after opening the project I see this error error. Second time building this error gets listed twice in the error window and then Visual Studio locks up and crashes.(The crash doesn't always happen, but never the first build after opening the project.

     

    Error 33 Failed to execute command: ""C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\ResGen.exe" /useSourcePath /r:C:\Source\VS.NET\Common\SSCL.SQS.Common\SolutionBin\Agora.Framework.Data.Helpers.dll /r:C:\Source\VS.NET\Common\SSCL.SQS.Common\SolutionBin\Agora.Framework.ExceptionManagement.dll /r:C:\Source\VS.NET\Common\SSCL.SQS.Common\SolutionBin\Agora.Framework.ExceptionManagement.Publishers.dll /r:C:\Source\VS.NET\Common\SSCL.SQS.Common\SolutionBin\Agora.Framework.ExceptionManagement.Publishers.XmlSerializers.dll /r:C:\Source\VS.NET\Common\SSCL.SQS.Common\SolutionBin\Agora.Framework.ExceptionManagement.Shared.dll /r:C:\Source\VS.NET\Common\SSCL.SQS.Common\SolutionBin\Agora.Framework.SectionHandler.dll /r:C:\Source\VS.NET\Common\SSCL.SQS.Common\SolutionBin\Agora.Framework.Validation.dll /r:C:\Source\VS.NET\WinApplications\SSCL.SQS.WIN\Agora.Framework.Win.UI.Resources\bin\Debug\Agora.Framework.Win.UI.Resources.dll /r:C:\Windows\Microsoft.NET\Framework\v2.0.50727\Microsoft.VisualBasic.dll /r:C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll /r:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.configuration.dll /r:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Data.dll /r:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.dll /r:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Drawing.dll /r:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Web.dll /r:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Windows.Forms.dll /r:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Xml.dll /compile Forms\BaseFormEntry.resx,obj\Debug\Agora.Framework.Win.UI.Forms.BaseFormEntry.resources Forms\ErrorReportForm.resx,obj\Debug\Agora.Framework.Win.UI.Forms.ErrorReportForm.resources Forms\LoginForm.resx,obj\Debug\Agora.Framework.Win.UI.Forms.LoginForm.resources". The handle is invalid. C:\Source\VS.NET\WinApplications\SSCL.SQS.WIN\Agora.Framework.Win.UI\TRACKER Agora.Framework.Win.UI


    Note: I am targeting .NET 3.0. Same thing happens when I try 3.5. 

    Error goes away when I try 4.0, but then it starts complaining the ServiceModel doesn't exist in namespace System. But that's another issue, right now this needs to work in 3.0.

    There also seems to be the following bug reports, that we're apparantly issues in the RC but were considered fixed? Doesn't seem to be any answers.

    https://connect.microsoft.com/VisualStudio/feedback/details/543804/?wa=wsignin1.0
    http://social.msdn.microsoft.com/Forums/en-US/vseditor/thread/47f9254f-dacf-4239-8bd5-e5a683f88b77

    Thursday, April 29, 2010 1:37 PM

All replies

  • Hey, someone from Microsoft posted a workaround on the connect bug link you mentioned. Did you try his suggestion? You can click on the "Workarounds" tab or under Workarounds\view in the upper right border of the page.

    Thanks,


    If this answers your question, please use the "Answer" button to say so | Ben Cline
    Friday, April 30, 2010 3:07 AM