visual-studio-2012

“The application was unable to start correctly (0xc000007b). Click ok to close the application.”

时光怂恿深爱的人放手 提交于 2020-01-02 08:09:21
问题 I am getting the error message in the title on a VPS running Windows Server 2008 R2 Enterprise SP1 when I try to open Visual Studio 2010. Things were working fine in the beginning even after I installed SQL Server 2012 and VS 2013. In trying to resolve this, I found others who had this issue stating that the 32 bit version of the msvcp100, msvcp100d, msvcr100, msvcr100d, and msvcr100_clr0400 DLLs in the SysWOW64 folder were overwritten somehow with the 64 bit version. So, I downloaded the 32

DirectX SDK project - porting to VS2012

☆樱花仙子☆ 提交于 2020-01-02 07:10:15
问题 I'm porting to visual studio 2012 a solution with a project which uses some headers from the directX SDK in this path: C:/../Microsoft DirectX SDK (June 2010)/Samples/C++/DXUT11/Core the problem is: I'm encountering all the (in)famous re-definitions warnings: 14>c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h(12): warning C4005: 'DXGI_STATUS_OCCLUDED' : macro redefinition 14> C:\Program Files (x86)\Windows Kits\8.0\Include\shared\winerror.h(49449) : see previous

DirectX SDK project - porting to VS2012

和自甴很熟 提交于 2020-01-02 07:09:03
问题 I'm porting to visual studio 2012 a solution with a project which uses some headers from the directX SDK in this path: C:/../Microsoft DirectX SDK (June 2010)/Samples/C++/DXUT11/Core the problem is: I'm encountering all the (in)famous re-definitions warnings: 14>c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h(12): warning C4005: 'DXGI_STATUS_OCCLUDED' : macro redefinition 14> C:\Program Files (x86)\Windows Kits\8.0\Include\shared\winerror.h(49449) : see previous

Visual Studio 2012 compile for XP - not valid win32 - v110_xp

大兔子大兔子 提交于 2020-01-02 07:07:15
问题 I have Visual Studio 2012 update 4 and the Windows SDK 7.1. I select the "Visual Studio 2012 - Windows XP (v110_xp)" toolkit and the include directories change to use $(WindowsSdkDir_71A). No errors are given during compile (e.g. it successfully finds winres.h), but when I try to run the exe on Windows XP SP3, it still errors: "test.exe is not a valid Win32 application." For testing, it's just a C++ hello world. #include <cstdio> int main(void) { printf("Hello, World!\r\n"); return 0; } How

ClickOnce Manifest has invalid children - but xml matches old published manifests

本秂侑毒 提交于 2020-01-02 07:03:41
问题 I have an error during installing updating or fresh installing my ClickOnce publish on my app. This occurs on computers without the app installed and on those with the app already there. The pfx file I use for signing the project is the same as it was in previous versions so I don't think the certificate is the issue. + Exception reading manifest from <APPPATH>.exe.manifest: the manifest may not be valid or the file could not be opened. + The element 'assembly' in namespace 'urn:schemas

WPF designer fails to load in VS 11 beta

ぃ、小莉子 提交于 2020-01-02 05:50:06
问题 I'm experiencing a weird error with the visual studio 11 beta WPF designer (i.e. google does not return any results while searching for a part of the stacktrace) Here is the problem: When I create a WPF application project, and then add windows or usercontrols to it, I have no problems editing them in the embedded WPF designer. But when I create a WPF user control project, I cannot manage to get it working: I have the weird error I pasted below. I'm targeting .Net 4.5 ... and my VS is in

Make the button transparent on mouse over

眉间皱痕 提交于 2020-01-02 05:42:07
问题 I'm building a metro style application using Microsoft Visual Studio Express 2012. I am very new to this applications and I need help. I have defined a button in XAML with button background is set from an image. At mouse over the button changes it background to blank. I want to change it an make the image about 50% transparent on mouse over. Is that possible? Any help? Thank you. I have declared the button as follows: <Button Height="100" Width="100" Margin="0,0,0,0"> <Button.Background>

Using Chutzpah to run Typescript qUnit tests

为君一笑 提交于 2020-01-02 05:31:51
问题 I've recently tried to incorporate qUnit and Chutzpah to unit test a project I'm working on which is written in typescript. I've got things setup in what I believe is the correct manner and the following things work: The typescript application! - I can run a very early version of the application Chutzpah - I installed this on VS2012 and it correctly see's my qUnit demo test qUnit - Appears installed and works with Chutzpah, I can run a simple test (one which doesn't look at my code) With

Unit Tests fail with exception code c0000005

南楼画角 提交于 2020-01-02 05:20:29
问题 I am trying to create Unit Tests in Visual Studios 2012 using a Native Unit Test Project. This is the test I have: TEST_METHOD(CalculationsRoundTests) { int result = Calculations::Round(1.0); Assert::AreEqual(1, result); } Exporting the Class: #ifdef EXPORT_TEST_FUNCTIONS #define MY_CALCULATIONS_EXPORT __declspec(dllexport) #else #define MY_CALCULATIONS_EXPORT #endif ... class CALCULATIONS_EXPORT Calculations { ... public: static int Round(const double& x); The function itself: int

How can I use VS2012's automatic HLSL compiling in a C# project?

前提是你 提交于 2020-01-02 05:06:11
问题 http://blogs.msdn.com/b/chuckw/archive/2012/05/07/hlsl-fxc-and-d3dcompile.aspx The above link states that "Note: This automatic integration only works for C++ projects, not C# projects.". I'm using SlimDX and surely there's a way to make it so Visual Studio will compile HLSL shaders at build time in C# projects? 回答1: I think you will find this might do it for you. You must have the fxc.exe directx compiler in the bin folder, it can be found in the direct x sdk. This class provides an