Visual Studio :: VWD 2010 Solution Explorer Pane Not Highlighting Active Page
Aug 3, 2010
I am using VWD 2010 Express, usually with several site pages open in tabs. For some reason, when I move from one tab to another, the newly active page is not highlighted in the Solution Explorer pane. Is there some setting that is causing this? I often have two similar pages open, referring to the code on one as I work on the other, and not having the Solution Explorere correctly highlighting the active page make it really easy to be working on the wrong page.
Weird Sunday morning question: I routinely drag files into my projects from Windows Explorer. But I just created a new project and I get the slashed circle every time I try to drag in a file from Windows Explorer. I closed the project and opened another one just to confirm that I wasn't having a foggy Sunday morning problem but I _am_ able to drag files into the this other project. Trying to drag the same file into my new project won't work. What's up with this?!
Even though I when I create a linqtosql class I mark C# as the language it was always shows up as a Visual Basic file in the App Code file. I can't get it to stop doing that. ????? What is going on?
Let's say I am working on a multiple page web solution and make a small change to one web page. The small change needs to get published but I want to be able to publish it without having to republish the entire site. How do i do that? How do i publish a single page of a multi-page solution in Visual Studio 2010?
I have to manually edit a bunch of HTML and ASP.NET pages that contain primarily content in <p> tags. In VS2010, when I open such a page in the designer it insists on highilighting all the paragraphs; surrounding them with dotted blue rectangles and shading all other paragraphs.
I find this annoying, can I turn these behaviours off?
EDIT
I managed to change the colours by going to Tools, Options, HTML Designer, View and editing the colours for "Layout UI activated border" and "Style application overlay".
Is there a way to change the colors (or perhaps add an overlay) to the files in Solution Explorer?It would be great to be able to 'tag' the files with different colors so that you can see for example what status the different files have.
I used the ASP.net Web Site Administration tool to create a database with two users and two roles. The database created successfully and is showing up in Solution Explorer in the App_Data folder of my project, as expected. The problem is, that when I click on the database I get an error message saying that "SQL Server database files (.mdf) require SQL Server 2005 Express or SQL Server 2008 Express to be installed and running on the local computer." I, in fact, have 3 versions of SQL Server running on my computer. SQL Server Express (default instance), SQL Server Express (named instance for Outlook 2010 Business Contact Manager), and SQL Server 2008 R2 (Developer Edition). If I create a new connection in Server Explorer and then attach the database file, it attaches fine. It's only in Solution Explorer that it somehow is not connecting.
I have two web forms inside the same project folder that will be very similar when completed. When I copy a web form and paste it in the project folder by its new name I can see the .aspx file, the aspx.cs and aspx.designer.cs all by the new name. Appears to work perfect...........Why don't these show up when I view the Solution Folder? I was hoping to copy one, make changes and rename the second one saving time. Appears to not be tied into the Project.
by mistake a .aspx and its corresponding .vb file was deleted from my project's solution explorer.Its not there in Recycle Bin too.Is there any method to recover that file ? I am using Visual Studio 2008. Win XP SP1.
I have noticed today that when you create a directory in code in a web application the resulting folder structure is not created in the solution explorer (It is fine on disk and app can still access all the files I am not sure if there is a setting that I am missing or is this a bug?Steps to reproduce
Create a new C# web application in VS 2010. Create a new web page (Default.aspx) and add a file upload control and a button.on the click event on the button add the following code
[Code]....
When the form posts back refresh the solution explorer and the new directory does not appear.Check your file system and the file will be there.Not a massive issue but frustrating.
I'm trying to migrate an old asp.net 1.1 application to target the new .net 4.0 framework. There are good guides available on this [URL]. However, all approaches start with the assumption that the 1.1 project contains a solution file which one has to open using VS 2010 and go through the conversion wizard.
In my case, the project does not have any solution file, giving me a sort of chicken and egg issue.
Is there a way to add a 1.1 .net soution file with or without VS 2010? Using command line tools? What is so special about a solution file anyway?
I had no problem with this in Visual Studio 2008 but it seems that VS 2010 is having an issue, and I'm betting it's probably me.I have a solution with an ASP.NET Web Site Project and a few C# projects (BLL, DAL, Tests in NUnit). I have configured the build process for the test project to automatically run NUnit to run the tests. I would like to ensure that the BLL and DAL projects build before the test project so that the tests will run against the latest compiled version (yes, I know I could do this all in one project, but I'm choosing not to -- please bear with me :) )
So, I set the dependencies of the Test project to include the BLL, DAL, and Web Application projects, and the build order shows BLL, DAL, Web Application, and then Tests. However, I noticed that the BLL doesn't actually build when I build the Test project.Any idea what this could be or any option I might be missing to force the other projects to build when I build the Test project?
I'm trying to create a .NET solution and add class libraries to it. First - in VS2008 I go to File > New > Project > Other Project Types > Visual Studio Solutions > Blank Solution. Then - after VS2008 creates the blank solution I right click on the solution and select Add > New Project > Visual C# > Class Library. However, when I add the Class Library to the solution, the solution icon disappears from Solution Explorer (although the solution name is still in the VS2008 title bar). Why does the solution icon disappear from the Solution Explorer when I attempt to do this?
I tried to install Visual Studio Prof 2010 trail version in my system, but i got an error saying 'Please remove/uninstall Visual Studio 2010 load test controller' to proceed installation. i uninstalled my previous VS2008 software from system and i could not find anything like 'Remove/Uninstall Visual Studio 2010 load test controller' software in my Add/Remove Programs.
This useful effect seems not to happen anymore. I'm in VS2008. If I have several files open as tabs, when clicking on each of them, VS used to highlight that file in Project Explorer, which is very useful to quickly see where in the Solution that file is, even if it's not in the Web Project.
I have built a simple custom ASP.NET control that expects it's body content to be javascript. Is there a way to tell Visual Studio that the content should be javascript, and therefore provide syntax highlighting / intellisense goodness?In case it helps, here's the framework of the control I'm working with.
namespace MyNamespace { public class MyControl : Control
I am using the Visual Studio Web Developer 2008 for programming in VB.NET and i have some problems:
1. Sometimes it stops highlighting the text. 2. Is there an option to refresh the Intellisense of the page? 3. When i am including files to my page, its say variable undefined.
Global information:
* I am not using the *.cs files. * I am not using any .net button (example: asp:input...) * I am using the include file. (example: include virtual=...)
Looking for a quick answer, as I am not able to find the VS options to solve my problem.
Installed add-ins:
ReSharper JustCode Telerik VisualSVN
Does anyone have a suggestion as to where to look in VS 2008 to get rid of the second scrollbar in the edit pane? Edit pane has double scrollbars with the second one not being usable with the mouse, and Spy++ doesnt hook into it to allow me to see where it maybe coming from: