Survey Forums

HomeHomeSurvey Project ...Survey Project ...DevelopmentDevelopmentquestion about the code designquestion about the code design
Previous
 
Next
New Post
6/28/2010 11:04 PM
 

Posted on behalf of Eran:

Hi there!,

I'm tring to use the Nsurey source engine but i have couple of question about the code design.
I'm using the source code, and i noticed that there are many duplicated *.cs files, in the NSurveyAdmin and Reflector directories, can you please explain me the propose and where i can make changes that effect the working aspx page.
Just for you know i think i found very minor bug with a single lable translation,
And i'm working on updating he-IL Language file.

Thanks,
Eran.

 
New Post
6/28/2010 11:11 PM
 

Hello Eran,

Concering the "duplicate" cs files at the codeplex website, please go to the Downloads menu.

Select Change Set 46616.
Next select Browse.
Then go to the Trunk directory.

This is where you can view the original directory structure without any  "duplicates".

The NSurveyAdmin directory is where you will find the files for the Survey webapplication.
The Reflector Directories contain all subprojects.

Concering the language fix. With any luck we will release Survey version 1.2.2. next weekend. This will contain several language fixes and additions to the xml files. Meanwhile we would certainly appreciate your contribution to the HE-IL language file.
 

 
New Post
6/28/2010 11:53 PM
 

Thanks for your response,

First of all good job with this project! very useful...

I've already downloaded the trunk directory and have been working on it for some days now,

The duplicated files i mentioned are like this for example:

trunk\Reflector\Nsurvey_WebAdmin\Votations.NSurvey.WebAdmin\Login.cs

trunk\NSurveyAdmin\Login.aspx.cs

these two file have very similar code, and my question is when i want to add some code, where should i add it to?

(and this is relevant for all *.cs files in the trunk\NSurveyAdmin\ directory.)

 

The second thing is about the solution in visual studio,

I'm using visual studio 2010 and when i open the solution in the trunk the Votations.NSurvey.WebAdmin project is not loading,

so i cant get the Votations.NSurvey.WebAdmin.dll to rebuilt,

when i add manually the project file to the solution i get some compiling errors like these:

Error 245 'Image' is an ambiguous reference between 'System.Drawing.Image' and 'System.Web.UI.WebControls.Image' \trunk\Reflector\Nsurvey_WebAdmin\Votations.NSurvey.WebAdmin\ResultsReporting.cs 34 19 Votations.NSurvey.WebAdmin
 

Error 19 Cryptographic failure while signing assembly '\trunk\Reflector\Nsurvey_WebAdmin\obj\Debug\Votations.NSurvey.WebAdmin.dll' -- 'Error reading key file 'd:\nsurvey\nsurvey.snk' -- The system cannot find the path specified. ' Votations.NSurvey.WebAdmin
 

and around 60 errors like this one:

Error 74 'WebChart.ChartDataLabels.NumberFormat.set': cannot explicitly call operator or accessor C:\Users\Eran\Desktop\trunk\Reflector\Nsurvey_WebAdmin\Votations.NSurvey.WebAdmin\PieChartReport.cs 69 33 Votations.NSurvey.WebAdmin
 

I've managed to fix these errors but i wonder why do they appear in my compilation??

 

Thanks again,

Eran.

 
New Post
6/29/2010 12:15 AM
 

You're welcome, nice to see you're taking a serious interest.

Please use the files in the trunk/nsurveyadmin directory to create any changes.

Concering the VS 2010 issues, please check this thread, VS 2005 related, could it be a similar cause (project not concidered as webapplication)?
http://www.surveyproject.info/Forums/tabid/107/forumid/4/threadid/4/scope/posts/threadpage/2/language/en-US/Default.aspx
 

 
Previous
 
Next
HomeHomeSurvey Project ...Survey Project ...DevelopmentDevelopmentquestion about the code designquestion about the code design