Survey Forums

HomeHomeSurvey Project ...Survey Project ...DevelopmentDevelopmentissue with compiling 1.2 source code projectissue with compiling 1.2 source code project
Previous
 
Next
New Post
3/22/2010 1:32 AM
 

I have a question on how to load the 1.2 source code using Visual Studio 2005 (SP1)

I opened the .sln project file and proceeded to compile the program.  During compiling the error "could not load type surveylistcontroloverview" appears.  I couldn't figure out why as the web control does appear to exist.  To move on I proceeded to exclude that web control from the project and then I was able to compile.

However next I tried changing the codebehind on the login.aspx.cs page code and realized even with syntax errors VS2005 does not throw an error (Votations.NSurvey.WebAdmin).  Thinking its probably because the project is using the library in the bin directory, I proceeded to exclude Votations.NSurvey.WebAdmin library in the bin directory.  Unfortuately this causes more errors.  This leads me to think that Votations.NSurvey.WebAdmin library is not being created in the project when compiled. 

My questions is, what am I doing wrong and how do I get the project to use the source code instead of the bin library?  Sorry for the amateurish question.

 
New Post
3/22/2010 2:17 AM
 

 Hello,

Concerning the surveylistcontroloverview error, you were right to exclude the file from the project. By mistake they were uploaded along with the sourcefiles for survey 120 to codeplex. Files involved:

[SurveyList.aspx - not in sourcefiles]
SurveyListControlOverview.ascx
SurveyListControlOverview.ascx.cs
SurveyListControlOverview.ascx.resx

They were meant to create a startingpage from where all surveys can be selected to login to. These files have now been removed from the codeplex sources.

Kind regards
Fwsmaster
 

 
New Post
3/22/2010 11:08 PM
 

 Hello,

Here's a brief overview of the Survey 1.2.0 solutions structure:

Solution: Nsurvey_webadmin
 
Projects:
 
NSurvey_Webadmin
Votations.Nsurvey.BE
Votations.Nsurvey.BLL
Votations.Nsurvey.DAL
Votations.Nsurvey.Emailing
Votations.Nsurvey.SqlserverDAL
Votations.Nsurvey.Userprovider
Votations.Nsurvey.Webcontrols
 
 
Fysical files for the Votation projects are in the Reflector directory.
Fysical files for the NSurvey_Webadmin project are in the rootdirectory of the solution
 
Votation projects reference the other projects (no dll's); 
 
Only exception are references to the FreeTextBox.dll (in the bin directory of the rootdirectory) for the Nsurvey_webadmin project 
and the Webcontrols project.
 
Finally there's the webchart.dll in the bin directory of the rootdirectory which is not referenced through any of the projects.

Hopefully this help to solve your issues.

Kind regards,
Fwsmaster 
 
 
New Post
3/23/2010 10:33 AM
 

Thanks for the explanation.  Here are the steps to reproduce my problem:

1.  Open NSurvey_WebAdmin.sln using VS2005. (tried NSurvey_WebAdmin.csproj as well)
2.  In the NSurveyAdmin\Login.aspx.cs add any code (I added "Response.Write("ABC");" in the page_load event)
3.  Place a breakpoint on that line
4.  Build/Re-Build the solution and start debugging (debug already set to true in the web.config)
5.  The new line of code never ran.  (in VS the line break will have a error the source code is different from the original version)

If I tried excluding the Votations.NSurvey.WebAdmin.dll library in the bin directory, many errors appear starting with "could not load type Votations.NSurvey.WebAdmin.Login".

It appears as if the project is not creating a new Votations.NSurvey.WebAdmin.dll.  Is there a setting I am missing in VS?

 
New Post
3/24/2010 6:53 PM
 

I guess my question is how would I go about to create a new Votations.NSurvey.WebAdmin.dll?

 
Previous
 
Next
HomeHomeSurvey Project ...Survey Project ...DevelopmentDevelopmentissue with compiling 1.2 source code projectissue with compiling 1.2 source code project