visual-studio-2008

Does the order of items in a csproj file matter?

China☆狼群 提交于 2019-12-23 18:17:51
问题 I would like to programatically manage the VS2008 csproj files in our solution across the team. We get occasional merge issues (in Hg) simply because two developers add different new files in a project, but they end up in the "same place" in the csproj file and trigger the need to "resolve the conflict". Sometimes, one tag gets lost and triggers build errors. Can I merge <ItemGroup> s that seem to just list or tags? Can I reorder <Content> or <Compile> tags? or, are they in some "smart" order

No Debug Info in WiX Managed Custom Action using Visual Studio integration

独自空忆成欢 提交于 2019-12-23 17:36:31
问题 I have managed to create a custom action in C# using MakeSfxCA which is mostly working. However, there is some kinks which needs debugging to sort out. (The "printf-debugging" just is not enough.) However all debug info is lost. When MakeSfxCA is called from the Visual Studio project the .pdb-file is not passed as an argument, so no debug-info is included in the created CA-dll. If I manually run MakeSfxCA MakeSfxCA MyDLL.CA.dll SfxCa.dll MyDLL.dll MyDLL.pdb CustomAction.config then the debug

the application was unable to start correctly 0xc00007b

北慕城南 提交于 2019-12-23 17:27:58
问题 I have a win32 application. Trying to run in windows 7 64-bit OS in VisualStudio 2008. Have installed x64 Environment. So when i'm trying to run my project i'm getting this error "the application was unable to start correctly 0xc00007b". I have no link errors too. Anyone any suggestions please. 回答1: i got the same issue as you. I had a application Win32. When i converted this application Win32 to X64 with Visual Studio 2010, the application x64 is compiled successfully. But when i ran it, it

To check wether a specific project reference exists (C# Code, Preprocessor Directives …)

丶灬走出姿态 提交于 2019-12-23 17:26:12
问题 i'm fairly new to C# / .NET so I hope there is a solution for my problem. I'm working with 2 different image-processing libraries which have their own classes to represent images. Because I don't want to use this classes in my own (private) class library, I want to implement my own "myImage"-Class which is supposed to be a wrapper around both of the other classes. (I have of course to add the functionality of the libraries if they are missing). My problem is basically now like this: The

Visual Studio Crashes when using Crystal Reports Group Editor

*爱你&永不变心* 提交于 2019-12-23 17:24:39
问题 I have a crystal report in my Visual Studio 2008 ASP.NET project, and when I choose "Group Expert" from the Crystal Reports -> Report menu, Visual Studio crashes / hangs and I have to use Task Manager to close the program. This happens no matter how many times I try, and oddly enough it seems to work fine on another computer with the same project. Any help at all in the right direction would be greatly appreciated as I am pulling my hair out trying to figure this out. I am using Visual Studio

inserting an image to excel

别来无恙 提交于 2019-12-23 17:04:03
问题 im using visualbasic express. I want to insert image to excel application. I have succeed it. here is the code; Dim oExcel As Object Dim oBook As Object Dim oSheet As Object oExcel = CreateObject("Excel.Application") oExcel.Visible = True oBook = oExcel.Workbooks.Add oSheet = oBook.Worksheets(1) oSheet.Shapes.AddPicture("C:\Logo\logo.bmp", False, True, 415, 1, 20, 30) it works well. But instead of giving the location of the picture ("C:\Logo\logo.bmp"), i want to put the image itself. I mean

Add Custom action to VS 2008 Setup project

倾然丶 夕夏残阳落幕 提交于 2019-12-23 16:34:09
问题 Im using VS 2008 and I have created an application and Setup file using C#. The setup file contain only standard setup interfaces provide by visual studio 2008. I need to check windows registry and get some folder path and copy some files to my application folder while installation. Simply I need to add custom code while installation. Standard interfaces. Welcome Installation Folder Confirm Installation Progress Finished I need. Welcome Installation Folder Confirm Installation Progress MY

Customizing the cassini webserver

孤人 提交于 2019-12-23 16:24:41
问题 Currently the local webserver exectutes at http://localhost:51377 Is there any option of customizing the web server in order executing under http://192.168.1.2:51377 (where 192.168.1.2 is my static intranet ip address) 回答1: Cassini will only serve local requests. If you want a lightweight webserver you may want to take a look at UltiDev 回答2: I just released the CassiniDev 3.5.1/4.0.1 beta with a simple test fixture example if you are interested. Supports arbitrary IP and Host name Cassini for

MSBuild not building with all cores

心不动则不痛 提交于 2019-12-23 16:15:26
问题 I have a project configured with Visual Studios 2008. When I open the IDE and hit build, all the cores on my system are used to build the project. However, when I try and build from the command line only 1 core is used. Here is the command that I am running: C:\Windows\Microsoft.NET\Framework\v3.5\MSBuild VTK.sln /m /fl /tv:3.5 /p:Configuration=RelWithDebInfo From reading the docs, it would appear that the /m switch should tell MSBuild to use all cores, but it does not. Any ideas how to make

Server Explorer unavailable (VS2008Pro)

别说谁变了你拦得住时间么 提交于 2019-12-23 13:26:08
问题 I recently had some problems with my VS 2008, and was recommended to reinstall. To make sure that the reinstall would solve my problems, i manually uninstalled everything that could have to do with VS and SQL Server (I had the 2008 Express edition installed). Now when I reinstall SQL Server and Visual Studio, the Server Explorer in VS is dead. When I click the menu option "View\Server Explorer", I get an error message in the Output window reading: The Visual Studio Explorers and Designers