10
голосов
1ответов
4375 просмотров

Duplicated DLL in the "Detected Dependencies" folder

In my solution I have to project using the same references (AxInterop.QTOControlLib.dll, Interop.QTOControlLib.dll and Interop.QTOLibrary.dll). My problem is that in my deployement project, these dependencies appear twice in the "Detected Dependencies" folder, thus lead to several warning like :...

1
голосов
2ответов
9213 просмотров

Unable to connect to Visual Studio's Localhost Web Server

Until yesterday everything was normal but today i try to lauch my application using Ctrl+F5 and i get the following error: Unable to connect to Visual Studio's Localhost Web Server I have tried aspnet_regiis -i and iisreset but nothing works. Any ideas?? Environment: Windows XP Visual Studio ...

4
голосов
4ответов
2742 просмотров

VS 2005 doesn't detect changes in header files of C++ project

Very often, actually most of the times, Visual Studio2005 doesn't detect that some header included in some CPP file C++ project was changed. As the consequence, it doesn't recompile the project if only header is changed. It doesn't depend on the "precompiled headers" settings. It doesn't happen ...

1
голосов
6ответов
1977 просмотров

can i use resharper 4.5 with visual studio 2010 beta

should this work or do i need to wait for a new resharper release?

4
голосов
2ответов
3465 просмотров

Registering x64 Assemblies for COM Interop

Scenario: I have a project containgin two C# projects, which for historical reasons must communicate with each other using COM (via COM Interop). The COM Server is an in-process automation object (call this the "Server") and the COM Client is a simple C# Console application that loads the server ...

3
голосов
8ответов
522 просмотров

Favourite Features of VS 2010

With the general public release of Visual Studio 2010 Beta 2 today, this latest version has created a lot of hype and interest. Indeed, the opinion I've gauged is that VS 2010 has resolved a great deal of the minor flaws left over from previous versions, as well as added some particularly useful...

13
голосов
7ответов
7161 просмотров

"Add Controller" / "Add View" in a hybrid MVC/WebForms ASP.NET application

I have an existing WebForms project to which I'm adding MVC pages. I created an MVC project and copied the project type guids. It works fine, but I can't get Visual Studio to display the "Add Controller" or "Add View" wizards on my controllers and views directories (they're not /Controllers and ...

14
голосов
7ответов
5067 просмотров

Visual C++ standards compliance

I was wondering if, and to what degree, does Microsoft's Visual C++ compiler conform to the current C (C90/C99) and C++ (ISO/IEC 14882:2003) standards. Unfortunately I'm only able to find partial information on the subject, I may be looking at all the wrong places. Any pointers to related resour...

2
голосов
2ответов
1142 просмотров

Project dependency in Visual Studio

In Visual Studio, I have two C++ projects - Gui.vcproj and Dll.vcproj. Gui is an application and Dll produces a DLL. What's the best way to make the dependency resolution automatic? I tried adding Dll.vcproj into Gui.vcproj's references, but it doesn't seem working.

3
голосов
1ответов
2532 просмотров

Adding new row datagridview to use default values

I have the following SQL that creates a table and inserts the first row of data without a problem. The default DateTime values are also inserted as expected. CREATE TABLE Jobs ( [Id] int PRIMARY KEY IDENTITY(1,1), [JobName] nvarchar(256) Default 'SomeName', [CreateDate] DateTime...

4
голосов
8ответов
746 просмотров

Profiling DLL/LIB Bloat

I've inherited a fairly large C++ project in VS2005 which compiles to a DLL of about 5MB. I'd like to cut down the size of the library so it loads faster over the network for clients who use it from a slow network share. I know how to do this by analyzing the code, includes, and project settings...

3
голосов
3ответов
1307 просмотров

How to use tabs-as-spaces in Python in Visual Studio 2008?

I have some IronPython scripts that are embedded in a C# project, and it would be convenient to be able to edit them in the VS editor. VS evidently knows about Python because it provides syntax coloring for it. Unfortunately however the editor uses tab characters for indentation, whereas I want s...

0
голосов
2ответов
277 просмотров

What the minimum edition of Windows 7 to work with Visual Studio/Asp.net?

With Windows Vista/XP, I needed at minimum the Home Premium edition. In the Home Basic edition of Vista/XP I cannot work with ASP.Net... What the minimum edition of Windows 7 to work with Visual Studio? What the minimum edition of Windows 7 to work with ASP.Net?

0
голосов
4ответов
2160 просмотров

what's wrong with this ADODB connection string to sql server 2005

I'm working on populating a combobox in visual studio 2005 using vb and I'm stuck on the connection string part. I should mention i'm connecting to a SQL Server 2005 instance. Here is what i have: Dim gDBA As ADODB.Connection Dim records As ADODB.Recordset gDBA = New ADODB.Connection gDBA.O...

0
голосов
6ответов
227 просмотров

Deliberatly trigger a compilation error in Visual Studio 2008

Is there a way to deliberatly trigger a compilation error when a certain condition is satisfied on Visual Studio 2008?

6
голосов
5ответов
5287 просмотров

How do I see the contents of Qt objects during debugging?

Many Qt classes uses pimpl, so they're very opaque to VS's debugger. This is bothersome when I want to check some internal Qt state to see if my code is doing it wrong or if I'm having wrong expectations of how things stand. I'm using the Qt VS add-in (1.1.0), but that doesn't seem to help. A...

1
голосов
1ответов
749 просмотров

Update panel doesn't seem to update

I have a button inside of a gridview's template field. Onclick i want to the button to open up a modal popup while force updating the updatepanel and formview inside the modal popup because the formview's datasource depends on a hidden field in which i am setting after click also. This is what i...

0
голосов
1ответов
134 просмотров

vs2008: not honoring 'my documents' path setting

vs2008 (and earlier versions) always creates empty folders in c:\users12321lt;username>\my documents every time it runs. Is there any way to get it to honor the location of 'my documents'? It's never on my c: drive. This leads to the annoying problem of 2 'my documents' folders in windows expl...

50
голосов
10ответов
15573 просмотров

How to exclude designer.cs from Visual Studio file search

Is there a way to exclude a particular type of .cs file when doing a search in Visual Studio 2005/8? Example: In a refactoring scenario i might search to identify string literals in my code so that i can refactor them into constants or some such. However, *designer.cs files are full of string li...

243
голосов
15ответов
75857 просмотров

Resharper Alt Enter not working

Help, I can't function without Resharper. All of a sudden my Alt+Enter ↵ shortcut (to bring up the action list) has stopped working. Anybody experienced this or know how to fix?

3
голосов
1ответов
1400 просмотров

Replace text in a Visual Studio Code Snippet Literal

Is it possible to replace text in a Visual Studio Snippet literal after the enter key is pressed and the snippet exits its edit mode? For example, given a snippet like this: public void $name$ { $end$ } If I were to enter $name$ as: My function name is it possible to have Visual Stu...

0
голосов
1ответов
874 просмотров

How to generate "VSTemplate" file from a WebSite/Project (Visual Studio/.NET)

Is there any API or command-line able to generate a VSTemplate file from a WebSite/Project that is NOT by using Projectgen.exe? Thanks.

11
голосов
6ответов
3159 просмотров

Is there any tool for commenting JavaScript code?

Is there any tool for javascript commenting as it is in c# like ghost doc. /// <summary> /// Method to calculate distance between two points /// </summary> /// <param name="pointA">First point</param> /// <param name="pointB">Second point</param> function ca...

-1
голосов
1ответов
144 просмотров

How to show icons only in Visual Studio windows

How can I show only the icons in visual studio windows? For example, the properties bar tab shows the icon and the text "Properties". Also the toolbox tab shows the icon the text "Toolbox". I would like to see only icons on tabs. Do you know where this setting is? Thanks

3
голосов
3ответов
1403 просмотров

Crash when opening file in Visual Studio 2010

I have just installed Visual Studio 2010 Beta 2 and it crashes when I try to open a file - also when opening any cpp file through the 'File' menu. Any ideas? Where is the appropriate forum to ask about this?

4
голосов
1ответов
1919 просмотров

Is including resource.h in precompiled header a good idea?

The VS-IDE will write //{{NO_DEPENDENCIES}} to resource header files. This comment is actually a feature that prevents (unnecessary) rebuilding of cpp files that include the resource header. But, like stated in the MSDN, this can lead to "undesirable side-effects". In our project we do have the...

0
голосов
6ответов
7637 просмотров

C# InvalidOperationException AND Cross-thread operation

In my windows form I have a text box and a button, the text box “tb_LogBox” is multiline text box I am trying to create a background worker that is supposed to call a function i.e. “LogTimer.DnT()” when I compile is and run it Visual studio throws InvalidOperationException. The actual Error I a...

9
голосов
1ответов
5680 просмотров

Is there a document on .rgs files syntax?

Resource scripts loaded from .rgs files are used with ATL CComModule::UpdateRegistryFromResource(). It's quite common to see samples of such files on the net but I've never seen a complete description on what constructs are allowed in .rgs files. Is there such a document?

0
голосов
2ответов
659 просмотров

Problems with automatic property creation when manually mapping relationships between tables with no foreign keys in L2S

Pardon the massive headline. I'm in the situation of having to build an application on top of a database, that I cannot make any changes to. The database does not have any primary- or foreignkeys set. I'm using linq-2-sql, and I'm interested in having some properties exposed on the entities gen...

0
голосов
1ответов
459 просмотров

Visual Studio 2010 beta 2 fonts & colors dialog

Do the characters in the preview box mean anything? Have wracked my brains and probably missed the obvious, or I'm a bit daft and its something I should already know!