I am experimenting an analysis tool that can analyze executable files with embedded debug symbol information in Windows. While trying this tool on several open source projects, I realize that most of the builds do not keep symbolic information in executable files. I am able to compile the source code with VS (2008), but the build normall...
Ok, so I'm learning about generics and I'm trying to make this thing run, but its keep saying me the same error. Here's the code:
public static T Test<T>(MyClass myClass) where T : MyClass2
{
var result = default(T);
var resultType = typeof(T);
var fromClass = myClass.GetType();
var toProperties =...
I have a .Net 3.5 class library project that I've migrated to use Visual Studio 2010. It still targets .Net 3.5. This project contains two ASP.Net 2.0 style Web References (with the auto generated Reference.cs files).
During the migration to VS 2010, the Reference.cs files were updated to use .Net 4.0. Specifically, the constructor att...
I currently have a project I am building in Visual Studio 2005 and I need to be able to build the part of the project some of the time with directory A and sometimes with directory B and never both. If you right click a file (foo.f) --> Click Propeties --> you can change the "Exclude File From Build" from NO to YES and the project will ...
Hello, I am unable to install ghostdoc.
The error message is "Microsoft Visual Studio.NET is not installed on your computer"
Visual Studio is installed on my computer.
Have you seen this problem? Is there a workaround? Is there a way to install ghostdoc by hand?
...
When I started new .NET Console Application in VS2010, By default Target Framework was set to .NET Framework 4.0 Client Profile, what is the difference between .NET Framework 4.0 and .NET Framework 4.0 Client Profile
...
I'm trying to use preprocessor tricks to declare a magic variable. Something like this:
DECLARE(x)
should expand to
int _DECLARED_VARIABLE_x_LINE_12
if the declaration was on line 12 of the input source. I was trying to use the ## token-pasting command and the __LINE__ macro, but I either get an uninterpreted "__LINE__" in there or...
When I create a settings file, Visual Studio generates a singleton with the instance name Default:
Properties.Settings.Default.SettingIHaveSaved
How can I get Visual Studio to generate another list of settings with a new instance name? Say,
Properties.Settings.Debug.SettingIHaveSaved
Thanks!
...
I would like to build a Deskband for Internet Explorer. I found this tutorial.
My problem is, how and where is my Visual Studio 2008's template folder so I can put the RBDeskband template.
...
Hello there I have a issue related to the usage of the bitmap enabled Dialog window.I have created a keyboard type layout and i wish to get the input through keyboard also.When i use the mouse I am able to get the button(s) pressed and also all the buttons are working fine - the other images DEFAULT,SELECTED,DISABLED ..all get loaded and...
I have implemented a set of ASP.NET web custom controls and added these to my Visual Studio 2008 Toolbox. I also created some user item templates, which are basically ASP.Net Webforms pages with some preconfigurations.
I would now like to assign each item template a subset of my custom controls that shall be available in the toolbox whi...
in my csproj the OutputPath is set as the following:
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
<DefineTrace>true</DefineTrace>
<OutputPath>bin\x86\Release\</OutputPath>
....
</PropertyGroup>
in my nant script, I have this:
<msbuild project="${demo.solution}">
<property name="Configuration" value="...
i added ascx control in tab control with C# codes. if you click any tabs. ASCX control load. tab control in update pane. Alos ASCX control includes button if you click button you can add some value to database but ASCX disappear. i think that it is reloaded. How can i solve it?
i loaded ascx control if i click tab control. i have a butt...
When I say
public static IMyType GetGateWayManager()
{
IUnityContainer _container = GetContainer();
IMyType _gateWayManager = _container.Resolve<IMyType>();
return _gateWayManager;
}
it comes with a warning saying use implicitly types local variable.
Now If I change it to
public static IMyType GetGateWayManager()
{
...
I am currently bug hunting and need to debug into a specific dll in the release configuration in Visual Studio 2005.
At some point I closed the solution, did some other stuff and reloaded it. From that point on my breakpoint doesn't get hit and I get the infamous "No symbols have been loaded..." message. So I opened the modules window an...
As the title suggests, I would like to close a Visual Studio tool window (not a document tab) using a keyboard shortcut. Is that possible?
...
We generally minimize or shrink a function or class by clicking
-
symbol on left corner of every function in Visual Studio.
I want do with keyboard instead of mouse.
How can that be done.
...
I'm using Visual Studio 2008 on a PC that also has .NET 4.0 installed to work on code that has to be kept on a network drive.
Question is, since .NET 4.0 overrides .NET 3.5 security settings, how the heck do I get VS2008 to trust the network drive?
...
I have 16 files that were added to our Team Foundation Server Source Control repo as part of a larger add/checkin that remain un-check-inable.
Nothing special about the files--text files, xml files, xls files, no funky names, and the Visual Studio 2010 Team Explorer check in hangs when either a single one or all are attempted to be che...
i have an xlst file that is supposed to parse an xml file and generate word document. But when i parse it in visual studio it produces another xml because its header is:
<xsl:output method="xml" omit-xml-declaration="no" version="1.0" encoding="utf-8" standalone="yes" />
<xsl:template match="/">
<xsl:processing-instruction name="mso...