I'd like to rebuild my solution using MSBuild in command line. So far I'm using this command
C:\WINDOWS\Microsoft.NET\Framework\v3.5\MSBuild.exe d:\WorkCopy\AppServer.sln /t:Rebuild
But when I've changed or deleted a file the rebuild fails. I'm getting the following error code
Ulohy\GetUlohy.cs(27,33): error CS0246: The type or namesp...
I thought i'd use a macro to speed up writing <xsl:choose> blocks.
DTE.ActiveDocument.Selection.Text = "<xsl:choose>"
DTE.ActiveDocument.Selection.NewLine()
gives me (thanks to auto complete)
<xsl:choose>
</xsl:choose>
however
DTE.ActiveDocument.Selection.Text = "<xsl:choose>"
DTE.ActiveDocument.Selection.NewLine()
DTE.ActiveDocu...
I've been working on a small program which gets a list of url's from the web server ( latest forum topics ) and warns the user whenever a new topic is created.
So the main form of my program have a list of buttons. Each button has the text of the forum topic and extra information below. Opens the browser with the topics url when user p...
Is there a way to hide the "X" closing icon of a ToolWindow or is there a way to use IVsWindowFrameNotify3's OnShow method to discard (ignore) the event?
It seems that the OnClose method is called only when VS exit. When the ToolWindow is called, the OnShow method is called with the __FRAMESHOW.FRAMESHOW_WinHidden state.
thanks
...
Hi, I wonder if we can implement and fetch data from different datasources into a DataGrid.
Let's say for example i have a 3 stored procedures:
What I did is drag 3 datasources and configured it in each stored procedures.
1st stored procedures : returns @id and @name
2nd stored procedures : returns @name, @server and @location
3rd stor...
I have a very pretty DBML diagram that I would like to preserve in our Design Documents. How do I get an image showing all of the tables in one go?
I found http://stackoverflow.com/questions/1686767/how-to-export-visual-studio-2010-uml-modeling-diagrams but the slightly elegant solution of copying all the items and pasting them into an ...
I'd like to basically control the name of the method that the Visual Studio form designer uses for putting it's generated code in. By default, this is named InitializeComponent. But often times I need to have different layouts for different types of screen resolutions/aspect ratios (see Designing forms to work on different resolutions ...
Currently when I right-click -> Merge on a specific file in Visual Studio 2008 it attempts (and often succeeds) to automatically merge the file to my indicated target.
How can I force VS to always allow me to manually compare and merge the file in my merge tool?
I should mention that my source control is TFS.
...
What actually happens when you target the .NET 3.5 framework in Visual Studio? What does that actually do? Does it somehow "flag" any of the output files and associate them with the framework version?
...
Is it possible using macros in Visual studio 2008 to change command line arguments for debug project?
In project->properties->debug i can set manually comm line args for debugging.
I'd like to change them with macros, not with hands.
...
Ok, has anyone had this problem or know how to fix it?
I downloaded VS 2010 beta 2 and installed it, I checked it out. But now when I am editing a xaml file in VS 2008 while I have a c# class window open I lose all intellisense on my classes and it show the usings above saying "A type or namespace 'XXXX' could not be found (are you miss...
I've split the code window for a long css file into two sections, top half for viewing one area of code, bottom area for viewing another area of the code. I did this by dragging the splitter on the top right of the code editor to the middle of the editing area.
What is the keystroke command that makes the cursor jump from the lower wi...
A typical CSS property that I use often is overflow-x and overflow-y. Sometimes I use CSS 2.1 or later properties or selectors. These (correctly) raise a validation error:
Validation (CSS 2.0): 'overflow-y' is not a known CSS property name.
For years I ignored this, but it kinda feels wrong. It's possible to switch off warning in C...
Using VS2008sp1, I'm publishing Web app to a separate IIS7.5 server. It's been ok for a while, but hit this strange scenario:
-Created a class file that generates its own DLL.
-works fine locally
-When publish to server, the older DLL file is there along with all the other newer files (based on time stamp). The application dies when it t...
Hi,
what is the computation of getting the Avg. Content Length (bytes) of loadtest?
...
I have code like this, in pagefunction making up a wizard:
<TextBox Name="txtDate" Text="{Binding Path=Date}"></TextBox>
The user types in and clicks next, object sent to next page with this data.
But if I set
<TextBox Name="txtDate" Text="{Binding Path=Date, TargetNullValue='2010-01-15'}"></TextBox>
So I can have some "example" t...
Lets say we have a form consisting of 20+ controls, for example buttons.
We want to create handlers for the On-click event for all of them.
The usual way is to go to the designer and double-click each button to have it automatically create the function.
Another way is to create them yourself in code, after the InitializeComponent() func...
Is it possible to debug Windows hosted programs compiled by cygwin gcc by using Visual Studio debugger?
...
In Visual Studio 2008 I've added a project's primary output to a setup project but the project's dependencies are not being found.
If I look at the properties of the primary output the Dependencies property shows as (None). If I look a little deeper then I can find that the Dependencies property under the KeyOutput property has the proj...
We need to deploy Visual C++ library. We have tried deploy this libraries using Merge Modules, but uninstall became too slow (about 10-20 minutes). So we've decided to deploy this libraries using XCopy method. Does anybody know any troubles with deploying Visual C++ library using XCopy?
...