I'm using TortoiseSVN and Visual Studio 2008.
Is there any way to update my project's subversion with svn's version in every build?
For example, 1.0.0.[svn's version] - 1.0.0.12
SA1124 DoNotUseRegions suggest that region should not be used anywhere. Is it really reasonable?
I think region is a way to group relative code together and make large class easy to read, for example, if you generate interface method in for class, a region will be automatically inserted by visual studio.
I would like to remove this rule while checking code style. May I know your ideal on this rule?
I am trying to configure a datasource with the Report Server Wizard in Visual Studio 2005. Is it possible to configure the datasource to allow the use of a report after the user gets prompted to enter credentials of another server? Also, how can I configure this?
Silverlight version : 4
Silverlight patter :MVVM
Visual Studio template :Silverlight navigation application
1)How do I deal with dialogs on the views e.g childwindow gets opened when a button is clicked?
2) How should the color's picker(inside the childwindow) control's hex value be communicated to the viewmodel?
I am running Zend Server,Zend Studio (Trial versions) on Ubuntu 9.10. I am also using xampp to do most of my development. I plan to use Zend Server only to do URL profiling to know function level performance of my code. Is it possible to configure Zend Server to use XAMPP's MySQL database instead of installing a new mysql instance for Zend Server?
Thanks
Hello,
I am trying to generate C# code from an XML schema with xsd.exe with Visual Studio RC1 (version 10.0.30128.1) but get the follwoing error:
C:\Developmentxsd CR2008Schema.xsd /classes
Microsoft (R) Xml Schemas/DataTypes support utility
[Microsoft (R) .NET Framework, Version 4.0.30128.1]
Copyright (C) Microsoft Corporation. All rights reser
Process is terminated due to StackOverflowException.
The xsd is http://www.businessobjects.com/products/xml/CR2008Schema.xsd
Any help appreciated.
Thanks,
Staffan
I have a value in the database which is 2.700000002. When I run a query in Management studio in SQL SERVER 2005 I get 2.7. But when I run in SQL SERVER 2000 query analyzer it comes 2.700000002.
2.70000002 is correct why is SQL SERVER 2005 trying to change the value by rounding it or selecting the floor value?
Hi I have a Visual Studio solution and an ASP.NET MVC project that uses an mdf sql express 2005 database file in the App_Data. I want to know how I can upgrade this file so it works for sql express 2008 ?
Thanks
Basically, I have a regenerated wrapper code for a web service that I need to use; when I run this, it works perfectly and receives the data from web service.
Question is:
How can I add an already regenerated code from a .wsdl file to another Visual Studio solution as a web service?
Thanks,
I would like to run some ad hoc select statements in the IBM System I Navigator tool for DB2 using a variable that I declare.
For example, in the SQL Server world I would easily do this in the SQL Server Management Studio query window like so:
DECLARE @VariableName varchar(50);
SET @VariableName = 'blah blah';
select * from TableName where Column = @VariableName;
How can I do something similar in the IBM System I Navigator tool?
I need some with help with PowerShell, please. It should be pretty easy:
I have a list of subdirectories, with a xml file in each one. I want to open each xml file and print the value of one node. The node is always the same, as the xml files are actually project files (*.csproj) from Visual Studio.
I already got the list of files: get-item ** \ *.csproj
How do I proceed?
We're going to investigate GWT for our project. When searching for an Eclipse GWT plugin I got many.
Google Eclipse Plugin
GWT Designer
Cypal studio
None, run GWT in hosted mode
GWT-Tooling
Other?
In your view, what is the best GWT plugin for Eclipse and why?
[27 Nov: Editied to reflect the answers below...]
I want to use YUI Compressor (the original) and use it as part of typical MS build processes (Visual Studio 2008, MSBuild).
Does anyone have any guidance or thoughts on this? For example, good ways for incorporating into project, what to do with existing CSS and JS references, and the like.
I am happy to hear on the benefits of YUI Compressor .NET and alternatives but I'm mor einterested in use of the original.
Thanks
Scott
I'm using TeamCity to automatically build my solution with msbuild and it seems that .vdproj are not supported. What are my options to build an msi/installer ?
Install Visual Studio on the build server
Use another installer (WiX, nullsoft, innosetup ?)
?!
I already have TeamCity running and building a .zip and I'm looking for the fastest solution.
Now i am using the sharepoint extensions 1.1 for Visual Studio 2005 to deploy my website in Sharepoint 2007. When you create a new site, there is a new default page with the contenttype: Welcomelinks..., i would like to change it including my own ContentType and PageLayout in the onet.xml.
The way to deploy I am using is Team Definition.
Could someone give some code, plz?
ETA: I use visual studio 2008 express edition.
If I override WndProc and mess up somehow, I'll usually backtrack by commenting out code until it works again.
The strange thing with WndProc though is you can strip it down to:
Protected Overrides Sub WndProc(ByRef m As System.Windows.Forms.Message)
MyBase.WndProc((m))
End Sub
and it still throws the error.
I have to remove the code and retype it in to reset the error.
Anyone else experienced this?
Hi, everyone. There's probably a simple solution to this but I can't seem to find one. I'm playing around with the WebBrowser control in WPF that ships with Visual Studio 2010 and am trying to save an image that might appear on a webpage to disk programmatically.
Many thanks in advance!
Luck
I recently installed windows 7, visual studio 2008, and .net framework 3.5.
With these installed, I was unable to find the .net framework configuration tool.
It should be located in %windir%\Microsoft.net\framework\v2.0.507727\ with the file name mscorcfg.msc
The only place I found something similar is in %windir%\Microsoft.net\framework\v1.0.3705 where there are files named mscormmc.cfg and mscormmc.dll
Any idea where to get the configuration tool?
I found a lot of links on the internet for this question but i don't understand their (partial) solutions.
One of the main problems seems that i'm builing all dialogs by hand without dialog resource files or the Visual Studio Application Wizards. So i would need pure C++ code that i can type into my Editor.
There is also some reference to a "CWebBrowser2" control, but a grep on the VC directory does not give me any results, so where can i find this?
Hey,
How to create shortcut to menu in WinForms.
I think about something like in Visual Studio and Firefox, where I press Alt and mainly menu items shortcut letters have been underline.
How to do this??
Just wanted to see what tools for SVN people use, perhaps i can find some new cool ones. Im pretty much standard right now, ankh and tortoise.
See also http://stackoverflow.com/questions/372687/good-visual-studio-svn-tool
Hey everyone,
I'm developing a new ASP.NET MVC 2.0 application and wanting to use the new ASP.NET 4 encoding blocks.
My View code contains <%: Model.ActivityName %> however Visual Studio is reporting:
Unexpected toke
at the position of the : (colon). When I run the application I get the following compilation error:
Compiler Error Message: CS1525: Invalid expression term ':'
What am i missing?
Cheers for any help/advice.
I am Developing Windows Form Application in .Net, I want to insert selected rows value of Gridview into database. First Column of my GridView is Checkbox, when user check one or more checkbox from gridview, i want to insert values of respective rows into Database.
In Web application i done this using DataKeyNames property of GridView.Want to know how to do it in Windows Form Application. I am using Visual Studio 2005
Does anyone have a sample post build event for Babel Obfuscator I can just copy and paste into my .net assembly release build configuration?
The documentation for Babel is 54 pages long, and unfortunately doesn't come with any real world samples on how to use it with Visual Studio integration.
Failing that , is there a free obfuscator out there that integrates well with VS 2008 post build, so that it will obfuscate the release DLL during each new build. I was using Eazfuscator which broke since they released version 2.8.
Thank you