/Community

A Support Community for SubMain Products
in Search
Welcome to SubMain Community Sign in | Join | Help

SubMain.CodeItRight.Cmd.exe generates empty(almost) output xml

Last post 10-16-2008, 12:28 AM by Serge B.. 11 replies.
Sort Posts: Previous Next
  •  09-09-2008, 9:12 AM 606

    SubMain.CodeItRight.Cmd.exe generates empty(almost) output xml

    Hi,

    We ran CodeIt.Right in VS 2008 against our solution. It took 16 seconds to generate a comprehensive report. We were able to generate a 1MB xml from there.

    However, when we ran SubMain.CodeItRight.Cmd.exe from c:\Program Files\SubMain\CodeIt.Right\ against the same solution. We only got a 30k xml file. The only error in there is strong name violation. The command we ran was: c:\Program Files\SubMain\CodeIt.Right>SubMain.CodeItRight.Cmd.exe /solution:"D:\Project\test.sln" /o:"1.xml" 

    We tried both 1.0.08035 and 1.1.8198.0.

    Is there anything we missed?

    Thanks.

    Kai

  •  09-09-2008, 9:14 PM 607 in reply to 606

    Re: SubMain.CodeItRight.Cmd.exe generates empty(almost) output xml

    Hi Kai,

    Build 1.0.08235 doesn't have functional CodeItRight.Cmd and requires separate update download. But 1.1.08198 has correct command line utility and should generate the same (or at least similar) XML report file.

    Do you have more than one profile and if so, did you switch generating the XML files? (Since you didn't specify the profile name in the CodeItRight.Cmd command line it used what ever profile was saved last in the .crdata file or the built-in profile.

    Can you please send in one email to support@submain.com

    1. XML report generated in VS
    2. XML report generated from command line
    3. Log file -  here is how to submit the log file

    Having these files for troubleshooting we will be able to be of better help without doing much guess work.

    Thank you!


    Thank you,
    Serge Baranovsky
    http://submain.com - .NET Developer Tools  |  Microsoft VB MVP  |  http://vbcity.com - VB Developer Community
    » » (Static Code Analysis + Automatic Refactoring) / Painless Coding Guidelines = CodeIt.Right - http://submain.com/codeit.right
    » » C#/VB .NET Coding Guidelines - FREE 100+ page ebook (PDF) http://submain.com/guidelines
  •  09-09-2008, 9:18 PM 608 in reply to 607

    Re: SubMain.CodeItRight.Cmd.exe generates empty(almost) output xml

    Also, you mentioned that both 1.0.08035 and 1.1.08198 produced the same files. This made me think that perhaps CodeItRight.Cmd wasn't updated when you installed 1.1.08198...

    CodeItRight.Cmd in 1.0.08035 was barely functional and produced very different file. While CodeItRight.Cmd in 1.1.08198 works correctly.


    Thank you,
    Serge Baranovsky
    http://submain.com - .NET Developer Tools  |  Microsoft VB MVP  |  http://vbcity.com - VB Developer Community
    » » (Static Code Analysis + Automatic Refactoring) / Painless Coding Guidelines = CodeIt.Right - http://submain.com/codeit.right
    » » C#/VB .NET Coding Guidelines - FREE 100+ page ebook (PDF) http://submain.com/guidelines
  •  09-10-2008, 11:38 AM 609 in reply to 607

    Re: SubMain.CodeItRight.Cmd.exe generates empty(almost) output xml

    Serge,

     Thanks fo the reply. I just sent the files.

     Kai

  •  09-10-2008, 11:16 PM 610 in reply to 609

    Re: SubMain.CodeItRight.Cmd.exe generates empty(almost) output xml

    Thank you, Kai. We will look at them and will get back to you shortly.

     


    Thank you,
    Serge Baranovsky
    http://submain.com - .NET Developer Tools  |  Microsoft VB MVP  |  http://vbcity.com - VB Developer Community
    » » (Static Code Analysis + Automatic Refactoring) / Painless Coding Guidelines = CodeIt.Right - http://submain.com/codeit.right
    » » C#/VB .NET Coding Guidelines - FREE 100+ page ebook (PDF) http://submain.com/guidelines
  •  09-26-2008, 5:51 AM 616 in reply to 610

    Re: SubMain.CodeItRight.Cmd.exe generates empty(almost) output xml

    Serg,

    I just tried the new v1.1.08262. It went farther. However it got an unhandled exception window on one project.The command line window shows: Process is terminated due to StackOverflowException

  •  09-26-2008, 11:34 PM 617 in reply to 616

    Re: SubMain.CodeItRight.Cmd.exe generates empty(almost) output xml

    Kai,

    Can you please email CodeIt.Right log file to us?

    Here is How to submit CodeIt.Right Log file to SubMain support

    Thank you!


    Thank you,
    Serge Baranovsky
    http://submain.com - .NET Developer Tools  |  Microsoft VB MVP  |  http://vbcity.com - VB Developer Community
    » » (Static Code Analysis + Automatic Refactoring) / Painless Coding Guidelines = CodeIt.Right - http://submain.com/codeit.right
    » » C#/VB .NET Coding Guidelines - FREE 100+ page ebook (PDF) http://submain.com/guidelines
  •  09-29-2008, 10:09 AM 618 in reply to 617

    Re: SubMain.CodeItRight.Cmd.exe generates empty(almost) output xml

    Serge,

    just sent to support@submain.com

  •  09-29-2008, 10:22 AM 619 in reply to 618

    Re: SubMain.CodeItRight.Cmd.exe generates empty(almost) output xml

    Thank you, Kai.

    We have received the log file. For the nature of the minimal error reporting we do in the console version, the final error details are missing there. But we can tell it failed in the very beginning while parsing.

    Can you please:

    • run "cmd" console 
    • run your CodeIt.Right.Cmd command in the console (it might be easier if you just create a batch file)
    • when it blows, select all text in the console window and send it back to us at support@submain.com

    Can you tell me a little about the solution you were getting the error with?

    Does CodeIt.Right work fine with the solution when inside of the Visual Studio?

    There is also a possibility to narrow down the issue by using the /Project switch and run the Cmd version against individual prjoects in the solution.

    Thank you!


    Thank you,
    Serge Baranovsky
    http://submain.com - .NET Developer Tools  |  Microsoft VB MVP  |  http://vbcity.com - VB Developer Community
    » » (Static Code Analysis + Automatic Refactoring) / Painless Coding Guidelines = CodeIt.Right - http://submain.com/codeit.right
    » » C#/VB .NET Coding Guidelines - FREE 100+ page ebook (PDF) http://submain.com/guidelines
  •  09-29-2008, 11:06 AM 620 in reply to 619

    Re: SubMain.CodeItRight.Cmd.exe generates empty(almost) output xml

    Serge,

    It failed when I ran the cmd against the whole solution. But it succeeded when I just ran against that project. I will send you both console window.

    The solution has about 10 projects and another 10 test projects. The one having the problem is one of the test projects. That test project has references of 4 production projects. I know I may not need to verify test projects but I think that could potentially happen on production code in the future.

    Yes, CodeIt.Right works fine in VS2008.

     

    Kai

  •  09-29-2008, 1:10 PM 621 in reply to 620

    Re: SubMain.CodeItRight.Cmd.exe generates empty(almost) output xml

    Kai,

    Thank you for the additional information.

    We will work with it and I will get back to you once we know the next step.

    Thank you!


    Thank you,
    Serge Baranovsky
    http://submain.com - .NET Developer Tools  |  Microsoft VB MVP  |  http://vbcity.com - VB Developer Community
    » » (Static Code Analysis + Automatic Refactoring) / Painless Coding Guidelines = CodeIt.Right - http://submain.com/codeit.right
    » » C#/VB .NET Coding Guidelines - FREE 100+ page ebook (PDF) http://submain.com/guidelines
  •  10-16-2008, 12:28 AM 624 in reply to 621

    Re: SubMain.CodeItRight.Cmd.exe generates empty(almost) output xml

    Hi Kai,

    We have solved the console version issue you reported. I will email you with download link for the build that contains the fix.

    Thank you!


    Thank you,
    Serge Baranovsky
    http://submain.com - .NET Developer Tools  |  Microsoft VB MVP  |  http://vbcity.com - VB Developer Community
    » » (Static Code Analysis + Automatic Refactoring) / Painless Coding Guidelines = CodeIt.Right - http://submain.com/codeit.right
    » » C#/VB .NET Coding Guidelines - FREE 100+ page ebook (PDF) http://submain.com/guidelines
View as RSS news feed in XML