Is there a way to publish a web site from Visual Studio 2008 using SCP or SFTP? I know it is possible to publish to my local filesystem and then perform the transfer with SCP, but I'd like something more seamless (e.g. part of Visual Studio). Does this feature exist? An addin perhaps?
...
Hello folks.
For instance, I know of Link, DependentUpon and SubType. I am wondering if there are any more nifty metadata children of Compile. I use Link and DependentUpon a lot and really like them.
...
I don't think there is any program like VS Windows.Forms for C++. Now I know that "Windows.Forms" are in themselves a C# "thing", but it eludes me why no one has put together a similar graphical construction interface for C++ Windows GUIs. Am I just not aware of it/them?
Should I try to make one (that'd be a challenge, for me anyway, bu...
I finally figured out that Visual Studio keeps track of how you create a project (in other words which project template you select initially) and filters your options later based on that initial decision. The information is kept in the *.csproj file as a <ProjectTypeGuids> element.
Other than just editing the *.csproj file, is there a "...
Let's say I have a function that takes an object as a parameter and returns a string...
public string Foo(object values) { // return a string }
When working in Visual Studio 2008 (ASP.NET MVC Web Application), I try to pass an object intializer to this function like so:
string x = Foo(new { x = 1, y = 2 });
While I'm typing this ou...
In Visual Studio (2008) when you place a textbox on a Windows Form, and drag it around, you see very helpful guidelines which help you align it (left, right, top or bottom) to other controls. You also see a line the represents the bottom of the text in that control helping you align the text within your textbox, to the text within a labe...
I have an existing MFC application with matrix computation with CPU-optimized BLAS libraries. I'm interested in adding CuBLAS computational functionalities to my project, but I have the two following questions:
1) I'm not sure if I would need to do something on specifying my own CUDA kernel, thread, and block configurations at this poin...
Hi,
How do I change the localization of a setup project in VS2008 to be other than the defined languages in the dropdown (i.e. not English or France but Hebrew or Dutch)
Thanks,
Yoni.
...
I'm currently in the process of developing a large application.
At the moment, i have one solution (this may change in the fullness of time) with many projects.
I've set up the directory structure as:
\
lib\ (contains shared 3rd party components)
build\
build\bin (output directory)
build\wwwroot (output directory for web app)
config\ ...
Is it possible to do Windows Mobile development in Visual Studio (2008), where the Windows Mobile Forms designer appears in "hi-res" (VGA/>96 DPI), rather than the default lo-res view?
I'm using Resco controls, which have some built-in support for hi-res, but it's a little bit slow to develop any significant forms, because you don't kno...
I have a .ico that I want to add to several class library DLL projects, using Visual Studio Pro 2008. For each project, I added the ico, set the built type to 'embedded resource' and set the icon in the project prefs page. Still the icon is the default.
What did I miss?
Thanks.
...
How to store the value of the PolicyID returned from database in an integer variable in C#?
I am using SQL server 2005.
System.Data.SqlClient.SqlConnection dataConnection = new SqlConnection();
dataConnection.ConnectionString =
@"Data Source=JAGMIT-PC\SQLEXPRESS;Initial Catalog=SumooHAgentDB;Integrated Secur...
I am building something similar to Server Explorer for Apache CouchDB. One of the things necessary is to be able to edit CouchDB view definitions which in CouchDB are JavaScript functions.
How can I trick Visual Studio into using my object to retrieve and save the content of the JavaScript function but still use the rest of it - I am h...
I'm troubleshooting a jQuery problem which happens when the HTTP requests for a page load include this query string:
GET /Scripts/jquery-1.3.2.min.js?_=1255309685187
Normally, the request has no query string and the response status code is 304:
GET /Scripts/jquery-1.3.2.min.js
However, every so often a query string is appended. ...
Is there a way to turn off intellisense in Visual Studio 2008? I know about deleting a DLL to turn off intellisense in C++, but that doesn't work for C#. I also know about the preferences but that just turns off the visual display. I want to turn off ALL of intellisense so it does not scan my code at all.
Update 10/14/09: Eric was ki...
Was wondering if there was a simple way to add and configure a POP3 server to Outlook's mail server settings programmatically?
Searching Google seems to yield results that tell me I have to reverse-engineer the gobbledygook stored under HKCU\Software\Microsoft\Windows NT\Windows Messaging Subsystem\Profiles. My employer wanted to see if...
Hi,
I know visual studio has some magic keywords you can use in comments, which will make them marked in the Task List:
TODO
HACK
UNDONE
Do you know of any other built-in keywords, that may mark the code as a task?
Or any other special keywords that will mark the code as bug-fix, warning, error, etc.
Thanks.
...
I was modifying an overridden method of a subclass. In order to determine the impact of the change, I went through all possible scenarios and tested them.
The problem is, the "all possible scenarios" are determined by reading business use cases, putting break point to find out when this particular overridden method is being hit instead ...
This may seem silly to some but I've never really understood the usefulness of the Command Window in Visual Studio.
I know that the Visual Studio Command Window is used to execute commands or aliases directly in the IDE. The MSDN article explains how one can use the command window to print debug statements but I feel that these can be e...
My C# code is calling an unmanaged third-party library function via P/Invoke, and the unmanaged function is having some strange side effects. I want to debug into it and see what it's doing.
If I debug my C# code, and try to "Step Into" the P/Invoke call, it steps over instead. No surprise there -- I expected that; it doesn't have the s...