Logo 
Search:

Asp.net Answers

Ask Question   UnAnswered
Home » Forum » Asp.net       RSS Feeds
  Question Asked By: Erica Matthews   on Dec 19 In Asp.net Category.

  
Question Answered By: Chad Bradley   on Dec 19

I just discovered a solution to my earlier problem - as a reference to
anyone else that might experience a similar issue:


When I first created these 2 pages  - each page  referred to its own .aspx.cs
file. After I made my changes (manually) to merge the two code-behinds
together - I made sure that there were no longer references in my aspx  files
to old aspx.cs files. Even though there weren't references in the code,
VS.Net still held a reference to the code-behind  page which I merged
(bblist.aspx.cs). In the Solution Explorer, I had to click "Show all files"
and then delete the file reference to that page -- afterwards then the
solution would build  just fine  in VS.

Share: 

 

This Question has 4 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Compile error when merging classes into a single namespace Or get search suggestion and latest updates.


Tagged: