Click here to Skip to main content
11,631,992 members (73,062 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# ASP.NET Silverlight
I know how to run stylecop from console application. But need to know from run from silverlight or any how display output on aspx or .xaml page
Posted 25-Dec-12 19:36pm
Comments
Sergey Alexandrovich Kryukov at 26-Dec-12 1:41am
   
First of all, I would not recommend using StyleCop at all. Are you using FxCop? That is more useful. Some styles are just silly, such as alphabetically ordered "using". Why? Develop nice style and follow it, use Microsoft recommendations...

—SA
supriya29 at 26-Dec-12 1:53am
   
its ok with FXCop aslo but i want whatever output getting by StyleCop/FXcop
is display on page( silver light or aspx). that means want StyleCop/FxCop run from code and display output for user). its Requirement from Management.:(
Sergey Alexandrovich Kryukov at 26-Dec-12 2:23am
   
What I put in my answer is equally related to FxCop...

What do you mean "run from code", anyway? Those are two utilities which get you code files in input and help to improve (or "improve" :-) them, that's all. The use of them is pretty much the same kind of build step as compilation and the like. You need to have a validation project, or a build step in existing project. Is that clear?

And please don't tell me about your management. If you are not the person who can make a decision related to the question, we are talking to a wrong person. If you allow your management to think for you, let you management ask us questions. Otherwise, your relationship with your management is your problem. Of course, if it's not good enough, I'm really sorry.

—SA
supriya29 at 31-Dec-12 3:54am
   
Sorry, but you don't need to tell,hows my relationship with management and all. i got my solution and it is working very fine. thanx for u r reply.
Sergey Alexandrovich Kryukov at 31-Dec-12 11:51am
   
Good. Happy New Year.
—SA
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

First, please see my comment to the question.

You don't think you know how to run it, otherwise you would understand that it does not matter in what application do you run it. But the application needs to be installed where you run it, that's all.

I doubt you understand the purpose of this application, otherwise you would not call it from your application. It is usually called as a build step from the project. It's input is your source files. Again, there would be no difference if this is a Web application or not — the styles are checked before deployment, so you do it on the developer's computer.

Finally, I don't see how StyleCop question can be related to the question on Silverlight "output on aspx or .xaml page" and I don't see how it may make any sense, sorry.

—SA
  Permalink  
Comments
Orcun Iyigun at 26-Dec-12 2:06am
   
Most of the time when I read your answers, automatically my brain force me to click +5 :)
Sergey Alexandrovich Kryukov at 26-Dec-12 2:18am
   
You are a flatterer. Thank you very much though. :-)
—SA
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

  Permalink  
Comments
supriya29 at 26-Dec-12 1:53am
   
want whatever output getting by StyleCop/FXcop
is display on page( silver light or aspx). that means want StyleCop/FxCop run from code and display output for user). its Requirement from Management.:(

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 8,393
1 Sergey Alexandrovich Kryukov 8,044
2 Mika Wendelius 6,260
3 F-ES Sitecore 2,321
4 Suvendu Shekhar Giri 1,970


Advertise | Privacy | Mobile
Web02 | 2.8.150728.1 | Last Updated 26 Dec 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100