visual-studio-2008

Long load time in Visual Studio for Large Project

Is there a way to turn off intellisense in Visual Studio 2008? I know about deleting a DLL to turn off intellisense in C++, but that doesn't work for C#. I also know about the preferences but that just turns off the visual display. I want to turn off ALL of intellisense so it does not scan my code at all. Update 10/14/09: Eric was ki...

finding instance of text in sql files after WHERE clause

Hi guys, I have a VS2008 solution with a database project, in it is a folder that holds a whole bunch of sql stored procedures (we are talking 100's). Due to a change that has been made to the ANSI_NULLS setting for all the sprocs I need to update all instances of '= null' to 'is null'. I cannnot do a "find and replace all" on .sql fi...

JIT Compiler encountered an internal limitation. VS2008

I've been using XslCompiledTransform because Microsoft tells me I need to use as XslTransform is deprecated. <ExactDatetime>200-02-02</ExactDatetime>) works using XslTransform <ExactDatetime>200-02-02</ExactDatetime>) fail using XslTransform <ExactDatetime></ExactDatetime>) works using XslTransform Works: XslTransform xslDoc = new ...

Ado.net entity data model doesn't exist

I've intalled vs2008 ts on my windows 7 x64 pc, but when I tried to add ado.net entity data model there is no template for it. All the MSDN tutorials say that vs2008 has it. ...

Why does VS2008 build differ from msbuild for same solution?

I have inherited a solution consisting of several projects, a mix of VB.NET and C#. It builds fine using the IDE "Build Solution" button. It does not build from the command line using "msbuild foo.sln"; the error message indicates that project A (which references project B) can't find project B. Indeed, upon examining the contents of ...

Windows Forms Designer destroys form layout

This morning I stumbled over a weird issue in Visual Studio's Windows Forms designer. I have a form which worked for about a month now without changes. It looks like this in the application: (text made unreadable because I'm not entirely sure of the legal implications here). Now starting today, apparently (I think I had the form open...

Visual Studio 2008 intellisense gone...

Hi, I'm using vs2008, asp.net website. Having all sorts of issues with vs2008, latest is that I have no intellisense.. none at all. Also, the 2 dropdowns at the top of my .aspx and .aspx.vb pages (i.e. in VS code view) have also gone (so I've lost the shortcut to add a page_load snippet, etc.. why oh why could this be happening? 'buil...

Adding a new stored procedure to an existing Visual Studio 2008 database project

I have imported an existing SQL Server 2008 database to a Visual Studio 2008 database project, to version control database objects and perform database code migration. This works fine and I can build and deploy to dev, test, staging, live etc. Now I want to add a new stored procedure (with a grant statement) to the existing database pro...

ASP.NET MVC Dotfuscator problems

Hello, I am trying to use Dotfuscator (CE) to help protect our ASP.NET MVC .ddl. Its a web application that will be distributed to clients and we need a way to protect our IP. The problem is that it appears to break the application once completed. I've only got so far with disabling renaming on my Controllers namespace but I'm get null...

Why does Resharper 4.5 testrunner sometimes take forever to start my mstests?

I just copied a Visual Studio solution over from another computer. I haven't done any changes, but the Resharper testrunner takes forever to start up my mstests. When the tests are finally running, they run fast. There's a JetBrains.ReSharper.TaskRunner.exe which consumes 48% of my total cpu on my dual core. Visual Studio's internal te...

Troubleshooting Plk Verification for Visual Studio Package in a VSIP Development Edition

I have a custom domain specific language project which was developed a while back, was deployed and run on the same machine inside the normal Visual Studio hive with no problems. Server has been reinstalled and I'm trying to setup the environment again, so that the normal hive (which is a Visual Studio VSIP Edition SP1, with Visual Stud...

c# Windows Service not appearing in services list after install

I've created a windows service in c#, using Visual Studio 2008 I pretty much followed this: http://www.codeproject.com/KB/dotnet/simplewindowsservice.aspx I created a setup project, as instructed to in the article, and ran it... it installs my service to c:\program files\product etc.... however, it does not then appear in the services l...

Custom Compiler Warnings in Visual Studio 2008

http://stackoverflow.com/questions/154109/custom-compiler-warnings and http://stackoverflow.com/questions/968249/c-create-custom-warning-in-visual-studio-if-certain-method-is-used-in-source-co haven't helped as they deal with code that is under the author's control. We are using a 3rd party suite of UI controls (DevExpress) in our softw...

How to change the color of expanded regions' titles in VS2008?

I would like to know if is there a way to change the color of expanded regions' titles in VS2008. Even by using a third part plug-in. #region My Region Title //I want this text to be in a customized color public void Foo() { //Bla bla bla } #endregion Does anyone know how to do it? ...

Running Visual Studio console application in debug mode consumes no more than 50 percent cpu usage

I have a several C# console applications that basically parse tons of data in memory (LINQ) and output the results to a text file. Now, forget about the writing to the text file for a minute because this is not where the problem is occurring. When I run the application in debug mode, I will never get it to utilize more than 50% of cpu ...

Can I avoid exceptions in C#, continuing code execution?

I have the following C# code. Whenever an exception is caught, say at line 1, I am never able to reach other lines (2, 3, 4, etc). try { line1 line2 ... } catch (Exception ex) { ... } Is it possible, in C#, to say that if line 1 generates an exception, just continue on to the other lines (2, 3, 4, etc)? ...

C# assembly has different sizes after each compilation (Visual Studio)

Here is a little something we noticed today and we do not have an explanation for it. My co worker compiled his current project (C#/WinForms/Visual Studio) and the dll was about 170 kb in size. He compiled the same project again and the dll was 220 kb in size. He did not touch anything else just hit the compile button again and the outp...

TFS create project error TF30224

Our TFS 2008 2-tier setup was working fine until this morning when I attempted to add a new project. When I go through the steps to add a project I get the following errors: Error TF30224: Failed to retrieve projects from the report server. Please check that the SQL Server Reporting Services Web and Windows services are running and yo...

Visual Studio - Could not edit because it is not in the website

I have a link to some style sheet from the Yahoo Developer Network, this is what I have in the head section of my master page: <link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/combo?2.8.0r4/build/reset/reset-min.css&amp;2.8.0r4/build/base/base-min.css" media="all" /> And for some reason Visual Studio (2008 Profess...

How do I test that all my expected web.config settings have been defined?

I am using the built in test framework in VS2008 and I would like be able to write a test that makes sure all the expected web.config settings have been defined so that if by accident one is removed or changed my suite of tests will detect it and not have to be tested in a runtime scenario. How would I set this up? I do not want to set...