I have a C# Web application built in Visual Studio 2008 where we rely heavily on user controls for 'pre-built' blocks of ASP.NET.
Instead of registering a big stack of user controls on each page, we register all the controls in a local (to a specific folder) web.config file. The advantage is that we can use the controls and the pages lo...
When I try to load a solution in Visual Studio 2008, it immediately closes. I get the following error in the event log:
.NET Runtime version 2.0.50727.3053 -
Fatal Execution Engine Error
(6E875E00) (80131506)
I've searched the web high and low and can't find a resolution to this problem. I've found similar issues, but none of t...
Our team is developing a new product on the base of the old one and I received an honorable task of renaming old projects to the new name. For example:
project OldProductLib.vcproj must become NewProductLib.vcproj
\main\OldLib must become \main\NewLib
... and such.
Does anyone have a methodology and/or tool that would help me do thi...
I work for my parents in a small document management company. Almost 3 years ago I began learning how to code in Visual Basic using Visual Studio 2005 and .NET 2.0.
I have read many books since then and attempt (when possible) to learn as much as I possibly can. A problem I have, though, is the tyranny of the urgent, which means that I'...
I have a base form. I place Ok and Cancel buttons on the bottom right of the form and anchor them Bottom and Right.
The inherited form does not honor the anchor properties of the Ok and Cancel buttons. Here are the exact steps to repro.
1- Create a base form with a button located at bottom/right. Anchor it there at Bottom,Right.
3- ...
I have a Silverlight project (with ASP.net MVC web project)
Suddenly, when I press F5 it takes like 20 seconds, from the moment that Internet explorer opens, to when the debugger is attached. Mind you, it is a project that works perfectly since about 3 months. The problem just started last days.
When I start without debugging, everythi...
I usually use the "Publish" feature in VS 2008 to get the correct files and so on that I can publish to my website. But from time to time publish fails without any good error message at all. I know that it can be a couple of different reasons but I am starting to grow really tired with this now.
Can anyone teach me how to build the webs...
When I am writing translated strings into the form resx files in VS2008, is there anything like a translation repository? It was very helpful in my old C++ Builder times:
Translate "Cancel" in one form to German "Abbrechnen"
Add this translation to a repository, since this word is repeated in most forms
When I start to translate anothe...
Hi,
I think I have something broken with the path that VS 2008 saves the backup files. Since few days, it creates a new "Visual Studio 2008" directory in the same folder that my .sln file exists. Then, after the time of the first auto-save expires, the backup files are being saved to this folder.
I browsed the tools-options dialog but ...
Is there a shortcut to add an event method for a control? If I have a button, I want to add the Click method without having to type it out or switch to design view.
EDIT:
Seriously! When i did this in VB I had a drop down list of all the controls and their events. Is that so hard to do for C#?
...
I am using Microsoft Visual Web Developer 2008 Express.
I've made an ASP.NET MVC site which has 6 CSS files and 6 Javascript files in the HEAD element in the Site.Master file.
When I do F5 or CTRL-F5 in Explorer or Opera, the site displays instantly.
When I run my site in Firefox, it takes a SECOND for each CSS and each Javascript file ...
Has anyone successfully installed VS 2008 Team Developer edition on the Windows 7 beta yet? Every time I try, i get an error about insufficient privileges in C:\Windows\Winsxs.
I was able to install the VS 2008 Team Database edition with no problems, and had thought that maybe installing the Dev edition after the DB edition might take ...
I have a base User Control. I place Ok and Cancel buttons on the bottom right of the control and anchor them Bottom and Right.
I then create another user control that inherits from the base user control. I resize the inherited control (e.g. increase height or width). Throw the inherited control onto the form. Run. The inherited contro...
Hello, I have a Winforms project with a bunch of User controls. I'd like the user control to move itself to be at the 1,1 position relative to its container (whether it's a form or a Panel control). And resize itself to be able to fit half the container.
What event can I respond to in the UserControl to be able to do this without any ...
According to an earlier question about Visual Studio configurations, there's no way to use Visual Studio's configuration manager to create different configurations for an ASP.net web site project.
For normal projects, we have #if directives that switch certain server or database variables depending on whether we're debugging or in pro...
We build using MSBuild2005 with a self-written Logger class that keeps track of which projects are currently building and assigns the incoming errors/warnings to the projects.
This was a kind of tricky because MSBuild also calls ProjectStarted/FinishedEventArgs when it "somehow" accesses referenced projects. But I got it working.
Now we...
My web application crashes almost once a week due to not enought memory error. Although server has 8gb of memory and it's server 2003 x64. And almost 5gb is always free.
I compile my application with Any CPU option in studio 2008.
My laptop that i use to build this has 32 bit vista.
Is my web application running under x86 or x64?
if ...
I am writing a fairly simple WPF desktop application and under build\configuration manager, release is not an option. The only available options are Debug, New, and Edit.
Anyone have an idea on why this is?
Related: the control library in the same solution does have release as a build option. It is only missing in the wpf app.
...
I can't connect to the ASPNETDB.MDF file in the App_Data that is created by the ASP.NET MVC Beta project from Visual Studio 2008 or SQL Management Studio 2008 Express on Vista. The project is in C:\Users\Matthew\Documents\Visual Studio 2008\Projects\MVCTest so the MDF file is in C:\Users\Matthew\Documents\Visual Studio 2008\Projects\MVCT...
I converted my VS2005 to VS2008 and I get the following error:
error MSB4075: The project file must be opened in the Visual Studio IDE and converted to the latest version before it can be built by MSBuild.
Any help appreciated. Google failed me this time lol..
...