Changing the default browser in Visual Studio

by Rok Bermež 5. October 2009 14:41
If you've gotten used to using a particular browser when browsing (as opposed to debugging in Visual [More]

Tags:

.Net | ASP.NET | Visual Studio | Web

Adding new WorkitemType to the existing Team Foundation (2008) Project

by Rok Bermež 16. September 2009 08:22
Recently a friend of mine had to add a new work item type to the template in the existing (and supposedly large project) so... here we go: Lets take a look at the existing work item types (MS agile template)   Next we export process template used in the project (menu:Team| Team Foundation Server Settings| Process Template Manager)  Now we have the current definitions so we can pick the closest one and modify it to suit our new needs   After its ready we can use a nice command line utility named witimport.exe that is located on the client computer in c:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\ (use the /v switch to verify first)   And ta-ta-ra-ta the fruit of our work is available for use  

Tags:

.Net | Development | Visual Studio

Method can not be reflected && 'date' is an invalid value for the SoapElementAttribute.DataType property. The property may only be specified for primitive types.

by Rok Bermež 4. September 2009 14:21
Annoying bug described in https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=254967 can be easily fixed by removing DataType="date" from SoapElementAttribute attribute. When you see: [System.Xml.Serialization.SoapElementAttribute(DataType="date", IsNullable=true)]   public System.Nullable<System.DateTime> BlaBLa just replace with: [System.Xml.Serialization.SoapElementAttribute(IsNullable=true)]   public System.Nullable<System.DateTime> BlaBla

Tags:

.Net | ASP.NET | Live Mesh | Visual Studio

A really simple Silverlight 2 PostIt application

by Rok Bermež 16. June 2009 13:45
During the Silverlight 2.0 introductory course I held last week, we've chosen to implement a simple [More]

Tags: , , , , , ,

c# | Development | Silverlight | Visual Studio

Paste XML as XElement

by Rok Bermež 22. May 2009 11:17
Generating XML in c# can be a time consuming task. 'Paste XML as XElement' Visual Studio extension can save you a lot of time. You can find this extension in Visual Studios samples directory:C:\Program Files (x86)\Microsoft Visual Studio 9.0\Samples\1033\CSharpSamples.zipExtract PasteXmlAsLinq project and compile it.Add PasteXmlAsLinq.AddIn and PasteXmlAsLinq.dll to one of the Visual Studios AddIn folder (you can see or add them in Tools|Options|Environment|AddIns)Restart the Visual Studio Now you have extra menu item and you can directly paste XML like <?xml version="1.0" encoding="utf-8" ?> <rootElement> <element id="1"> <podatek>aaa</podatek> </element> <element id="2"> <podatek>bbb</podatek> </element> </rootElement> to XElement xml = new XElement("rootElement", new XElement("element", new XAttribute("id", "1"), new XElement("podatek", "aaa") ), new XElement("element", new XAttribute("id", "2"), new XElement("podatek", "bbb") ) );

Tags:

.Net | c# | Visual Studio

Calendar

<<  June 2018  >>
MonTueWedThuFriSatSun
28293031123
45678910
11121314151617
18192021222324
2526272829301
2345678

View posts in large calendar

Page List

Month List