visual-studio

How to change app.config from the MSI installer, designed on Visual Studio?

I have this .NET application which use Settings.settings and app.conf as configuration repositories instead of the Windows Registry. It seems pretty easy to ask questions to the user during the installation and write the responses to the Windows Registry, but I have not found yet a way to write the responses to the app.config file. Does ...

How can I make visual studio highlight .php files

Hope the title explains it all, but all I'm trying to do is open some .php files in my web-site solution and have Visual studio treat them as if they are html files. I don't need the actual PHJP code highlighted (it's only includes). The HTML syntax should be parse-able, should it not? ...

Where is it possible to download trial of Microsoft Team Foundation Server 2005?

Where is it possible to download trial of Microsoft Team Foundation Server 2005? Microsoft is not offering it in Download section anymore. Thank you for your answers. ...

Visual Studio search results highlighting

Is there any way to highlight search results in Visual Studio? Note, I'm specifically asking about the "Find Results" window. An example of what I'm looking for is the GNU grep --color option. ...

Visual Studio Link problem

I am working on a asp.net mvc c# jquery application. For some reason when I drag a file from the solution explorer on to my code page I no longer get the path to the file. All I get is <a href="../../">../../</a> If I start with a new MVC project and drag a file say the jquery file Visual Studio gives me this, <script src="../../Scr...

problem with paging my gridview

I have a gridview inside of a div that is displayed with ajax. I have the following. <asp:ImageButton ID="ImageButton2" runat="server" ImageUrl="~/images/icon_info.gif" /> <div id="moveMe" style="display:none"> <div style="float:right;"> ...

Fixed size form in Visual Studio Express

How can I set my form to have a fixed size? ...

Best way to code Visual Studio like code app

I am needing to make a program that can do syntax highlighting and the drop down autocomplete similar to visual studio. Id also like it to be able to collapse and expand code segments if possible. I tried coding this before using rich text editor and using reg expressions to apply the coloring. This was very processor intensive and cau...

tell visual studio to create a utf-8 environment when running executables

I am using CMAKE with CTEST to run my regressions. My application is a console app which outputs in whatever encoding it is presented by it's environment (A feature of Tcl). How do I tell visual studio that when it runs my application to run it in a utf-8 environment. Right now my regression results are encoded in latin, and it makes ...

Microsoft.SqlServer.SqlTools.VSIntegration reference problem/oddities in Visual Studio 2010

SQL Server Edition: 2008 Enterprise Visual Studio: 2010 w/ .NET 4.0 SSMS 2008 Addin - Data Scripter project source code on CodePlex references Microsoft.SqlServer.SqlTools.VSIntegration.dll I have referenced the DLL under <<Microsoft SQL Server install location>>\100\Tools\Binn\VSShell\Common7\IDE But here is the oddity. Microsoft.S...

Is it possible to reference Silverlight 3 class library by .Net 3.5-based project in VS.net 2008?

First, I know Silverlight project can't reference to non-Silverlight based project like Windows class library or Asp.net MVC project. But I need to create my projects which can support both Silverlight-based project & Asp.net MVC project. So, I created Silverlight-based project for my sharing source code. It works fine on VS.net 2008 &...

Can Pre-Build Events Raise Warnings?

Hi, I have a custom tool which is set up as a pre-build event, it does some multi-language processing on the source code before it builds. I was wondering if it was possible for that tool to generate warnings which can be seen in visual studio's list of build warnings, either by outputting a specific string to the console (or by some ...

How to debug a PHP application?

Which is the best way to debug an PHP application as we can debug ASP.NET application with Visual Studio ? ...

Using an ISAPI Filter in Visual Studio Development Server

I'm trying to get a current web application running on my local machine, for dev purposes... the previous developer left abruptly and didn't document ANYTHING. Basically, it uses an ISAPI filter, installed into IIS for some url redirection... this is fine, but, i want to set it up on my local dev machine... How can i go about doing that...

Visual Studio Add Service Reference

Does anyone have anything against using this vs. creating your own proxy classes? Also, does anyone have a good overview of using Web Service Reference? I searched the net but couldn't find any good articles. ...

Multiple ASP.NET MVC projects that builds as single ASP.NET MVC Application

We want to split our large asp.net mvc web application into multiple Visual Studio projects so that each team can independently on their visual studio project. Desired structure is: ASP.NET MVC application that is responsible for the base UI Module 1 - VS Project (Does this need to be a ASP.net MVC App or .dll?) Module 2 - VS Project ...

Good resources for GUI creation in Visual Studio

I'm working more and more with desktop applications, and my GUIs SUCK. I'm familiar with the basics of GUI design, but am having trouble putting them into practice. What I'm looking for are good (or at least decent) guides to building (not designing!) a GUI in Visual Studio. Failing that (I've not found much via the usual sources), I ...

SharedAssemblyInfo.cs & VB Projects

I have been using a SharedAssemblyInfo.cs file as a linked file in my C# projects. With the introduction of some VB.net projects into the solution I have done the same with those. Although it does not give a compiler error, it does not 'add' the values from the linked SharedAssemblyInfo.cs file into the compiled assembly. Any ideas? ...

Using MSBuild Conditions on COMReferences

How can I specify a Condition for a COMReference in my *.csproj file? The following does not appear to work: <COMReference Include="SomeComLib" Condition=" '$(Configuration)' == 'Debug' "> ... </COMReference> I have some COM references in a C# project in Visual Studio 2008. I would like them to automatically use non-isolation mode...

Is there any way to do custom "grouping" of files in Visual Studio's Solution Explorer?

To explain a little more, I have a file Sidebar.cs, and I have Sidebar.js, and Sidebar.css. I would like to be able to make it Sidebar.cs, Sidebar.cs.js, and Sidebar.cs.css, and have the js and css file go "under" (as children of) the Sidebar.cs node in the treeview, just like what happens with .designer files and .aspx.cs files. Is th...