Is there T4 templates available for generating c# classes from xsd?
Is there T4 templates available for generating c# classes from xsd? ...
Is there T4 templates available for generating c# classes from xsd? ...
Hi all I have created a Windows Service (called MuskOx) which runs on my development machine (which obviously has Visual Studio installed). The Bin folder of the project contains the following files: InstallUtil.InstallLog muskox.InstallLog muskox.InstallState MuskOx.exe.config MuskOx.vshost.exe MuskOx.vshost.exe.config MuskOx.vshost...
I try to fill listbox. I generated textbox and labels from database. (My platform asp.net) I dynamically filled the created textbox. I want to send all data from textboxes to listbox. But disappear all datas. using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.We...
Hi, I have a old web application developed in .NET 1.0. How can I do some minor changes in it? What Visual Studio do I need and how do I obtain it? Or can I develop in some other tool? Thanks in advance! ...
I'm using NHibernate 2.1.2.400 that is referencing log4net 1.2.10.0. In the same project, I also use the simply accounting SDK, sadly it is still using log4net 1.2.9.0. So I can get NHibernate to work if I reference log4net 1.2.10.0 but the simplySDK don't work. And vice versa... I'm guessing most of the problems come from the fact th...
In Visual Studio 2010, under Tools -> Options -> Text Editor -> HTML -> Formatting -> Tag Specific Options, there are options for configuring how the editor auto formats different HTML and ASP.NET tags. This includes things like if it should automatically put a newline before and after the tag, etc. Is there a place to configure the fo...
What I would like I would like to easily run a batch file without leaving Visual Studio. The batch files are not always the same, they change depending on the solution I'm working with. What I know so far I know you can create custom shortcuts in the Tools section of Visual Studio (Under External Tools). My solutions have various sc...
I'm trying to add an Import task to a .csproj file programmatically, but I don't want to use the Microsoft.Build.BuildEngine objects to do this because VS will then pop up warnings about the project file being modified from outside of Visual Studio. I've seen a few pages [1] [2] suggesting that the IVsBuildPropertyStorage interface will...
I know I have done this before, but it isn't working today, nor can I find anywhere that explains how to do it. It could be my lack of sleep, but I suspect gremlins. I have an XML document and a directory full of XSD's that define it. How do I set the Visual IDE up to notify me of validation failures, and then provide an intellisens...
Hi everyone first post here. I want to create a unit test for a member function of a class called ScoreBoard which is storing the TOP5 players in a simple game. The problem is that the method i am creating test for(SignInScoreBoard) is calling Console.ReadLine() so the User can type his name. public void SignInScoreBoard(int steps...
In visual studio 2010, I tried to profile a new winforms app (a fresh app with zero code added by me). But the profiling (.Net Memory Allocation (Sampling)) but it fails with the following mesaage. This is what the output window spits out after this error message Profiling started. Profiling process ID 3332 (WindowsFormsApplicatio...
I'm trying to compile someone elses C++ program using VS2005 on Windows 2003 (SP2). The compile fails because it can't find iads.h Which SDK should I install to get this header ? When I install the SDK is there a danger I might break something already in use ? As far as I can tell the W2003 has no SDK's installed but if it did would i...
How would (if even possible) you set up Visual Studio so that when you create files in your project they are added to a /src folder. Visual Studio seems to pile everything in the root directory of the project. ...
How can you create a compiler warning (in the model of #error, except as a warning) on purpose in Visual C++ that will show up on the Error List with the correct file and line number? GCC and other compilers offer #warning, but the MSVC compiler does not. The "solution" at http://support.microsoft.com/kb/155196 does not parse in the Vi...
I learned about entering into the immeidate window >of filename trick in visual studio, but when I enter a period, which is reserved for separating menu items, it populates some junk that is irrelevant to what I want. For example, if I type >of web.config, and as soon as I get to the period (4th character) it would populate junk into the...
I don't know what I've done. Visual Studio used to stop when it hit an exception and now it just continues and doesn't take me to the offending code. Does anyone know what I've pressed to turn it off? And how to turn it back on? Thanks. ...
Is this a stupid question? I am trying to navigate the mystical world of C# Visual Studio. I want to be able to replace a panel at some point in run time, but the designer view only has a static view of a single state of the form. For instance there could be panel1 on the form, with button1 and picturebox1. Then, if the users presses...
Is there an easy way to run all tests in open test classes in Visual Studio. I find that this is what I most often need to do. Mostly I use Resharpers or TestDriven.NET testrunners, and I cant find any easy way to do that in either testrunner. In Resharper it would be nice to have a "Add all open tests to session" feature, but after muc...
Hi From a few days ago I'm facing annoying problems with Visual Studio and .net framework. First I couldn't use breakpoints, but after a few changes I'm able to. Yesterday, I've changed my Model of Entity Framework and renamed a few columns. Now the web server assumes that no change have been made. I've made a simple test: removed a ...
Possible Duplicate: What is missing in the Visual Studio Express Editions? Specifically for 2010, specifically for C++... what's missing Vs Professional/Premium (annoying the standard version is now named Professional)? ...