visual-studio-2008

Whitelisting MSBuild SafeImports (Project Files that have MSBuild customisations that are trusted)

Visual Studio 2008 devenv keeps a list of projects for which one has answered Load project normally in the Security Warning for ProjectName ... The ProjectName project file has been customised and could present a security risk by executing custom build steps... dialog in the registry at: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft...

VB.NET ASP.NET Web Application woes (VS 2008)

Hi all, I am making my first web application with ASP.NET and I am having a rough time. I have previously created the application I am working on as a Windows Form application and it works great, but I am having problems with the HTML side of things in the web application. My issues are pretty minor, but very annoying. I have worked w...

Visual Studio 2008 C++ not detecting dependancy on SQLITE DLL

I have several windows C++ programs that use SQLITE via the DLL. The visual-studio projects properties refer to sqlite3.lib. They build and run OK. However, when I create an installer, the dependency on SQLITE3.DLL is not reliably detected, the DLL is not included and my clients are plunged into "DLL Hell". Every single time, I have ...

Visual Studio: What happened to the "Break when an exception is unhandled" option?

Hi, As far as I remember, Visual Studio (both 2008 and 2010) used to have an option to break either on thrown exceptions or on unhandled exceptions. Now when I bring up the Exceptions dialog (Ctr+Alt+E), it just offers to break when an exception is thrown: http://screencast.com/t/NDk3NDYxZD I've tried resizing to the columns in that d...

Qt moc failure without an error message

So I'm pretty new to Qt, and I've just inherited a project from someone else who is also new to Qt. He isn't around this week btw. We are using Visual Studio 2008, and have the latest version of Qt installed(4.6.2). The project builds on my coworker's machine fine, and I can get the project from svn and build it directly. But under a...

Publishing From Visual Studio Express

I am an amateur programmer. When I publish an app from Visual Studio Express, I have no option to make the package install for "All users of this computer". Is this possible to do from Visual Studio Express? If so then where is the option? If not, do I need to use the full version of VS or do I need some other package authoring softw...

Use the same log4net assembly in .NET and Mono

Hi, I've downloaded log4net, but I've realised that there are different assemblies for .NET and Mono. Is possible to use the same assembly for .NET and Mono? I wouldn't like to have to recompile the application or change the file manually, is there a way to add one or add the two and put a condition somewhere? Cheers. ...

Visual studio formatting issue

I am using Visual Studio 2008. In my editor whenever I write an automatic property it's "get" and "set" wraps to a single line whenever I wrote "set" and put semicolon(;). like this: public string MyProperty { get; set; } I want it to be formatted like this public string MyProperty { get; set; } Currently I am manually ...

Error while synchronizing local cache database

Using visual studio 2008 , after selecting cached tables from northwind database and while synchronizing local cache database this error message is prompted! http://www.http://www.freeimagehosting.net/uploads/7cecc7881b.png ( i can't post the pic directly since im a newbie) I would apperciate your help guys Thanks Natasha ...

Drop Down Box and other stuff in ASP.NET with VB.NET (VS 2008)

Hi all, I am trying to polish up a program a program that I have converted from a Windows Form in to an ASP.NET Web Application. I have several questions: 1.) I have a drop down box where users can select their variables, but users can also enter their variables manually into various text fields. What I want is for the drop down box ...

Trouble upgrading to .NET 4 with VS2008. What am I missing?

I downloaded the .NET 4 framework from Microsoft here: http://www.microsoft.com/downloads/details.aspx?FamilyID=9cfb2d51-5ff4-4491-b0e5-b386f32c0992&displaylang=en I installed and rebooted. When I go to compile options --> target framework... .NET 4 isn't on the list. Is .net 4 not compatible with VS2008? It would be nice if M...

Coexisting installation of visual studio 2010 &2008

Hi, I currently have MVS2008 and I want to try the 2010 version hoping that it would compile C programs faster. I would like to know if I can have a 2008 installation coexisting with a 2010 installation on the same Windows partition, without conflicts in the Windows environment variables in Win XP. Thanks a lot... ...

Good tools which generate NUnit unit tests for .NET assemblies in Visual Studio 2008

Hey guys, I'm pretty new to Unit Testing so bear with me. I realize that best best practice is not to auto generate unit tests, however I'd like to use Code Generation to set-up the basic skeleton of the tests. Now, I know Visual Studio 2008 already has the built in "create tests", however, it just creates a flat list of all the classe...

Visual Studio 2008 C# - Recover solution from application manifest possible?

Hello I recently deleted what I thought was an unused folder which happened to have the solution and code for a windows application I am maintaining. I have published the app multiple times with ClickOnce and have access to the application manifest, deploy, etc. Is there a way for me to use the published application to get back my solut...

Visual Studio 2008 hangs selecting pending changes tab.

The project is using the ankhsvn plugin. Any suggestions on how to resolve this would be great. i already have the visual studio sp1 installed. Also, ankhsvn is the latest version. Thanks ...

loaded resources looks ugly

I have the TreeView class using in my project. I use icons for it.First i load icons so: ImageList^ il = gcnew ImageList(); il->Images->Add(Image::FromFile("DISK.ico")); il->Images->Add(Image::FromFile("FILE.ico")); il->Images->Add(Image::FromFile("FOLDER.ico")); treeView1->ImageList = il; All was good. But i dont like that if i delet...

.NET Code Generataion | Unable to create a T4 template in Visual Studio 2008

I've the Visual Studio 2008 installed on my machine(licensed one). When I try to add a new .tt(say bar.tt) file to the project, the following code is generated: I've seen in a screencast, where in an empty .tt file should be opened and the developer enters the T4 code. Even if I remove the code and enter T4 code, am getting build error...

No native symbols in symbol file

I am trying to remote debug a Windows Form app with VS2008. Attaching to process works fine (Remote (Native only with no authentication)), but when I open the modules window and try to load symbols I get No native symbols in symbol file. I realise it has something to do with how the app was build but cannot figure out what ? ...

Upgraded jquery to 1.4.2. Now project doesn't find jquery

I have a C# ASP.NET MVC application which has been using jquery 1.3.2 in VS2008 environment. I decided to upgrade to 1.4.2 and added the file to my project. Changed the reference in my masterpage header to the new version. But now nothing works, it's like it can't find the jquery library. What could be wrong? ...

Visual Studio 8, PVCS or Rational ClearCase

We are currently using Visual Studio 8 with Visual Source Safe. Due to customer requirement, we must migrate to either PVCS or Rational ClearCase, Team System is not an option. Please recommend one of these two options, giving pros/cons from experience with each. How well does each integrate with Visual Studio 8? ...