Problem: When I try to open certain code behind files in Visual Studio the application hangs and maxes out one of my CPU cores.
Notes:
There's really nothing unique about the code behind except for the fact that it is referenced by two different ASPX pages. This, however, has never been a problem in the past.
It's a C# code behind.
I'...
I had a project I was working on in Visual Studio 2008, when the requirements changed and now it needs to be done in 2005. I was using SQLXML objects from Microsoft.Data.SqlXml, but now when I downgraded I cannot find this in the add reference pop up box.
Does anyone know why this isn't showing up and how I can make it show up? I trie...
I noticed that some aspx controls were not being recognized by intellisense, and when I tried to compile, I got errors stating that the controls basically didn't exist.
After a lot of tinkering, I realized that the .aspx.designer.cs file was missing for several .aspx files.
What is the best way to re-create the files?
...
I am looking for a way to extract a nested inner class so that it is in a separate file. Is there an easy way to do this in Visual Studio 2008 (eg, using the refactor menu)?
EDIT
Maybe a refactoring menu option isn't necessary if manual refactoring is simple enough.
...
I would like to fire off the server side selectedindexchanged method of a radgrid on doubleclick and not on click. Is it possible to do this???
<telerik:RadGrid ID="RadGridCashier" runat="server" AllowMultiRowSelection="False" DataSourceID="SqlDataSourceCashier" Skin="WebBlue" AutoGenerateColumns="false" AllowFilteringByColumn="true"
...
I'm having trouble managing my .dll references in projects in Visual Studio. All the registered .NET and COM references work fine but when it comes to .dll files on disk, if I refer to my files on disk, my colleagues will be missing references because they may have it in a different location on disk etc. Does Visual Studio have a environ...
I'm trying to write my first Azure application with Visual Studio 2008. Whenever I open a solution which contains a Cloud project, I get a SQL Server error message. This problem is with the development environment / SDK configuration. I get the exception before I've executed, or even written a single line of code. I am not trying to c...
I am new to LINQ. I am using Visual Studio 2008 and have created a "LINQ to SQL Classes" (.dbml) file in my project. I've added each of my database tables to the design view and everything works fine.
My question is this: When a change to a table's design has been made in the database, i.e. fields added, how do you update the class...
Hi there,
I am in visual studio 2008 and working on a very huge project which takes alot of time to build now when it is running in debug and i make some code changes i want it to incorporate those code changes at run Time. i do understand that this will not be always possible but in some situation it is.
I do know that when i break t...
I wish to develop applications which should work both on Windows and Linux Operating Systems. Please help me how to proceed.
...
This is not technically a programming question but it does specifically relate to a heavily used programming tool so i think this is the correct place for it.
In Visual Studio 2008 if i have an asmx web service and i double click on the asmx file it opens the asmx.cs file, this is eminently sensible seens as there is just a single line ...
HI.
I am doing a web project... I am still a beginner with visual studio.
I am using VS 2008. I have created a table grid view on which after i am creating a column, i inserted an image and then selected a destination url to the image which was added to App_Data folder.
I can see the image while editing but when i go for running the web...
Hello all,
I don't want to use XHTML but VS2008 forces me to.
When I type in an ASPX document < br it will autocomplete to < br />
But normal HTML4.01 does not use these things.
So how do I get rid of this annoying XHTML autocomplete? I want normal HTML 4.0
...
I hashed data with ComputeHash how can I learn original data from hashed data?
private void btn_Hash_Click(object sender, EventArgs e)
{
HashAlgorithm ha = HashAlgorithm.Create();
Stream file = new FileStream(@"C:\temp\simetrik.txt", FileMode.Open, FileAccess.Read);
hashClass.hash = ha.ComputeHash(file);
listBox1.Items....
This is a follow-on from:
http://stackoverflow.com/questions/3264245/debugging-a-multithreaded-c-c-cli-c-solution-in-visual-studio-2008-what
Please excuse the format, I've just repeated some of the description of the application here:
I've inherited a project consisting of three levels of code. The lowest layer is native C++ that inte...
What is the easiest way to rebuild a dbml file with Visual Studio 2008? There is no "refresh" option in popup menu as in the Entity Framework wizard.
I use bat file (that executes sqlmetal) from the project nowadays.
...
I have a very simple Delphi 2010 dll that I load from a Visiual Studio 2008 C ATL console application (MVF GUI app does not work either). When I debug the console app from the IDE directly - no break points - the output from the application is not correct but when I run the app directly or if I attach to the process with the debugger the...
I have used vtune several times in the past, usually without too much trouble. Unfortunately the gaps between each use are often so long that I forget some aspects of how to use it each time. I know that the line number and symbols information needs to be stored somehow. I thought that all that was required was to compile your exe with "...
I want to push our management to migrate to VS2010 sooner. The new feature in our project is to migrate to TDD.
I want to convince that there are endless benefits of migrating to TDD and VS2010 simultaneously.
Is there really?
VS2008 Pro vs VS2010 Pro - whats good can be used in terms of unit-testing?
(sorry for the dumb question bu...
I used xsd.exe to generate a schema file for some XML. I want to include that schema file in my C# project in Visual Studio, but every time I add the .xsd file to my project and then double-click it to open it, Visual Studio creates these .xss and .xsc files for my .xsd file and it alters my .xsd file. How can I get it to stop automagi...