visual-studio-2013

OpenCV Visual Studio ntdll.dll

[亡魂溺海] 提交于 2020-01-14 12:58:10
问题 I have trying to create a Project using OpenCV 2.4.10 on Visual Studio 2013, but I have had very little luck so far, owing to the following exceptions. Please suggest help. TIA. 'letstryitonemoretime.exe' (Win32): Loaded 'C:\Users\Kndarp\Documents\Visual Studio 2013\Projects\letstryitonemoretime\Debug\letstryitonemoretime.exe'. Symbols loaded. 'letstryitonemoretime.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntdll.dll'. Symbols loaded. 'letstryitonemoretime.exe' (Win32): Loaded 'C:\Windows

CodeLens only finds tests that are written in MSTests

自作多情 提交于 2020-01-14 09:48:10
问题 I recently installed Visual Studio 2013 and CodeLens is amazing! The problem that I find is that whenever I open a class file that has methods in it, it doesn't seem to find the Unit Tests associated to the method if it is not written in MSTest. Is there anything that I have to do so that it can find other Unit tests like MSpec? Is it because Machine Specifications has a different approach when creating unit tests vs MSTest or other testing framework out there? 回答1: The tested by and test

Cannot insert the value NULL into column 'Discriminator' AspNetUsers Table

笑着哭i 提交于 2020-01-14 08:10:12
问题 After a code first migration, adding a user using the register fails with: Cannot insert the value NULL into column 'Discriminator', table 'aspnet-BSF2013-20130918101120.dbo.AspNetUsers'; column does not allow nulls. The create user code is the default code generated by the Project Template (Vs2013, MVC project with EF5) Before a successful migration, the Registration code worked, so I'm guessing that membership has been altered by EF. 来源: https://stackoverflow.com/questions/18938514/cannot

Cannot insert the value NULL into column 'Discriminator' AspNetUsers Table

房东的猫 提交于 2020-01-14 08:09:29
问题 After a code first migration, adding a user using the register fails with: Cannot insert the value NULL into column 'Discriminator', table 'aspnet-BSF2013-20130918101120.dbo.AspNetUsers'; column does not allow nulls. The create user code is the default code generated by the Project Template (Vs2013, MVC project with EF5) Before a successful migration, the Registration code worked, so I'm guessing that membership has been altered by EF. 来源: https://stackoverflow.com/questions/18938514/cannot

In form numberpad C#

好久不见. 提交于 2020-01-14 06:47:46
问题 I would like to add an in form numberpad to my form to make the program more touch friendly. I have multiple text boxes on this form that change focus when the enter key is pressed. I tried SendKeys.Send("#"), but when I click the button it just changes focus to the button and does nothing inside the text box I was trying to type in. Is there a guide or something for this? I have looked and all I can find are on screen keyboards that work outside of the form, but not inside. 回答1: Expanding a

VS2013 compilation for WinXP, procedure entry point could not be located

余生长醉 提交于 2020-01-14 06:05:15
问题 I had a working VS2010 C++ solution, output of which I could launch on XP and Win7 with no problems. Now I switched to VS2013 and imported the project. From that moment on, the output exe could be launched only on Win7. On XP it would give me " Error Executing Program! (5) ". Well I found this thread Since then the error I get while launching the application on XP is " The procedure entry point K32GetModuleFilenameExA could not be located in the dynamic link library KERNEL32.dll " Does it

Run command line when a document is saved in Visual Studio 2013?

雨燕双飞 提交于 2020-01-14 02:50:07
问题 I'm currently evaluating using VS2013 for a HTML5 project. In this project I would like to be able to run a command line tool every time a file is saved (and have the file path passed as argument to the command line tool), and then have the output displayed in the console in VS. It's also important that this setup can be part of the project file, so that when a developer opens the project it's already setup correctly and ready to go without any additional configuring in VS. In both Sublime

When will _ATL_ALLOW_UNSIGNED_CHAR work?

橙三吉。 提交于 2020-01-14 01:52:18
问题 I'm migrating a Visual C++ project which uses ATL/MFC from VS2010 to VS2013. The project compiles with /J ("assume char is unsigned"), and there is too much code that may or may not rely on that fact to easily remove the compiler flag. Under VS2013, /J causes a compiler error in atldef.h: ATL doesn't support compilation with /J or _CHAR_UNSIGNED flag enabled . This can be suppressed by defining _ATL_ALLOW_UNSIGNED_CHAR . Microsoft mention this in the MSDN documentation for /J, along with the

Building 64bit Live555 with Visual Studio 2013

隐身守侯 提交于 2020-01-14 01:43:44
问题 I am trying to build the components of Live555 with Visual Studio 2013 64bit on Windows 7. I have tried editing win32config and the *.mak files without success. I've been searching the internet for a few hours and trying all kinds of things with command prompts. For some reason VS2013 x64 command prompt is still building 32bit static libs and I can't figure out why. If anyone has any good ideas, that would be fantastic! 回答1: The win32config file that you get from the .tar.gz file requires

Code Contracts - Visual Studio Team Service Scripted Build Server Unit Tests Fail

爱⌒轻易说出口 提交于 2020-01-13 19:51:11
问题 I recently added Code Contracts to my solution. After some modifications our build runs without any problems but our unit tests fail because of Code Contracts. Environment: Source control and build server are hosted on Visual Studio Team Service (VSTS) Scripted Build ( formerly VSO ) VS 2013 Premium Code ( now VS 2015 Enterprise ) contracts enabled on configurations Debug and Release Code contract turned off with DoNotBuild flag set for custom configurations BuildServer Visual Studio Team