473,761 Members | 4,511 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Can't open a project by iteself? Solution opens every time!

I have a big solution filled with a bunch of projects.

I add a project to the solution (not adding any references mind you).

Now, if I close down everything and try to just open that single
project, just the vbproj file, not anything to do with the solution, it
ends up loading the entire solution!
Why is it doing this, and how can I stop it from doing it?

Apr 27 '06 #1
5 1439
What I'd try is (totally outside of VS) move (not copy) the files associated
with your new project to a separate directory on your hard drive.
Open the project there. I suspect though when you go back and open the
solution in the previous directory it'll whine about the missing project but
you just "OK" your way past that.
I don't know if this is what you're attempting to accomplish but it should
"detach" the project from the solution. You can always put it back later if
that's what you want.

"cmay" <cm**@walshgrou p.com> wrote in message
news:11******** **************@ g10g2000cwb.goo glegroups.com.. .
I have a big solution filled with a bunch of projects.

I add a project to the solution (not adding any references mind you).

Now, if I close down everything and try to just open that single
project, just the vbproj file, not anything to do with the solution, it
ends up loading the entire solution!
Why is it doing this, and how can I stop it from doing it?

Apr 27 '06 #2
I think the OP is complaining about what seems to be a new "feature" in
VS2005
In previous versions you could open the vbproj file and it would
automatically give you a new solution with only that project in it. However,
in 2005 it seems to remember what solution is was previously attached to and
open that instead. Personally I find this highly annoying (especially when
working with large solutions). If I open a single project it should open
*only* that, not bring in the rest of whatever solution it may have been
part of (let me worry about whatever references might get broken).

I haven't found a way to turn this feature off (but I haven't really looked
much either), so if you find a way please share it

/claes
"Sam Malone" <th************ @hotmail.com> wrote in message
news:Oq******** ******@TK2MSFTN GP04.phx.gbl...
What I'd try is (totally outside of VS) move (not copy) the files
associated with your new project to a separate directory on your hard
drive.
Open the project there. I suspect though when you go back and open the
solution in the previous directory it'll whine about the missing project
but you just "OK" your way past that.
I don't know if this is what you're attempting to accomplish but it should
"detach" the project from the solution. You can always put it back later
if that's what you want.

"cmay" <cm**@walshgrou p.com> wrote in message
news:11******** **************@ g10g2000cwb.goo glegroups.com.. .
I have a big solution filled with a bunch of projects.

I add a project to the solution (not adding any references mind you).

Now, if I close down everything and try to just open that single
project, just the vbproj file, not anything to do with the solution, it
ends up loading the entire solution!
Why is it doing this, and how can I stop it from doing it?


Apr 28 '06 #3
Claes,

Exactly!!

That is exactly what I am dealing with and it is driving me nuts!

I can't even seem to find a way to change the solution a project is
"associated " with.

When I first did my conversion to 2005 I put all my projects into 1 big
solution. Now, even if I create new solutions (which I will complain
about below) when I go back to those projects in the new solution, it
seems to only remember that giant solution and not the more recent
solution.

The other thing about this that pisses me off, is that... how do you
add a project to a new solution? You can't open a "blank solution"
like you used to, so the only way I see to create a solution is to
start by opening a project... but if you open a project you get the
solution it was first assigned too!! So how can you get out of this?
I have yet to find a good way to deal with this stuff.

Very frustrating!

Apr 30 '06 #4
"cmay" <cm**@walshgrou p.com> wrote in message
news:11******** *************@i 39g2000cwa.goog legroups.com...
Claes,

Exactly!!

That is exactly what I am dealing with and it is driving me nuts!

I can't even seem to find a way to change the solution a project is
"associated " with.

When I first did my conversion to 2005 I put all my projects into 1 big
solution. Now, even if I create new solutions (which I will complain
about below) when I go back to those projects in the new solution, it
seems to only remember that giant solution and not the more recent
solution.
Highly annoying, I agree.

The other thing about this that pisses me off, is that... how do you
add a project to a new solution? You can't open a "blank solution"
like you used to, so the only way I see to create a solution is to
start by opening a project... but if you open a project you get the
solution it was first assigned too!! So how can you get out of this?
I have yet to find a good way to deal with this stuff.


Actually you can still create blank solutions. Took me a while to find it
though. It's under Other Project Types/Visual Studio Solutions.
/claes

May 1 '06 #5
Ok that will help get around that little circle of logic.
Thanks.

I hope do away with this, or offer a way to turn it off.

May 1 '06 #6

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

Similar topics

1
2140
by: MC | last post by:
Hi all, I've read the various posts concerning file access on mapped drives--I think problem is different: The problem: Open a VB Winforms project from a mapped drive and all files open fine except form files. Their code opens fine but trying to open them in the form designer I get (for instance) "The item 'MainForm.vb' does not exist in the project directory. It
3
3143
by: Leonard | last post by:
I have a button on my web app, that opens a help html page. I use this code: HttpContext.Current.Response.Write("<script>") HttpContext.Current.Response.Write("window.open('" & sUrl & "','_new')") HttpContext.Current.Response.Write("</script>") This works ok, the html page opens in a new browser window, but when I close the help, click on a different menu item in my app, and then click the back button, the help window opens up again....
12
8365
by: (Pete Cresswell) | last post by:
Say I've got a RecordSet: ----------------------------------------------------------- Set myRS = CurrentDB.OpenRecordset(SomeSQL, dbOpenDynaset) ----------------------------------------------------------- Is there any way to dynamically filter/unfilter/re-filter that RS without doing any .Opens or .Closes? -- PeteCresswell
6
1801
by: Eric | last post by:
for example: SqlConnection is used in my project, how can I know if all connections were closed after open and execution. If some guys forget to close connections after using, how can i check it out ? best, eric
6
1591
by: Charles Kincaid | last post by:
I have a project that is working fine: Compiles fine, and runs fine. 13 forms and 3 modules, besides Assembly. It is a smart device (Pocket PC) app. Often some of my forms will NOT open in the designer. In solution explorer the show just like regular modules. When I load the project everthing opens up just like I left it. In fact two of my forms are OPEN in the designer even though solution explorer shows those two wrongly.
0
1168
by: AnandaSim | last post by:
Hi All, I've encountered times when VS 2003 won't connect using Front Page Server Extensions in some cases. Case: PC1 has VS. Creates a web project on machine IIS1. Seems to save an ..sln and a .suo locally on PC1 with the vbproj etc.. on IIS1. Connection mode is Frontpage Server Extensions. Repeatedly close and
6
4900
by: scottyman | last post by:
I can't make this script work properly. I've gone as far as I can with it and the rest is out of my ability. I can do some html editing but I'm lost in the Java world. The script at the bottom of the html page controls the form fields that are required. It doesn't function like it's supposed to and I can leave all the fields blank and it still submits the form. Also I can't get it to transfer the file in the upload section. The file name...
10
4715
by: MyndPhlyp | last post by:
(Second posting attempt) I have been through tons of old postings, several web sites, books, and even tried consulting a psychic but nothing is yielding the majik answer. I'm using VB '05 Express on a Win2K system. The project has everything grouped under various directories. The Solution Explorer looks like... AProject
5
1281
by: Just D. | last post by:
All! Does anybody know how to fix the issue? Machine was working perfectly with WinXPPro and IE6 and all latest service packs, maybe just excluding WinWord from the Enterprise Office 2003, the service pack that I installed added a Shift-Arrow annoying selection bug, but it's fixable if I delete this SP from the machine and stop downloading it. There is another one more serious problem - when I installed IE7 and all required SPs from MS I...
0
9554
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9989
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9925
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
6640
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5266
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5405
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3913
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 we have to send another system
3
3509
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2788
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.