visual-studio-2010

Visual Studio 2010: Fatal Error C1902 about “program database manager”

杀马特。学长 韩版系。学妹 提交于 2020-01-13 08:09:13
问题 Here's some description from MSDN Error Message program database manager mismatch; please check your installation A program database file (.pdb) was created using a newer version of mspdb80.dll than the one found while compiling. This error usually indicates that mspdbsrv.exe or mspdbcore.dll are missing or have different versions from mspdb80.dll. Ensure matching versions of mspdbsrv.exe, mspdbcore.dll, and mspdb80.dll are installed on your system. and I want to know what is "program

Visual Studio 2010: Fatal Error C1902 about “program database manager”

房东的猫 提交于 2020-01-13 08:08:48
问题 Here's some description from MSDN Error Message program database manager mismatch; please check your installation A program database file (.pdb) was created using a newer version of mspdb80.dll than the one found while compiling. This error usually indicates that mspdbsrv.exe or mspdbcore.dll are missing or have different versions from mspdb80.dll. Ensure matching versions of mspdbsrv.exe, mspdbcore.dll, and mspdb80.dll are installed on your system. and I want to know what is "program

How to Make Application.Properties.Settings public and stay that way

房东的猫 提交于 2020-01-13 07:45:07
问题 I am in the process of centralizing my application settings into one location and I've chosen to use the the Settings collection in my common library to do so. I have moved all these settings into their own file that gets pulled into my app.config using config source: <Common.Properties.Settings configSource="config\Common.Properties.Settings.config" /> This allows me to use the "Add Link" capability of Visual Studio to override the default library settings with the imported config file

VS2013 not picking up SQL2012 SSIS Custom Components

牧云@^-^@ 提交于 2020-01-13 06:55:30
问题 I am trying to create a custom SSIS component. While I use Visual Studio 2013 premium as my main IDE I seems to have fallen into the below problem. When I create a SSIS custom component (class library, .Net 4.0 using dlls from 110's x86 folder) I am successfully able to compile, build, register at GAC and copy them to 110's DTS component folder. Now here is the problem. When I create Integration Services Project in VS2013, I cannot see my newly created component in the SSIS toolbox. While if

Reference an unmanaged C++ DLL from Managed C++

隐身守侯 提交于 2020-01-13 06:23:06
问题 This question follows from my previous question: Create DLL from unmanaged C++, but you would not have to read it to understand this new question. I now have a DLL that contains unmanaged C++ code consisting of a few functions, of which I only export one for outside use. Next, I need to use this DLL in a Managed C++ project (built with Common Language Runtime support). So far, I have added a reference to the existing unmanaged project's header file by setting the Additional Include

How to displace the origin of the Y axis on a polar Mschart?

断了今生、忘了曾经 提交于 2020-01-13 05:56:22
问题 Im working on a polar chart with mschart, and I need to make this "hole" on the middle of the chart. I mean, i need the "0" of the Y axis not to be on the center. I saw this plot somewhere on stackoverflow. It´s exactly what i need, how can I do that? 回答1: In order to create a radar plot that look like the provided example // disable grid a long X chart1.ChartAreas[0].AxisX.MajorGrid.Enabled = false; chart1.ChartAreas[0].AxisX.MajorTickMark.Enabled = false; // set Y axis chart1.ChartAreas[0]

Where are logs for witadmin actions in TFS 2010?

亡梦爱人 提交于 2020-01-13 05:18:48
问题 When running the witadmin command from the Visual Studio 2010 Command Line, where is this action logged in TFS 2010? An example command would be: C:>witadmin exportwitd -collection:http://server:8080/tfs/projectcollection -p:TeamProject -n:Bug -f:c:\Bug.xml 回答1: One way to do this would be to query the command log in the collection database. Note: it's generally recommended not to query the database directly, since the schema is not documented/supported and could change in a future release.

Is Visual Studio's C4028 warning (formal parameter different from declaration) spurious?

て烟熏妆下的殇ゞ 提交于 2020-01-13 04:33:13
问题 Consider the following function declaration and definition. In the header file: void some_function(int param); In the source file: #include "test.h" void some_function(const int param) {} int main(void) { return 0; } Under Visual Studio 2010, compiling as a pure C project, I see warning C4028: formal parameter 1 different from declaration . But as far as I know, this is perfectly valid C, and fairly common practice. Am I wrong about this, and is VS2010 therefore correct to warn me? Or if it

How can I programmatically build my solution files from C# code?

不打扰是莪最后的温柔 提交于 2020-01-13 03:50:14
问题 I have a large solution containing many projects with one of them being a Setup project. There are also many current versions stored in separate branches. I have a build tool that used to work in .NET 2, but hasn't worked since we upgraded to .NET 4. Internally, the new .NET 4 version of the build tool uses Microsoft.TeamFoundation.Client.RegisteredTfsConnections.GetProjectCollections() and versionControlServer.GetAllTeamProjects(false) to get a collection of TeamProject s from my TFS source

SQLite installation problem with visual c# 2010

匆匆过客 提交于 2020-01-13 03:20:10
问题 I'm trying to use SQLite to make databases in visual c# 2010 but when I select "SQLite Database File" I don't get the opportunity to point to a database file. I get a dialog that asks me for a connection string. I have not been able to come up with a connection string that doesn't give me the error "Could not load file or assembly 'Microsoft.VisualStudio.Data, version=9.0.0.0, PublicKeyToken=...'The located assembly's manifest definition does not match the assemble reference." I've learned