Can I add new Silverlight 2.0 projects to my ASP.NET 2.0 web app and still target .NET Framework 2.0 in Visual Studio 2008?
ScottGu doesn't mention Silverlight in his post on multi-targeting.
Michael Scwartz's posts on Silverlight with Visual Studio .NET 2005 and How to create Silverlight Applications with Notepad refer to VS2005 or to...
I'm trying to make sure my work is 508 compliant more and more these days, but noticed that VS2008 doesn't throw an error if you have a 100% table driven layout instead of css.
I always thought that to be 508 compliant you needed to drop the "tables for layout" idea ...
If this is true, how can I force studio to make these errors ins...
I was wondering if there is a way (hopefully keyboard shortcut) to create auto generate function headers in visual studio.
Example:
Private Function Foo(ByVal param1 As String, ByVal param2 As Integer)
And it would automagically become something like this...
'----------------------------------
'Pre:
'Post:
'Author:
'Date:
'Para...
After writing code to populate textboxes from an object, such as:
txtFirstName.Text = customer.FirstName;
txtLastName.Text = customer.LastName;
txtAddress.Text = customer.Address;
txtCity.Text = customer.City;
is there way in Visual Studio (or even something like Resharper) to copy and paste this code into a save function and reverse ...
I usually write C# programs for myself, or just parts of other applications. Now, I have been working on a project that I would like to eventually commercialize and I am interested in the easiest way to deploy a simple application from VS 2008 that will primarily be downloaded and installed. I am not just interested in installer choice...
Hello all,
I am looking for a nice add on to VS 2008 that will let me select all of my private fields and automatically turn them into public properties. Does a tool like this exist?
Thanks
...
Anyway of invoking the Edit > Advanced > Format Document" VS command automatically when switching away from a document / routinely with a timer / on entering a document?
Its really irritating Ctrl+E+D'ing everytime you want to prettify your code.
...
I'm trying to debug javascript code just by adding a breakpoint in VS2008, but the debugger's not stopping. Do I have to do some special setup in order to enable javascript debugging? Or does the code have to be in a separate js file?
...
Is there a way to enabling collapsing of functions and sub-routines for Classic ASP in Visual Studio 2008? I'm able to manually go through and specify blocks of code as collapsable, but it would save me a lot of time if there was a way to automatically do this.
Otherwise, is there another IDE or text editor that you can think of that s...
I have a couple duplicate custom crystal reports controls in my Toolbox in VS2005 and VS2008. One of each of the duplicates is preceded with the word Cached. These controls are all part of other projects in the same solution. I have removed some of the main controls that I don't want on the Toolbox by adding the [ToolboxItem(false)] attr...
The if keyword in the following statement is underlined in green by ReSharper:
if (readOnlyFields.Contains(propertyName)) return false;
return base.CanWriteProperty(propertyName);
ReSharper suggests the following change:
return !readOnlyFields.Contains(propertyName)
&& base.CanWriteProperty(propertyName);
Why is this "better...
We have some auto-generated resource files in our project in Visual Studio 2008, with some localized versions, and in one of these localized versions, there is a string which in this case is empty.
More explicit. We have a core resource file, with lots of string resources. We then have 4 other localized versions of thisfile, and in one ...
Hi all,
I have created a simple Asp.Net custom control which automatically combines all the correct stylesheets to send to the client (based on browser type/version/etc).
However, because at design-time the head tag looks something like this...
<head>
<cc:CssControl runat="server" />
</head>
...VS is unable to provide intellisen...
What am I doing wrong? I have a simple console app in VS08. When I hit Publish, it creates a setup.exe in the target folder. When you run setup.exe, it goes through the motions of installing, but it also runs the app, which is undesirable to say the least. Is there a setting I'm missing or something?
...
I'm having trouble with Debug(f11,etc.) using VS2008-SP1 and Vista-SP1. It randomly, but routinely, puts my computer in the sleep mode. I've looked on the web for similar problems and found nothing.
...
I have a Web Application project. When I try to Publish by right-clicking the project and selecting "Publish Web Site" it seems to Build OK but then errors with
External component has thrown an
exception
I'm not using FTP etc., this is just to a local folder.
Has anyone got any ideas?
...
I am using Visual Studio 2008 and I get the following error message when trying to open one of my Forms:
Could not find endpoint element with
name 'WSHttpBinding_ICommon' and
contract 'CommonWCF.ICommon' in the
ServiceModel client configuration
section. This might be because no
configuration file was found for your
applic...
I've just received a new development machine with VS2008 pre-installed. One of my favorite help features is the Dynamic Help pane. However, it currently shows "no links are available for the current selection" for everything.
I'm thinking that there's a config option or way to enable this. So far Google hasn't turned up anything and I t...
The first time I try to open a particular form many of the controls (those with anchors on the right side and/or the bottom) are shifted and my grids automatically regain all the columns from their datasource which (the columns) I had previously removed.
I have read elsewhere it is recommended to copy the 'good' designer code into the c...
I have a command-line utility that gets quite a bit of downloads from my site. I'm trying to show the usage when a user uses the /? or /help parameters. I have a function called ShowUsage() that has nicely formatted text on the parameters available.
I see that ShowUsage() gets called fine from Visual Studio 2008, when I'm using the comm...