How do you force Visual Studio to regenerate the .designer files for aspx/ascx files?

Sometimes when I’m editing page or control the .designer files stop being updated with the new controls I’m putting on the page. I’m not sure what’s causing this to happen, but I’m wondering if there’s any way of forcing Visual Studio to regenerate the .designer file. I’m using Visual Studio 2008 EDIT: Sorry I should … Read more

The name ‘ConfigurationManager’ does not exist in the current context

I am trying to access connectionStrings from the config file. The code is ASP.NET + C#. I have added System.Configuration to reference and also mentioned with using. But still it wouldn’t accept the assembly. I am using VSTS 2008. Any idea what could be the reason? Another weird thing is the assembly name shown as … Read more

What does the Visual Studio “Any CPU” target mean?

I have some confusion related to the .NET platform build options in Visual Studio 2008. What is the “Any CPU” compilation target, and what sort of files does it generate? I examined the output executable of this “Any CPU” build and found that they are the x86 executables (who would not see that coming!). So, … Read more

Go to Matching Brace in Visual Studio?

Is there a way in Visual Studio 2008 to go from a closing brace to its opening brace? I’ve found a fair amount of stuff about highlighting the brace, but nothing about moving the cursor to it. (VB.NET version of this Question: Keyboard shortcut for Jumping between “If/End If”) 27 s 27 I found this … Read more

Metadata file ‘.dll’ could not be found

I am working on a WPF, C# 3.0 project, and I get this error: Error 1 Metadata file ‘WORK=- \Tools\VersionManagementSystem\BusinessLogicLayer\bin\Debug \BusinessLogicLayer.dll’ could not be found C:\-=WORK=- \Tools \VersionManagementSystem\VersionManagementSystem\CSC VersionManagementSystem This is how I reference my usercontrols: xmlns:vms=”clr-namespace:VersionManagementSystem” <vms:SignOffProjectListing Margin=”5″/> It happens after every failed build. The only way I can get the solution to compile … Read more