473,387 Members | 1,574 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Problem with "Find in Entire Solution"

Hi,

I'm not sure if I've broken my VS.NET installation or if there has
always been a bug of some sort, but basically Find in Entire Solution
(ctrl-shift-F) isn't finding strings in my solution's project files
which I KNOW are there.

For example, if I search for Page_Load (which is in many many files) it
finds nothing.

The pattern I'm using is:

*.cs;*.htm;*.html;*.aspx;*.ascx;*.asp;*.xml;*.css

...but despite the *.cs it's only searching files which have one
extension. Ie it will search section.cs, but not default.aspx.cs - even
though *.cs matches the latter.

The workaround is to add *.aspx.cs and *.ascx.cs to the pattern, but I'm
sure I never needed to do this before.

Why has this broken? Can somebody else please let me know if the above
pattern normally searches .aspx.cs files in Visual Studio 2003.

Also if anybody has any clues as to why this has stopped working, please
let me know.

Nick...
Nov 19 '05 #1
5 1881
Why don't you select *.* for a pattern.
And be sure to Look In : Entire Solution

"Nick Gilbert" wrote:
Hi,

I'm not sure if I've broken my VS.NET installation or if there has
always been a bug of some sort, but basically Find in Entire Solution
(ctrl-shift-F) isn't finding strings in my solution's project files
which I KNOW are there.

For example, if I search for Page_Load (which is in many many files) it
finds nothing.

The pattern I'm using is:

*.cs;*.htm;*.html;*.aspx;*.ascx;*.asp;*.xml;*.css

...but despite the *.cs it's only searching files which have one
extension. Ie it will search section.cs, but not default.aspx.cs - even
though *.cs matches the latter.

The workaround is to add *.aspx.cs and *.ascx.cs to the pattern, but I'm
sure I never needed to do this before.

Why has this broken? Can somebody else please let me know if the above
pattern normally searches .aspx.cs files in Visual Studio 2003.

Also if anybody has any clues as to why this has stopped working, please
let me know.

Nick...

Nov 19 '05 #2
Why don't you select *.* for a pattern.
And be sure to Look In : Entire Solution

"Nick Gilbert" wrote:
Hi,

I'm not sure if I've broken my VS.NET installation or if there has
always been a bug of some sort, but basically Find in Entire Solution
(ctrl-shift-F) isn't finding strings in my solution's project files
which I KNOW are there.

For example, if I search for Page_Load (which is in many many files) it
finds nothing.

The pattern I'm using is:

*.cs;*.htm;*.html;*.aspx;*.ascx;*.asp;*.xml;*.css

...but despite the *.cs it's only searching files which have one
extension. Ie it will search section.cs, but not default.aspx.cs - even
though *.cs matches the latter.

The workaround is to add *.aspx.cs and *.ascx.cs to the pattern, but I'm
sure I never needed to do this before.

Why has this broken? Can somebody else please let me know if the above
pattern normally searches .aspx.cs files in Visual Studio 2003.

Also if anybody has any clues as to why this has stopped working, please
let me know.

Nick...

Nov 19 '05 #3
Nick,
I can't offer any solution other than to tell you mine's working like this
as well...so at least you know you didn't break your install :) I can't say
I ever noticed before. Seems to me that another workaround to your aspx.cs
solution would be to simply use *.* or alternatively *cs (note I didn't
put a dot).

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/index.aspx - New and Improved (yes, the popup is
annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
"Nick Gilbert" <ne**@nickgilbert.com> wrote in message
news:eJ**************@TK2MSFTNGP10.phx.gbl...
Hi,

I'm not sure if I've broken my VS.NET installation or if there has
always been a bug of some sort, but basically Find in Entire Solution
(ctrl-shift-F) isn't finding strings in my solution's project files
which I KNOW are there.

For example, if I search for Page_Load (which is in many many files) it
finds nothing.

The pattern I'm using is:

*.cs;*.htm;*.html;*.aspx;*.ascx;*.asp;*.xml;*.css

..but despite the *.cs it's only searching files which have one
extension. Ie it will search section.cs, but not default.aspx.cs - even
though *.cs matches the latter.

The workaround is to add *.aspx.cs and *.ascx.cs to the pattern, but I'm
sure I never needed to do this before.

Why has this broken? Can somebody else please let me know if the above
pattern normally searches .aspx.cs files in Visual Studio 2003.

Also if anybody has any clues as to why this has stopped working, please
let me know.

Nick...

Nov 19 '05 #4
Nick,
I can't offer any solution other than to tell you mine's working like this
as well...so at least you know you didn't break your install :) I can't say
I ever noticed before. Seems to me that another workaround to your aspx.cs
solution would be to simply use *.* or alternatively *cs (note I didn't
put a dot).

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/index.aspx - New and Improved (yes, the popup is
annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
"Nick Gilbert" <ne**@nickgilbert.com> wrote in message
news:eJ**************@TK2MSFTNGP10.phx.gbl...
Hi,

I'm not sure if I've broken my VS.NET installation or if there has
always been a bug of some sort, but basically Find in Entire Solution
(ctrl-shift-F) isn't finding strings in my solution's project files
which I KNOW are there.

For example, if I search for Page_Load (which is in many many files) it
finds nothing.

The pattern I'm using is:

*.cs;*.htm;*.html;*.aspx;*.ascx;*.asp;*.xml;*.css

..but despite the *.cs it's only searching files which have one
extension. Ie it will search section.cs, but not default.aspx.cs - even
though *.cs matches the latter.

The workaround is to add *.aspx.cs and *.ascx.cs to the pattern, but I'm
sure I never needed to do this before.

Why has this broken? Can somebody else please let me know if the above
pattern normally searches .aspx.cs files in Visual Studio 2003.

Also if anybody has any clues as to why this has stopped working, please
let me know.

Nick...

Nov 19 '05 #5
You could also use the DOS command findstr. I have had the best luck with
this as I can pipe the returned values to a file for distribution to my
development group.

say you wanted to search for Page_Load

c:\inetpub\wwwroot\tempasp\> findstr /s /c:"Page_Load" *.cs

That will search all files recursively (/s) look for the string (/c:"")
Page_Load in files *.cs. Also you can have *.*.

You can use findstr /? at dos prompt for further instructions.

examples
findstr /s /c:"Page_Load" *.cs > c:\bob.txt
findstr /s /i /c:"page_load" *.* > c:\bob.txt

HTH,

bill

"Nick Gilbert" <ne**@nickgilbert.com> wrote in message
news:eJ**************@TK2MSFTNGP10.phx.gbl...
Hi,

I'm not sure if I've broken my VS.NET installation or if there has
always been a bug of some sort, but basically Find in Entire Solution
(ctrl-shift-F) isn't finding strings in my solution's project files
which I KNOW are there.

For example, if I search for Page_Load (which is in many many files) it
finds nothing.

The pattern I'm using is:

*.cs;*.htm;*.html;*.aspx;*.ascx;*.asp;*.xml;*.css

..but despite the *.cs it's only searching files which have one
extension. Ie it will search section.cs, but not default.aspx.cs - even
though *.cs matches the latter.

The workaround is to add *.aspx.cs and *.ascx.cs to the pattern, but I'm
sure I never needed to do this before.

Why has this broken? Can somebody else please let me know if the above
pattern normally searches .aspx.cs files in Visual Studio 2003.

Also if anybody has any clues as to why this has stopped working, please
let me know.

Nick...

Nov 19 '05 #6

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

Similar topics

4
by: 321ConTact | last post by:
I have to find zipcodes within a given mileage range (25, 50, etc). I know it's possible to use the longitude/latitude to find this, and I have that for the zipcodes, but does anyone have a "ready...
8
by: Joe | last post by:
I need an Access application that can search dealers from my dealer list, in a 30 miles distance from the user. You may see many applications like this on the web if you search under "find a...
5
by: EdgarBM | last post by:
Hi, I'm working with .NET Remoting. I have a problem unregistering the server channel when I try to reuse it closing and reopening it in the same application. The second time I try to get an...
3
by: Michael Rodriguez | last post by:
I've installed WSE, both 1.0 and 2.0. The namespace Microsoft.Web.Services is visible from my VB.NET projects, but not in C#. In C#, it tells me there is no "Web" under "Microsoft". Any ideas?...
3
by: Dmitry Jouravlev | last post by:
Hi, I have a number of C++ solutions in Visual Studio .NET and when i compile them using "Whole Program Optimization", certain projects report a LNK1171 error saying that c2.dll could not be...
0
by: Nick Gilbert | last post by:
Hi, I'm not sure if I've broken my VS.NET installation or if there has always been a bug of some sort, but basically Find in Entire Solution (ctrl-shift-F) isn't finding strings in my solution's...
0
by: Rave | last post by:
This is a long shot, but I thought I'd try it. I am currently using excel as an inventory tool. I currently have a hand-held scanner plugged into a laptop for reading barcodes. Using the "Find and...
0
by: Beorne | last post by:
Up to a short time ago using "find all references" in the find symbol results appeared all the referencies of a specific string present in every source file of the solution. Now when i select...
6
by: anton | last post by:
Hi, I want to replace all occourences of " by \" in a string. But I want to leave all occourences of \" as they are. The following should happen: this I want " while I dont want this \"
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
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,...
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,...
0
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...

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.