The following dialog window keeps popping on my computer when starting "Click-Once" published application from Internet URL:
[Microsoft .NET Framework Setup] - Would you like to download and install the Microsoft .NET Framework?
The content you are trying to access requires the Microsoft .NET Framework. Would you like to download and i...
So I wrote some custom classes and put them all in a namespace, call it "Sphere".
On my aspx.cs codebehind file, I have "using Sphere;" written. I know that this works because it's always worked until I copied this project to a new folder. Also, even when I click "view in web browser" everything works perfectly.
Simply, Visual Studio 0...
Hi,
I posted this question on the MSDN forum but haven't been able to receive much of an answer, so decided to try it out here.
I'm having a problem with dependency libraries of a project not being copied to the output directory of a second project that references it, when the first library is mostly xaml. Here is a typical scenario w...
I'm looking for a reporting tool that I can use with an XML datasource. The XML files would be small, approximately 50-60K but may be as large as 200K. The goal of our project is to generate reports based on data submitted in the XML file.
I understand I could simply use XSLT style sheets and output HTML but I prefer PDF, XPS, XLS, or D...
ViM has this option hlsearch where a searched string is displayed in highlight mode at all places in the file it is found. Is there a way to do the same in Visual Studio?
That is, if I search for "foobar", then all the foobar in the file are shown highlighted and this display remains until my next search. I find this very useful to see ...
I am wondering why I can't see all page events in visual studio 2008, when I click on the events combobox, only the page_load event is in there. What can I do to see all page life cycle events in the combo, so I can just click it to generate the event template?
...
What are the benefits to defining methods as "protected" in C#?
like :
protected void KeyDemo_KeyPress( object sender, KeyPressEventArgs e )
{
// some code
}
As compared to something like this:
private void FormName_Click( object sender, EventArgs e )
{
//some code
}
I've seen in books many examples and I don't understand ...
Hi,
I was wondering if it is possible to reference a dynamic generic class name in a comment and have it conditionally resolved in the IDE?
Simple base class example:
// <summary>
// Retrieves all <T> members from the database.
// </summary>
public void GetAll<T>()
{
//magic
}
If I now inherit from this class and happens to be clas...
I ran into a bug in some code that extracts metadata from some text and puts it into a dictionary.
My test was failing when I compared two dictionary objects because the keys were in different order. I don't really care what order the keys are in.
I'd like to have an assert method available like :
Assert.AreEquivalent(propsExpected,...
Registers are a feature of emacs that I make a lot of use of. For those not familiar, you highlight some text, and then ask emacs to place it in a numbered register (0-9). Then as you're going along you can ask emacs to insert the text in the given register into your code.
Basically I can save a chunk of text on the fly and then insert...
I am interested in formatting all the files in a Visual Studio (ver. 2005) project all at once. Any idea?
Currently, there is a way to format a single document by doing something like Edit->Advanced->Format Document. However, I don't see a single command to format all the files of a project all at once.
I am hoping there is a macro o...
OS Windows Vista Ultimate
trying to run a program called minimal.c when i type at command line
C:\Users\nathan\Desktop>cl minimal.c
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.762 for 80x86
Copyright (C) Microsoft Corporation. All rights reserved.
minimal.c
minimal.c(5) : fatal error C1034: windows.h: no incl...
Hello,
here is my setup:
Sql server 2008 standard running on Vista - VMware running a XP machine with VS2008 inside it.
If I open a SQL database in my host computer in sql server management studio and make structure changes to the database and then go back to visual studio, my visual studio has lost connectin to the database (says a n...
I'm working on a Visual Studio 2008 Add-in that shows files from SharePoint. It is possible to edit file in SharePint from within Visual Studio, and I would like to give a view of the difference between the current document and the version saved in ShaerPoint and the last published version in SharePoint.
In the past there was Super Di...
Hi guys. Is there any possible way to collapse all class fields except comments? Ctrl+M, Ctrl+O shortcut collapses all including comments.
Thank you.
...
As you can see from the screenshot, vs2008 thinks asp tags are hyperlinks. I have reset all the settings on it but the issue is still there. I have tried on different projects and the same issue is present. I have moved the projects to another visual studio installation and problem has gone until I move them back.
Any one knows why this...
I've downloaded the Ninject SVN visual studio project and I want to compile it against Silverlight libraries to make a Silverlight compatible DLL.
Is there a setting to change somewhere to make it a Silverlight library project, or do I need to swap in and out references here and there?
...
In a Visual Studio plugin, I'm trying to obtain the currently active
project.
I've found some Web posts about using DTE.ActiveSolutionProjects.
That function gives me objects that can be cast to and array of
DTE.Project objects -- but it always gives me the same project,
regardless of what I've loaded as the current solution in the ID...
HI
I want to know what's the difference between Release and Debug modes in Visual Studio while building a project?
Thanks in Advance.
...
Hi
i am getting the following error while building a project.Even though i am seeting the
property as treat warning as errors to "NO" i am getting this one.
errorc2220 : warning treated as error no object file is created.
Can any one Help me Resolving This One.
Thanks in Advance.
...