I have some .HQL files in my project that I want to include as strongly-typed resources. The extension is important because I'm using HQLAddin to get intellisense and validation on them.
If I choose "Add Existing File..." from the menu, it gets added as a binary file (mapped as byte[]) and I have to manually edit the resource file, whic...
What Editors/Designers for creating Visual Studio 2010 Snippets are there?
I would like to be able to put in different replacements (ie spots where the text should be replaced). A low incidence of blocking bugs is also nice.
So far the only one I have seen is Snippet Editor 2.1. I am going to dig into it and see how it works, but I d...
I am attempting to write a Visual Studio 2010 add-in for Team Explorer that adds a root node, just underneath each project. This root node should not have any children, and no context menu, just a double-click action. I have used the samples provided here to create a folder node, with leaf nodes underneath. The leaf nodes I can make do a...
I'm trying to get to the code behind the Serialize() method in the .NET framework but despite having followed all the steps on the Hanselblog (and the ones that he references) it's not happening for me.
I'm running VS2010 Ultimate on x64 Win7 and would appreciate any help that anyone can give.
EDIT: 2010-08-31
I flattened and rebuilt m...
Silly sounding question, I know... Let me lay some groundwork first.
I have successfully created a database project comprised of the hundreds of tables, stored procedures, indexes, et.al. that make up our production database.
I have successfully added the solution to source control (TFS).
I have made a change (as a test) to some of th...
I just created a new solution made up of two projects:
SQL Server 2008 Server Project
SQL Server 2008 Database Project
The Database Project has a Database Reference to the Server Project. When I try to build the solution I get three errors:
Error 291 SQL04105: The model already has an element that has the same name
dbo.sp_scrambl...
Hi
I've created a database in visual studio 2010 in the following way: Data->Add new datasource->Database->Entity Data Model.
Now, in my wpf app I can load and save data successfully, when closing the
app and opening again the data will still be there, but as soon as I try
retrieve the table data in Visual Studio's Database explorer it...
When I debug the my game, it works. But if I open my game's exe file that is stored in my project debug file, it shows as being 3 days old. The file is not getting updated.
Any ideas why?
...
Hi,
I'm using .NET 4, trying to add a reference to mshtml, and I want to have all the capabilities depending on the version the client has installed.
If I add a reference to the COM component called 'Microsoft HTML Object Library', the reference is labelled "MSHTML" and the path points to an assembly in the GAC called 'Microsoft.html' ...
Hello,
I'm having some troubles debugging a solution which contains both a native ANSI C DLL project and a managed C#/WPF application project.
I call the functions exported by the DLL using the LoadLibrary/GetProcAddress Win32 API functions (DllImport attribute is not applicable for my program as the DLL is selected by the user). Both ...
fellow developers,
i've really been struggling for days on this matter.
I have migrated a asp.net 3.5 project in VS2010 to a asp.net 4 project. Everything worked fine for several weeks.
Somehow, i get a strange error since a few days. To clarify what this project looks like:
the application
its a UserControl based application and th...
I've used TestDriven.NET in the past (with Visual Studio 2005), but now that I've got a new installation of Visual Studio 2010 on a different computer, I can't see either the Add-In Manager, or the TestDriven.NET stuff, even though I have them installed.
Help, please! It's making me bonkers.
Note: trying with current version (3.0)
...
Having used optional parameters in a few classes here and there, I'm starting to dislike them immensely for the trouble they cause in certain cases with overload resolution, i.e. difficulties in binding delegates to them due to signature conflicts, as well as dynamic invocation problems with regard to method argument count.
How can I se...
I have VS Web Express 2010 installed. I have just installed Mysql .Net connector. I have taken version 6.3.3 as it was advised in [this thread][1]. However I have no option to add a connection to Mysql in VS 2010 Express database explorer. Have anybody such a problem?
[1]: · http://stackoverflow.com/questions/901049/how-do-i-connec...
When I installed Visual Studio 2010, i figured out that it was not having a traditional windows based Help Viewer. The help topics were loaded in the Internet explorer.
I understand that online and offline help will be consistant if we use IE. Other than this, is there any reason for having the local help in the IE?
Is it possible to ...
For Visual Studio 2008 there is the small but great addin "Source Outliner" on Codeplex (http://sourcecodeoutliner.codeplex.com).
Does anybody know, if there is an equivalent tool for Visual Studio 2010?
...
hello, i try to compile an old project using VS express 2010 and i get the error:
1>terrain2.rc(10): fatal error RC1015: cannot open include file 'afxres.h'. from this code
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "afxres.h"
i have insta...
Does anyone know if there is an SDK for the .Net 4.0 framework, and if there is one, where does the installer put it on the hard drive? I've installed the Ultimate Edition of Visual Studio 2010, but can't find the SDK anywhere.
...
let's say i have this
public class MyClass
{
public string myMessage { get; set; }
void MyMethod()
{
string myMessage;
}
}
shouldn't i get an alert about myMessage in MyMethod hiding(?) the myMessage property on the class? i'm not getting anything to this effect when i build. how do i activate this check?
...
I'm hitting a compile error in VS2010 with code that compiles cleanly in VS2008.
Here's my error, from the Output Window, with all of its verbosity:
...\elementimpl.h(49): error C2668: 'std::basic_string<_Elem,_Traits,_Ax>::basic_string' : ambiguous call to overloaded function
with
[
_Elem=char,
_Traits=...