Visual Studio :: CSS Stopped Auto Formatting?
Jan 27, 2010
I'm not sure what happened, I didn't change any settings. For example, i could type the following:
a{
then hit return, and get
a
{
Now though nothing happens. It's not formatting like it used to. where I can set this or switch it back? I checked Tools > Options > CSS but couldn't find anything there that fixed it.
View 3 Replies
Similar Messages:
Oct 14, 2010
I am running Visual Studio 2008. I cannot get the auto format to work on the source code of my aspx page. I have tried it from the edit menu and the ctrl K, D. Nothing works. If I manually fix everything, the next time I open the file the formatting is gone. Here is a sample of what it looks like:
[Code]....
View 2 Replies
Jul 28, 2010
Using VS2010 Pro, I started up an web site and got the message "WebDev.WebServer20.exe has stopped working" - a very similar problem was reported at
[URL]
I checked C:WINDOWSassembly and found that System 2.0.0.0 was missing (again!), reinstalled it but still got
""
System.ArgumentOutOfRangeException was unhandled
View 4 Replies
Jan 6, 2010
Came into work this morning and discovered that my local asp.net developmentn server has stopped working. Im getting the following page :
[Code]....
Im running visual studio of my personal PC withing my company's network.
View 3 Replies
Sep 3, 2010
I had the strangest bug yesterday while trying to debug in vs.net 2005....
I had an '05 web application. I clicked the "Run" button to start debugging, and the webpage popped up fine. I could run through the pages fine. Everything seemed fine....UNTIL!
Until I tried to start inserting breakpoints into my code. The application ignored them. In addition, I noticed my little green visual studio "Start Debugging" arrow (which is normally greyed out while in debug mode) was green. It was as if visual studio completely detached itself from my website I was trying to debug.
After playing around with it for a while, I realized I also had a vs.net 2008 solution open as well. My '08 solution wasn't in debug mode or anything, it was just sitting there open. I just happened to close it, not thinking anything of it, and presto! My 2005 debugger started working again!
So basically, I can't debug an '05 solution (or at least a web solution, as that's all I tried) while I also have an '08 solution open.
View 2 Replies
Sep 14, 2010
I have a zillion warning messages when I view my webform "Validation (): Element 'menu' is not supported" and every "<asp:WhatEver" tag has a green squiggly line under it.
It looks like this:
I'm using VS 2010 Pro, and have tried reinstalling it.
View 4 Replies
Sep 18, 2010
i have installed latest vs 2010 ultimate on windows 7
it works fine but as i want to close a website it sayas vs has stopped working restart/debug
what should i do?
View 2 Replies
Oct 11, 2010
I have a solution that was originally created using VS 2008. I have quite a few unit tests that all passed when ran in VS 2008.
Yesterday I opened this solution in VS 2010 and converted it using the wizard. The solution built just fine, it runs just fine, BUT now all tests that access the db fail. I get the same error on every test (below).
"The runtime has encountered a fatal error. The address of the error was at 0x5b3b5ad7, on thread 0x19a4. The error code is 0xc0000005. This error may be a bug in the CLR or in the unsafe or non-verifiable portions of user code. Common sources of this bug include user marshaling errors for COM-interop or PInvoke, which may corrupt the stack."
In test classes that use ClassInitialize() and ClassCleanup() methods, all the tests fail. All tests fail with the same error, "The agent process was stopped while the test was running." Tests in test classes that do not utilize ClassInitialize() and ClassCleanup() (these tests do not hit the database) all pass.
When this was a VS2008 project all 153 tests passed. No changes have been made to these tests, other than converting the project to a VS2010 project.
I've been playing around with one test class. I commented out the ClassInitialize() and ClassCleanup() methods. I rewrote one test method and mocked everything. I tried running just that one test. I still got the "The agent process was stopped while the test was running" error.
Visual Studio 2010, version 10.0.30319.1 RTMRel
Test framework: integrated VS 2010 MS Test
Mocking framework: Not using mocking, I have a db that is destroyed and recreated in MyClassInitialize(), it is populated with known values. Yes, I know I should be using mocking, but this is an older app and it has not been updated with all of the new bells and whistles yet.
DB Framework: NHibernate
Target Framework is 3.5 for all projects in this solution except for the test project.
The target framework is 4.0 for the test project. I tried changing it to 3.5, it will not let me.
"Attempted re-targeting of the project has been canceled. You cannot change the specified .NET framework or profile for a test project."
View 4 Replies
Sep 29, 2010
I recently ran into some strange problems. Changes to files that are not code-behind (and not gets compiled to a DLL) should not require you to recompile the whole website, and this has never been I problem for me. These should actually get compiled dynamically when you first access the resource, e.g. the first time when browsing an updated aspx-page in the browser.
But yesterday, during development of a website, I noticed that even the smallest changes in html, javascript or anything in the .aspx-files doesn't get reflected when I save and reload the page in my browser. Rebuilding doesn't help either, actually I'll have to do a "Rebuild All" (in Visual Studio 2008) in order to see the changes. This applies to all aspx-files in my project.
I tried with minor changes on files in another web application project on the same server, and there it works as it should. Something must has happened to this particular application, but I cannot figure out what. Do you have any ideas on how to solve this?
View 2 Replies
Sep 29, 2010
I recently ran into some strange problems. Changes to files that are not code-behind (and not gets compiled to a DLL) should not require you to recompile the whole website, and this has never been I problem for me.These should actually get compiled dynamically when you first access the resource, e.g. the first time when browsing an updated aspx-page in the browser.
But yesterday, during development of a website, I noticed that even the smallest changes in html, javascript or anything in the .aspx-files doesn't get reflected when I save and reload the page in my browser.Rebuilding doesn't help either, actually I'll have to do a "Rebuild All" (in Visual Studio 2008) in order to see the changes. This applies to all aspx-files in my project.I tried with minor changes on files in another web application project on the same server, and there it works as it should. Something must has happened to this particular application, but I cannot figure out what.Do you have any ideas on how to solve this?
View 1 Replies
Sep 28, 2010
i have installed visual studio 2010. But when i add a new tool bar like "layout". It all options appears disable (mean i cant select any option). Please how will i enable these options.
View 1 Replies
Jul 22, 2010
how to make the formatting also apply to the ASP.NET server side tag <% %>
Like the related question, a block like this one
Good
<ul id="menu">
<li><%: Html.ActionLink("Home", "Index", "Home")%></li>
<li><%: Html.ActionLink("About", "About", "Home")%></li>
</ul>
Will get formatted into
Bad
<ul id="menu">
<li>
<%: Html.ActionLink("Home", "Index", "Home")%></li>
<li>
<%: Html.ActionLink("About", "About", "Home")%></li>
</ul>
I want to prevent Visual Studio from changing the formatting concerning asp.net server tag <% %>.
View 1 Replies
Mar 25, 2011
I just can't seem to get C# code to auto-format, despite having gone over all the Formatting options for c# to make sure they are correct. For example, I want brackets to auto-format to a new line, but nothing changes. I want catch keywords to automatically go to a new line, yet they don't. The options are checked in Formatting under C#, so what gives? HTML formatting works, and prop-tab-tab works in c#, but new line formatting and such does not.
View 1 Replies
May 20, 2010
I have an annoying problem with Visual Studio 2008.
When I run the "format code" command ("control+k, control+d") -- it will insert a carriage return. How do I get it to stop doing this?
For example:
<label for="shipCompanyName">Company Name:</label>
undesirably becomes
<label for="shipCompanyName">
Company Name:<label />
View 2 Replies
Mar 14, 2011
I have a .NET 3.5 project that uses a .NET 1.1 dll. When I copy the 1.1 dll into the location referenced by the 3.5 project, the 3.5 project will not compile until I close out Visual Studio and reopen the project. I think this is related to refreshing the reference to the 1.1 dll but I'd like a setting to auto-refresh the references.
View 1 Replies
Feb 20, 2010
may i ask how to create auto generate IDNo in OO Approach
View 2 Replies
Apr 5, 2010
I'm trying to copy-paste minified JavaScript code from one .js file to another. But when I paste the code, it auto-formats... (line-breaks and indentation is added automatically)...But I didn't want that to happen. How do I solve this problem?
View 3 Replies
Dec 10, 2010
I keep watching instructional videos that utilize the VWDE 2008, which apparently did NOT start web projects with a site master. It only created the defaults but did not create a site master nor did it create the directives in the @page.
I'd like the option of doing this in 2010. Is there some configuration setting that controls this?
View 7 Replies
Apr 1, 2010
I am having problems disabling the autoinsertion of quotes for the 'style' and 'class' attributes on VS2008 SP1 on 64-bit Windows 7.
When I type:
<div class="
I end up with
<div class="""
In Tools->Options->Text Editor->HTML->Format, I set "Insert attribute value quotes when typing" off (and "...when formatting" is also deselected) but it still seems to insert the quotes.
why automatic quotes might be disabled for everything but style and class attributes?
View 4 Replies
Aug 14, 2010
is it possible to convert whole visual studio 2008 web site project to visual studio 2010 web site project
my current project references
i have a very annoying iis problem
iis server stops working until app pool is recycled
i am hoping that new visual studio (net framework 4.0) may solve this very annoying unsolveable problem
View 2 Replies
Mar 2, 2011
I run into this problem while playing with accordion for a project. Sometimes VS 2008 auto generates code, without me wanting to!!!. Less generally I have an Accordion with 2 Accordion Panes in it. When modifing properties of the Accordion VS 2008 adds an Accordion extender and duplicates the two Accordion Panes!
My original code
[Code]....
My code after pressing space between the properties of the Accordion
[Code]....
[Code]....
View 1 Replies
May 21, 2010
Anyone know if I can maintain a VS 2008 (.net 3.5) project by using the VS 2010 IDE ?
View 1 Replies
May 10, 2010
suddenly, with my Visual Studio 2008 I can no longer debugging my web applications (ASP.NET 3.5). I obtain this error: Unable to start debugging on the web server. Click Help for more information. Auto-attach to process [8360] w3wp.exe' on machine 'DELL' failed. The weird thing is that I haven't done special changes to my IIS.
View 1 Replies
Jan 28, 2010
where to find/download visual source safe plug in or visual source safe client for visual studio 2005 IDE?
I do not want to install visual source safe 2005 server.
View 1 Replies
Apr 15, 2010
Is it possible to migrate the application which is in visual studio 2003 to visual studio 2010. provide me details about how to migrate.
View 2 Replies