473,698 Members | 2,134 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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;*.ht ml;*.aspx;*.asc x;*.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 1912
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;*.ht ml;*.aspx;*.asc x;*.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;*.ht ml;*.aspx;*.asc x;*.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**@nickgilbe rt.com> wrote in message
news:eJ******** ******@TK2MSFTN GP10.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;*.ht ml;*.aspx;*.asc x;*.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**@nickgilbe rt.com> wrote in message
news:eJ******** ******@TK2MSFTN GP10.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;*.ht ml;*.aspx;*.asc x;*.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\wwwr oot\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**@nickgilbe rt.com> wrote in message
news:eJ******** ******@TK2MSFTN GP10.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;*.ht ml;*.aspx;*.asc x;*.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
13249
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 made" formula? I know it has something to do with the sine/cosine, but the "signs" aren't clear enough to me (neither are the wonders). Thanks in advance for the wisdom. J
8
2186
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 dealer near you". Here is one I found: http://www.shakespeare-antennas.com/content/dealersearch.asp But I do not want to have it on the web, I want to create it on access. I think will need at least two tables:
5
7421
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 instance of the same channel it returns an exception with socket code 10048 (already in use). My server code is, ....for openning:
3
8421
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? -- To understand recursion, we must first understand recursion.
3
4139
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 loaded. The error contains the correct path to c2.dll (and it is definately there). This only happens on some projects and only when "whole program optimization" option is turned on. If i turn off this option, the problem goes away. I have other...
0
266
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 project files which I KNOW are there. For example, if I search for Page_Load (which is in many many files) it finds nothing.
0
2791
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 Replace" fuction, I scan the merchandise which then searches the spreadsheet for the matching inventory number. When it is found, I highlight that cell in yellow. After scanning and coloring all of my inventory I can then see exactly what is...
0
1319
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 "find all references" only appears references contained in the currently active file. Have I modified something? How to to search in all the solution? I haven't found any clue in the msdn documentation. Thanks
6
1395
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
8674
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
8604
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9157
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8895
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
8861
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7728
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6518
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4619
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2330
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.