Exe version in MSI installer file name (VS 2010)
Hi, is it possible to make Visual Studio 2010 installer output file name, containing exe version, something like "setup[MajorExeVersion][MinorExeVersion].msi"? Thanks! ...
Hi, is it possible to make Visual Studio 2010 installer output file name, containing exe version, something like "setup[MajorExeVersion][MinorExeVersion].msi"? Thanks! ...
Hey, I'm working on my first add-in and I want to add a custom property to the properties windows of any file or directory in the project. So, if right now there are properties like "Build Action", "Copy to Output Directory", "Custom Tool", and "Custom Tool Namespace", I want to add another property, say, "MyAddinProperty". After goog...
I'm trying to compile this source code : // exception_set_unexpected.cpp // compile with: /c /EHsc #include<exception> #include<iostream> using namespace std; void unfunction( ) { cout << "I'll be back." << endl; terminate( ); } int main( ) { unexpected_handler oldHand = set_unexpected( unfunction ); unexpected( ); } ...
I notice that Visual Studio 2010 database projects have a re-distributable component to support the deployment on end-user systems. Will this component work against .Net 3.5, or does it require .Net 4.0? ...
Hi, I've got an ASP.NET MVC 2 Web app in VS 2010 and decided to try using MS unit testing stuff. What do you know, on the first test I created it gives me grief and refuses to elaborate. I have created a single test class and a single test method. I am using Moq to create a HttpContext (including Request, Response, Session, QueryString...
I use the new VS 2010 configuration transformations to deploy websites. To replace a single setting of my ApplicationSettings I use the following configuration transformation: <setting name="TempPath" serializeAs="String" xdt:Transform="Replace" xdt:Locator="Match(name)"> <value>C:\TEMP</value> </setting> Remark: There is no white...
When I attempt to use the above two tools together with Visual Studio 2010, after I open visual studio the tab "Pending Changes" contains the text "Team Foundation Server is not your current Source Control plug-in. Click here to set the current Source Control plug-in." When I click on this message, it opens the Options dialog that show...
I have STFW, the documentation, and poured through my own build scripts and cannot find the answer; even reading through a "Diagnostic" build log has yet to reveal what I am looking for. When I build a VS2010 / MSSQL 2008 solution containing four projects, the output for each project looks like: __target/$Arch_$Config/sql/$projectName/...
When I export a Local RDLC from the ReportViewer to Excel there is an empty extra row appended to the bottom. So that when a user saves as CSV there is a row of commas on the bottom of the resulting csv. How do I keep the export from having the extra row on the bottom? ...
I dislike WPF's inability to interpret text in a case-insensitive way. Are there any tools (i.e. VS plugins) out there that will take my VB .NET code and handle the case-sensitivity issues for me? Edit: Now with examples. Input: <Dockpanel DockPanel.Dock="Bottom"> <Label Content="(c) blahblah" HorizontalAlignment="Left" Name...
Hi I have a schema file in a asp.net mvc 2.0 application that is a .net 4.0 I am using visual studios 2010 ultimate and I am using their publish button. When I publish my solution the folder that contains my xml schema gets excluded. I don't know why it's doing this but I don't want this to happen. Is there a setting I can set? ...
Hi, I have Visual Studio 2008 and 2010 installed side by side, but trying to open either a 2008 or 2010 sln file results in nothing. The hour glass comes on for about a second and then it goes away and nothing is opened. I read somewhere to relate sln file to VS directly, but I can't go that route because I don't want 2008 solutions to ...
Quite often I will set up WPF UserControl with a declarative DataContext: <UserControl...> <UserControl.DataContext> <local:SomeModel x:Name="Model" /> </UserControl.DataContext> </UserControl> When in design mode, Visual Studio will attempt to instantiate the DataContext. However, when the DataContext is pulling data ...
I'm getting a "type or namespace name could not be found" error for a C# WPF app in VS2010. This area of code was compiling fine, but suddenly I'm getting this error. I've tried removing the Project Reference and Using statement, shutting VS2010 and restarting, but still I have this issue. Any ideas why this might be occurring, where ...
Hi I don't understand how to use this feature called "Build deployment package" in VS 2010. I go to my properties and go to package/publish web and setup it up. I click "Create deployment package as zip" I then build the deployment package and get a zip file. When I look into and start drilling down in the folders I find I get a path ...
How can I merge and make use of Web.debug.config in visual studio 2010 built-in debugger? ...
How can I permanently forget T4 generated files from being version control using Mercurial? It seems that Visual Studio (VisualHG) automatically adding them to version control. ...
Anybody knows how to use the Inconsolata font in Visual studio 2010? While working nicely in Visual studio 2008, in 2010 it doesn't show up in the font selection box - presumably because it is not in TTF format... ...
I've just recently reinstalled Windows 7 x64 on my box. The installation succeeded and I've had no issues with the operating system as a whole. I believe there is a configuration issue with either Windows or .NET x64. Symptoms The default build configurations for new projects is Debug|x86. This doesn't feel right. I'm running an x64 O...
I am working on this project which was created using ASP.NET MVC 2 RC. The "Add" has disappeared when I right click on the files. My problem is similar to this: http://stackoverflow.com/questions/2136074/vs-2010-beta-2-asp-net-mvc2-project-cannot-add-areas but the WalkThrough answer didn't help. example: "Add" option is there for "Cont...