visual-studio

Visual Studio: Load a Project from a Remote Location

With Visual Studio (2008), is it possible to load a project (to a solution) that exists on a remote location ? Basically what I want to do is somehow "host" a VS Project online and then load this project to a solution from a remote location. Is this possible in some way? This is so that I can keep integrity when loading my Utils Libra...

Not enough storage is available to process this command in VisualStudio 2008

Hello! When I try to compile an assembly in VS 2008, I got (occasionally, usually after 2-3 hours of work with the project) the following error Metadata file '[name].dll' could not be opened -- 'Not enough storage is available to process this command. Usually to get rid of that I need to restart Visual Studio The assembly I need to u...

Why does VS2005 create both a member and a field for web service fields?

When adding a web reference in Visual Studio 2005, I've noticed that every element within the wdsl is duplicated. E.g. for element ItemOne, the interface it generates contains both ItemOne and itemOneField. Both are the same thing, but one is a member and the other is a field. I suspect the field is just a getter for the member. I ca...

.NET - Programmatic alteration of Project and Solution files (.vbprog, .csproj, .sln)

We maintain a large number of .NET Project and Solution files by hand; it's ugly tedious and should be automated. The files are all XML, so writing a tool for our purposes won't be hard, but I was wondering if anyone knows of either a VS or TFS API object that would let me work with these files as objects without having to create my own...

Naming convention for Visual Studio solutions and projects

We were thinking about organizing our BIG project this way: \trunk [CompanyName] [Product1] [Project1] CompanyName.Product1.Project1.csproj [Project2] CompanyName.Product1.Project2.csproj CompanyName.Product1.sln [Product2] We were trying to follow Microsoft's recommendation that ...

Efficient comparison of 100.000 vectors

I save 100.000 Vectors of in a database. Each vector has a dimension 60. (int vector[60]) Then I take one and want present vectors to the user in order of decreasing similarity to the chosen one. I use Tanimoto Classifier to compare 2 vectors: Is there any methods to avoid doing through all entries in the database? One more thing! ...

Link error "LogonUser" compiling C++ program?

Hey Folks i am trying to compile this C++ program: #include <stdio.h> #include <string.h> #include <sys/stat.h> #include <stdlib.h> #include <Windows.h> #include "Validate.h" JNIEXPORT jstring JNICALL Java_Validate_takeInfo(JNIEnv *env, jobject obj, jstring domain, jstring id, jstring idca, jstring password) { const c...

iPhone Development using Visual Studio

I thought I heard something about VS2010 supporting iPhone/iPod touch development. Did I fantasize/dream it? If so, has anyone heard of any plans to support development for these platforms? ...

Career Choice between C#,ASP.NET and VC++

My affair with C# has run for about 3 years now, and I'm quite happy with it, at work I generally code web and console applications with MS SQL as the DB. But technically, I'm not advancing at a pace I expected to, the projects given to me are so simple that they don't require me to delve deeper into the programming language, I just know...

Visual Studio 2008: Publish two versions of the same program

I have two slightly different versions of my VB applications that I would like to publish simultaneously. The differences are minimal and mostly include GUI and some internal logic. Incorporating changes into a single application is not an option right now. I tried publishing and installing them separately but the latest installer alwa...

visual studio: configure debug to attach to process

I'm using Visual Studio 2008; is it possible to configure a project debugging options to automatically attach to a process with a certain name when hitting F5? Edit: actual macro, specifying to attach to managed code: Sub AttachToMyProcess() Try Dim dbg2 As EnvDTE80.Debugger2 = DTE.Debugger Dim trans As EnvDTE80.Tra...

DTE.ExecuteCommand and wait

Hi, I would like use macros for publishing my webapplication project. The little problem is, DTE.ExecuteCommand run asynchronously, and I need to wait until the command is done. Example: DTE.Windows.Item(Constants.vsWindowKindSolutionExplorer).Activate() DTE.ActiveWindow.Object.GetItem("04 - Products\04 - Products.WSS").Select...

AD Provider Membership.GetUser() cause error saying: "The parameter 'username' must not be empty."

Using the ActiveDirectory Provider, when i'm execute the Membershhip.GetUser() i got the following error massage saying: "The parameter 'username' must not be empty.". Here is the membership configuration: <membership defaultProvider="AspNetActiveDirectoryMembershipProvider" > <providers> <clear/> <add name="AspNetActiveDirec...

How to get the names of all resources in a resource file

Within a Visual Basic Project I have added a resource file (resx) that contains a bunch of images. Now I want to query the names of the images. If I open the resx file in the designer view in the Visual Studio IDE and select an image, the property grid shows me a name property (defaults to "filename without extension but can be changed)...

SSIS - Disappearing External .dll

I'm on a 2 developer team. We're running SQL Server 2008 and SQL Server 2008 SSIS. We have an external library that I've written to take advantage of some reusable functionality in a script task. I've signed the assembly with an .snk, compiled it, and added it to the GAC on the dev machine. When I load a project, I can add a reference to...

Visual Studio Settings file - how does it work?

Hi I do not understand the following things: What is the difference between app.config (applicationname.exe.config) and settings file ? I am unable to locate the *.settings file in Windows7 AppData directory under the specific account (I heard that it should be located somewhere over there) ? Let's assume that *.settings file is somew...

ASP.NET Development server crash

I'm getting a crash while trying to debug a asp .net application via webdev from Visual Studio 2008. Normally, the usual way of troubleshooting this issue is to narrow down the code change that would lead to the crash. This is usually time consuming. Fortunately, this only happens once in a blue moon. I'm wondering if there is a faster ...

Convert VB.NET 2005 project to C# 2008 Project

Is there a tool to convert a VB.NET 2005 project to a C# 2008 project. I am trying to convert our project to VS 2008 and mostly port all the vb.NET code in some projects to C# 3.0/3.5. ...

VS add-in: Add context button on web applications

I'm messing around with Visual Studio (2008) add-ins. I want to be able to add a button to all web application context menus (that will setup IIS for the website based on a shared archive from the web deployment tool). I've got as far as being able to add the context item on the project context menu: public void OnConnection(object app...

How is Visual Studio 2010 performance compared to 2008?

Thinking about installing Visual Studio on my Asus eee 1000HE. Since it is not a very powerful machine, I am wondering if I should install 2008 or the new 2010. Looks like there has been a lot of changes done to the UI, etc. Does that mean that it now runs smoother as well? Or is it actually heavier to run? ...