473,473 Members | 3,363 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Visual Studio 2005 weird behavior


1. I created a Solution in VS 2005, the Solution "Solution 'Solution1' (0
projects)" shows up properly
2. then I added a New Web Site

At this point, the solution disappears from the solution explorer! I only
see the "web site" I expect it to say "Solution 'Solution1' (1 projects)"
This is weird, because we have 4 machines, 2 of them are having this
problem, but 2 are fine!!!??

3. To get the solution back, I have to add another proj or a Class Library,
4. Now, the solution shows up again "Solution 'Solution1' (2 projects)"

This is a annoying, because I cannot Check In the a standalone web site to
Source Safe with the .SLN file. I want to check-in a solution, not just web
site.

Is this a bug? or is it some settings I need to tweak? Thanks for help in
advanced

John
Dec 19 '06 #1
6 1168
I had normal behavior until I copied some files into another folder and then
hacked the project file to point to the new location. After that, I have had
your problem. Doing a repair reinstall did not help me at all. From my
google research, I think that this behavior is part of the 'Team' version of
VS and that, when I messed it up, I made my version confused as to what
version it is when it sets up an ASP solution. In other words, part of my
Standard version of VS thinks it is the Team version. That's my suspicion at
least.

There is a thread on this forum going back to Aug. or Sept. on this issue.
Dec 19 '06 #2
"00_DotNetWarrior" <00**************@gmail.comwrote in message
news:45**********************@news.astraweb.com...
>
1. I created a Solution in VS 2005, the Solution "Solution 'Solution1' (0
projects)" shows up properly
2. then I added a New Web Site

At this point, the solution disappears from the solution explorer! I only
see the "web site" I expect it to say "Solution 'Solution1' (1 projects)"
This is weird, because we have 4 machines, 2 of them are having this
problem, but 2 are fine!!!??

3. To get the solution back, I have to add another proj or a Class
Library,
4. Now, the solution shows up again "Solution 'Solution1' (2 projects)"

This is a annoying, because I cannot Check In the a standalone web site to
Source Safe with the .SLN file. I want to check-in a solution, not just
web site.

Is this a bug? or is it some settings I need to tweak? Thanks for help in
advanced
Check Tools|Options|Projects and Solutions|General|Always Show Solution from
the menu - you want that checkbox checked.

-cd
Dec 19 '06 #3
websites do not have a project file. therefore there is no solution
associated with the website. when you add a project, then you have a
project, with a solution and a website in that solution.

if you have a standalone website, you have no need of a solution, so no
need to check one in. just add the site to source control and you're
done. if you want a solution file, then you need to add a project to it.

-- bruce (sqlwork.com)
00_DotNetWarrior wrote:
1. I created a Solution in VS 2005, the Solution "Solution 'Solution1' (0
projects)" shows up properly
2. then I added a New Web Site

At this point, the solution disappears from the solution explorer! I only
see the "web site" I expect it to say "Solution 'Solution1' (1 projects)"
This is weird, because we have 4 machines, 2 of them are having this
problem, but 2 are fine!!!??

3. To get the solution back, I have to add another proj or a Class Library,
4. Now, the solution shows up again "Solution 'Solution1' (2 projects)"

This is a annoying, because I cannot Check In the a standalone web site to
Source Safe with the .SLN file. I want to check-in a solution, not just web
site.

Is this a bug? or is it some settings I need to tweak? Thanks for help in
advanced

John

Dec 20 '06 #4
Thanks a lot Carl, your solution works!!!! Thanks again.. I have been
looking for the options but must have overlooked.

"Carl Daniel [VC++ MVP]" <cp*****************************@mvps.org.nospam >
wrote in message news:%2****************@TK2MSFTNGP04.phx.gbl...
"00_DotNetWarrior" <00**************@gmail.comwrote in message
news:45**********************@news.astraweb.com...
>>
1. I created a Solution in VS 2005, the Solution "Solution 'Solution1' (0
projects)" shows up properly
2. then I added a New Web Site

At this point, the solution disappears from the solution explorer! I
only see the "web site" I expect it to say "Solution 'Solution1' (1
projects)"
This is weird, because we have 4 machines, 2 of them are having this
problem, but 2 are fine!!!??

3. To get the solution back, I have to add another proj or a Class
Library,
4. Now, the solution shows up again "Solution 'Solution1' (2 projects)"

This is a annoying, because I cannot Check In the a standalone web site
to Source Safe with the .SLN file. I want to check-in a solution, not
just web site.

Is this a bug? or is it some settings I need to tweak? Thanks for help
in advanced

Check Tools|Options|Projects and Solutions|General|Always Show Solution
from the menu - you want that checkbox checked.

-cd


Dec 20 '06 #5
There is no project file, but there is a solution file. VS2005 actually
saves a sln file in your MyDocuments when you create a web site.

See Carl Daniel's solution in this thread.
"bruce barker" <no****@nospam.comwrote in message
news:eQ****************@TK2MSFTNGP06.phx.gbl...
websites do not have a project file. therefore there is no solution
associated with the website. when you add a project, then you have a
project, with a solution and a website in that solution.

if you have a standalone website, you have no need of a solution, so no
need to check one in. just add the site to source control and you're done.
if you want a solution file, then you need to add a project to it.

-- bruce (sqlwork.com)
00_DotNetWarrior wrote:
>1. I created a Solution in VS 2005, the Solution "Solution 'Solution1' (0
projects)" shows up properly
2. then I added a New Web Site

At this point, the solution disappears from the solution explorer! I
only see the "web site" I expect it to say "Solution 'Solution1' (1
projects)"
This is weird, because we have 4 machines, 2 of them are having this
problem, but 2 are fine!!!??

3. To get the solution back, I have to add another proj or a Class
Library,
4. Now, the solution shows up again "Solution 'Solution1' (2 projects)"

This is a annoying, because I cannot Check In the a standalone web site
to Source Safe with the .SLN file. I want to check-in a solution, not
just web site.

Is this a bug? or is it some settings I need to tweak? Thanks for help
in advanced

John

Dec 20 '06 #6
00_DotNetWarrior wrote:
Thanks a lot Carl, your solution works!!!! Thanks again.. I have been
looking for the options but must have overlooked.
Understandable. There's something like 2000 settings in VS2005, so it's
easy to miss one or two! If you don't believe that number, just export the
settings as XML - "Tools|Import and Export Settings..". from the menu - and
see how huge the resulting document is!

-cd
Dec 20 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: clintonb | last post by:
Using Visual Studio 2005, I created a new website: File->New->Web Site and chose the ASP.Net Web Site template. Saved it in location c:\Projects\GCSLRMS_DotNet\WS\WebSite1. It created the...
10
by: Steve | last post by:
I am trying to create a DLL in Visual Studio 2005-Visual Basic that contains custom functions. I believe I need to use COM interop to allow VBA code in Excel 2002 to access it. I've studied...
13
by: sck10 | last post by:
Hello, I am trying to find the option VS2K5 that will automatically change HtmlMeta hm=new HtmlMeta(); or HtmlMeta hm = new HtmlMeta(); to HtmlMeta hm = new HtmlMeta(); What I would...
5
by: kbutterly | last post by:
Good morning all, I have a weird problem with my VS 2005 Documentation. When I open the help file through Start -Visual Studion 2005 ->Visual Studio 2005 Documentation, I get what appears to be...
8
by: WT | last post by:
Is it normal that Visual Studio sets the PreInit handler for a Page from the OnInit code ? No chance to fire it as OnPreInit is run befor OnInit. ??? CS
3
by: Edwin Smith | last post by:
I have a 2 form project in VS2005 that now hangs whenever I try to do anything with the second form. This seems to have started when I added some SQL tables from a Pervasive v.9 database using the...
0
by: jyanmin.fang | last post by:
Hi all, I have a asp.net project that was built under visual studio 2003. The project can be built successfully, but it has this weird behavior that made me speechless. Here is what happened. ...
4
by: Goran Djuranovic | last post by:
Hi all, I am experiencing a strange thing happening with a "designer.vb" page. Controls I manually declare in this page are automatically deleted after I drop another control on a ".aspx" page. -...
0
by: =?Utf-8?B?Sm9l?= | last post by:
Very weird; I lost a day worth of work because of this problem. I have an ASP.NET application written in VB that is using MySQL database. Shortly, a page creates a Customer record in the database...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.