.NET / Visual Studio/Web Development
cerise: moderate to deep red.
primrose: pale yellow.
Posted by Vakul Kumar More on July 6, 2011
I was approached by a colleague recently about an error related to “SGEN.EXE” when tried to build the project in release mode. This error is only for the release mode and in debug mode it works perfectly.
I researched further on the error:
Sgen.exe is an XML Serializer Generator Tool used to create an assembly for types in a specified assembly in order to improve the startup performance of a XmlSerializer when it serializes or deserializes objects of the specified types.
Sgen.exe generates the [libraryname].XmlSerializers.dll and will be used by the clients of webservices to speed up the time to load the webservice.
I’m sure the first solution should solve the problem, 2nd and 3rd solution can be tried to solve the error.
Let me know if there is anything can be added in comments section.
Posted by Vakul Kumar More on June 11, 2009
Are you to looking to find products, extensions, and add-ins for Visual Studio.
Your search ends at Microsoft Website. Microsoft is providing Gallery with
Tools (Build, Coding, Data, Documentation, Modeling, Performance, Programming Languages, Reporting, Security, Setup & Deployment,Source Control, Team Development, Testing and Web )
Controls (ASP.NET Controls, Silverlight Controls, Sharepoint Controls, Windows Forms Controls, WPF Controls and Framework & Libraries)
Templates (ASP.NET, Office , Mobile Device, Silverlight, SQL Server, WCF, Windows Forms, Workflow and WPF)
click here to access all the above mentioned Tools, Controls and Templates.
Happy Coding !!!
Posted in Technical | Tagged: .NET, .NET Framework 4.0, ASP.NET, ASP.NET AJAX and VSTO for Office 2007, C# 3.0, Cool features of Visual Studio 2008, LINQ, Microsoft, MSDN, Vakul, Vakul Kumar, Vakul Kumar More, VB.NET, VB9, Visual Studio, Visual Studio 2008, Visual Studio 2008 Debugger, Visual Studio 2010, Windows Server, WPF | Leave a Comment »
Posted by Vakul Kumar More on January 16, 2009
Language-Integrated Query (LINQ) is a groundbreaking innovation in Visual Studio 2008 and the .NET Framework version 3.5 that bridges the gap between the world of objects and the world of data.
Traditionally, queries against data are expressed as simple strings without type checking at compile time or IntelliSense support. Furthermore, you have to learn a different query language for each type of data source: SQL databases, XML documents, various Web services, and so on. LINQ makes a query a first-class language construct in C# and Visual Basic. You write queries against strongly typed collections of objects by using language keywords and familiar operators. The following illustration shows a partially-completed LINQ query against a SQL Server database in C# with full type checking and IntelliSense support.
LINQ Resources :
Happy Coding !!!
Posted in Technical | Tagged: .NET, ASP.NET, C# 3.0, C# 4.0, Learn Visual Studio, LINQ, Microsoft, Vakul, Vakul Kumar, Vakul Kumar More, VB9, Visual Studio 2008, Visual Studio 2008 Debugger | 1 Comment »