visual-studio-2008

1>LINK : fatal error LNK1104: cannot open file 'libboost_system-vc90-mt-gd-1_36.lib'

北城以北 提交于 2019-12-22 17:52:13
问题 I have created a application for using the libtorrent. In that I am using the boost library. I tried the sample example given in http://www.rasterbar.com/products/libtorrent/examples.html & tried it in my MSVC 9.0 but I am getting this error 1>LINK : fatal error LNK1104: cannot open file 'libboost_system-vc90-mt-gd-1_36.lib' how to solve this problem please help me. 回答1: Right click the project, and choose "Properties" --> "Linker" --> "General" --> "Additional Library Directories", add your

Dataset allowing Null values even when AllowDBNull = False?

痴心易碎 提交于 2019-12-22 17:37:11
问题 I have designed a dataset using VS2008 dataset designer. In one of the datatables, I have set "AllowDBNull" property of most of the columns to be False. However, still if I create a DataRow containing null values for these columns, this datatable accepts this row, without any error. Am I not understanding something here? Please advice. Thank you. Edit Mike Spross' excellent explanation however, brings forth another question. How do we check text fields if they are System.DBNull? It is

Does Visual Studio 2010 have backward compatibility with visual studio 2008's addins?

社会主义新天地 提交于 2019-12-22 14:58:15
问题 I have some really great addins in Visual Studio 2008 that I don't want to lose, but I've heard that Visual Studio 2010 will use MEF. Does it mean that I can say goodbye to my dancing banana ? 回答1: There are three levels of extensibility in Visual Studio : Macros Add-ins VS Packages I can confirm that VS2008 Add-ins work perfectly well in VS2010 beta2. You just have to edit the .AddIn file and replace "9.0" by "10.0". I don't know about VS Packages though. 回答2: Unless the direction has

Building the platform code with nant and VS2008

主宰稳场 提交于 2019-12-22 14:54:16
问题 I'm using the latest nightly build, VS2008 prof trial and .NET 3.5 and I'm getting this error "Solution format of file 'C:\test\Project\src\project.sln' is not supported." Any Solution to overcome from it 回答1: I don't know from what you posted if this will work, but if you're trying to run the solution using a the Nant Msbuild task, you might be able to get away with substituting that for a an exec task that calls the most recent version of msbuild as an executable. For example: <exec program

Error Microsoft.VJSharp.VJSharpCodeProvide

牧云@^-^@ 提交于 2019-12-22 14:37:35
问题 I installed visual studio 2008 in our server and tried to run our proejct on the server but i got this error The CodeDom provider type "Microsoft.VJSharp.VJSharpCodeProvider, VJSharpCodeProvider, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" could not be located. Do you have any idea what is my problem? 回答1: The J# support assemblies are not included in .NET, it is a separate download. 回答2: In Visual Studio 2010, in addition to installing Microsoft Visual J# Version 2.0

Why does Visual C++ Designer not work after I added a control to my form?

你。 提交于 2019-12-22 14:15:14
问题 My wanted to turn on double buffering in a panel, but the only way we could get the DoubleBuffered property to turn on was to create a new class that inherited from System::Windows::Form::Panel , like so: #include "stdafx.h" public ref class CPPIConfig: public System::Windows::Forms::Panel { public: CPPIConfig() { this->DoubleBuffered = true; } }; And our form looks like this, now: #pragma once #using <system.drawing.dll> #include "CPPIConfig.h" [...] public ref class C3_User_Interface :

VisualStudio C# x64, why AddReference option, .NET tab points to x86 DLL instead of x64?

北城余情 提交于 2019-12-22 12:22:51
问题 I want to create an x64 application. When I want to add a reference for example to system.data in window AddReference under tab .NET I see only x86 DLLs, and I need 64 bit versions. I have Windows Server 2008 x64 with Visual Studio 2008. I created a project and I set x64 under Configuration Manager. What can I do to force Visual Studio to point to the correct DLLs (from C:\WINDOWS\Microsoft.NET\Framework64 instead of C:\WINDOWS\Microsoft.NET\Framework )? 回答1: Running into the same problem,

How can I get unit tests to run as part of a TFS2008 build?

我与影子孤独终老i 提交于 2019-12-22 12:18:25
问题 I'm trying to get my continuous integration setup to run my unit tests for me, so I've set <RunTest>true</RunTest> And I've setup the tests to auto-discover: <ItemGroup> <TestContainer Include="$(OutDir)%2a.Test.dll" /> </ItemGroup> Running the build on my development machine runs my unit tests, and reports that the Build succeeded; When run as an automated build, the tests run (according to the BuildLog), but I'm seeing this in the log: Publishing results of test run tfs_service@TFS-BUILD

My ToolBox Show Multiple Copies Of The Same Control (VS2008)

懵懂的女人 提交于 2019-12-22 12:17:09
问题 My Visual Studio is all messed up and I have no idea why. See the screenshot below. The controls are repeated 3 times. I tried reseting the toolbox; still no luck. The solution contains one ASP.NET Web Application and few class library. None of the projects have referenece to System.Windows.Form, still components from System.Windows.Forms are selected in the Choose Items dialog box. Is it only me or anybody else has ever faced such a weird problem? messed up vs toolbox http://img525

given up on gridview fixed header

◇◆丶佛笑我妖孽 提交于 2019-12-22 12:07:58
问题 Working on: asp.net Gridview Control ok i tried and tried and maybe searched the entire web... but i could not find anything good for my asp.net gridviewcontrolwhich whill fix the header and allow sorting. but most of all work in all browsers and not just IE and Firefox alone.... chrome was the main problem nothing worked... this was one option: .HeaderFreez { position:relative ; top:expression(this.offsetParent.scrollTop); z-index: 10; } but here i first get an error that "expression(this