Click here to Skip to main content
15,895,746 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
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
Comments
Sergey Alexandrovich Kryukov 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 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 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 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 31-Dec-12 11:51am    
Good. Happy New Year.
—SA

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
 
Share this answer
 
Comments
Orcun Iyigun 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 26-Dec-12 2:18am    
You are a flatterer. Thank you very much though. :-)
—SA
 
Share this answer
 
Comments
supriya29 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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900