1

Closed

Playing nice with StyleCop

description

I don't for a minute suggest modifying the templates to conform to Stylecop's idea of laying things out, but how about adding the following into the GenUsings method as well as the method that generates the default connection string name (GenDatabaseClass)
 
// <auto-generated />
 
Stylecop will then ignore these files when doing it's analysis (so will Resharper for that matter)
 
Thanks
 
Peter van der Merwe
Closed Nov 19, 2010 at 7:54 AM by petervdm

comments

jbudimir wrote Nov 18, 2010 at 8:08 PM

Solved. I don't use Stylecop, so if it's not a problem for you, please download the 1.0.2 ALPHA version and test is everything ok.
Regards,
Josip

wrote Nov 18, 2010 at 8:08 PM

petervdm wrote Nov 18, 2010 at 9:51 PM

Thanks Josip,

I downloaded and installed 1.0.2 A but the fix is not there (still reports as 1.0.1 in the Extension Manager).
Not a problem for me though, the change you made was the same as mine.

How do I contribute to this project? I have started working on a NameValueListBase template.

Peter

petervdm wrote Nov 18, 2010 at 10:01 PM

Sorry - disregard that last comment - there is a slight problem with the change to the template. The Database connection update is fine but the auto-generated tag for all the csla bo's is incorrect. Try this

private void GenUsings()
{

>

// <auto-generated />
//

Thanks

Peter

jbudimir wrote Nov 18, 2010 at 10:02 PM

Solved



** Closed by jbudimir 18/11/2010 13:08

petervdm wrote Nov 18, 2010 at 10:02 PM

Please see the last comment I added.

Thanks

Peter

wrote Nov 18, 2010 at 10:02 PM

wrote Nov 19, 2010 at 7:54 AM

wrote Feb 14, 2013 at 6:01 PM

wrote May 16, 2013 at 7:36 AM