visual-studio-2015

HTTP 502.5 error after updating ASP.NET Core 1.0 to 1.1

南笙酒味 提交于 2020-01-24 02:47:07
问题 Steps to reproduce I used this official ASP.NET and this articles to upgrade my ASP.NET Core 1.0 app to 1.1. The app compiles fine but when I run the app using F5, I get the following error Error : HTTP Error 502.5 - Process Failure Common causes of this issue: The application process failed to start The application process started but then stopped The application process started but failed to listen on the configured port Further technical details Operating system: Windows 10 Visual Studio

Why difference between two pointers is not equals to size of type?

ε祈祈猫儿з 提交于 2020-01-24 01:18:08
问题 I have the simple program: #include <iostream> using namespace std; int main() { int a = 5; int b = 6; int* p1 = &a; int* p2 = &b; std::cout << p1 << " " << p2 << " ,sizeof(int)=" << sizeof(int) << std::endl; system("pause"); return 0; } It produces the following output: 00DBF9B8 00DBF9AC ,sizeof(int)=4 but, 00DBF9B8 - 00DBF9AC == С . I cannot understand this result. If I modify the program like this: #include <iostream> using namespace std; int main() { static int a = 5; static int b = 6;

Async await not wait the process using Visual Studio and Xamarin

拥有回忆 提交于 2020-01-23 17:30:51
问题 i don't know why my async not waiting the process, here is my code : userKu = new UserData(); btnLogin = FindViewById<Button>(Resource.Id.buttonLogin); protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); SetContentView(Resource.Layout.Main); if (isOnline() == true) { AppPreferences ap = new AppPreferences(mContext); string usernameCekLogin = ap.getNamaUser(); //TOAST #1 Toast.MakeText(this, userKu.status, ToastLength.Long).Show(); isLogin(usernameCekLogin, userKu); /

Async await not wait the process using Visual Studio and Xamarin

假装没事ソ 提交于 2020-01-23 17:30:47
问题 i don't know why my async not waiting the process, here is my code : userKu = new UserData(); btnLogin = FindViewById<Button>(Resource.Id.buttonLogin); protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); SetContentView(Resource.Layout.Main); if (isOnline() == true) { AppPreferences ap = new AppPreferences(mContext); string usernameCekLogin = ap.getNamaUser(); //TOAST #1 Toast.MakeText(this, userKu.status, ToastLength.Long).Show(); isLogin(usernameCekLogin, userKu); /

Visual Studio 2012 Installer Project in VS 2015 “The application is not installed” after installing Visual Studio Installer Projects in 2015

╄→гoц情女王★ 提交于 2020-01-23 16:17:55
问题 I have an installer project I created using Visual 2012's built-in InstallShield Limited Edition Wizard. I have a need to modify this project on a new computer. The source code was saved and obtained via Team Foundation Server. So far, I've opened the solution in Visual Studio 2015, installed the Visual Studio Installer Projects Extension, and I'm still receiving the (incompatible) message along with the collapsed message "The application is not installed" for the installer project

Visual Studio 2015 c++/CLI boost::thread [duplicate]

眉间皱痕 提交于 2020-01-23 12:28:24
问题 This question already has an answer here : How do I create a C++/CLI Winforms app in VS2012? (1 answer) Closed 3 years ago . This issue has been around for all Visual Studio versions, but in VS 2015 the "old tricks" don't seem to work anymore. This is what I have tried: create a Windows Forms application in VS 2013 and 2015 (the macro is missing since VS 2013, so see this post: Can't find Windows Forms Application for C++) add boost headers path to Additional Include Directories add #include

ANOMALY: meaningless REX prefix used

北慕城南 提交于 2020-01-23 05:42:07
问题 What does the error ANOMALY: meaningless REX prefix used mean? I have googled and all information I got was completly random that it is related to java or avg or minecraft (because of java). However, I got this error in the console output of my Visual Studio console application after I merged several branches of my c++ opengl 4.0 graphics engine and it suddenly popped up. I might have updated the AMD graphics driver between the time points I have written them, so this could be one source.

C++ 17 features in Visual Studio 2015 with Clang

这一生的挚爱 提交于 2020-01-23 03:32:53
问题 This is a perennial question here, but: does anyone know if there is a way to get Visual Studio 2015, with the Clang tool chain installed (tab for "cross compilation") to enable the 2017 features that Clang itself normally supports? For example, I would like this to compile: constexpr bool test(bool a){bool b= false; b = b || a; return b;} static_assert(test(true),""); With Clang itself, version 3.7, from command line with --std=++1z, this will compile correctly, but Visual Studio C++ is not

Questions about “Binary Compatibility between Visual Studio 2015 and Visual Studio 2017”

时光怂恿深爱的人放手 提交于 2020-01-23 02:45:33
问题 https://docs.microsoft.com/en-us/cpp/porting/binary-compat-2015-2017?view=vs-2017 says that C++ Binary Compatibility between Visual Studio 2015 and Visual Studio 2017 is guaranteed except: 1)When static libraries or object files are compiled with the /GL compiler switch. 2)When consuming libraries built with a toolset whose version is greater than the toolset used to compile and link the application. For example, a program that is compiled and linked with compiler version 19.12 can consume

Typescript compilation errors not being displayed in VS2015 using gulp-typescript

旧巷老猫 提交于 2020-01-22 14:34:08
问题 This is something that some days ago was working fine, so I am not sure what has changed since then (other than updating to ASP.NET Core RC2 and installing some extension for VS2015 as I recall) The issue is that when running from VS2015 a Gulp task to compile my typescript files, if there is an error it shows for example: [10:02:54] Compiling typescript into javascript [10:02:56] TypeScript: 1 semantic error [10:02:56] TypeScript: emit succeeded (with errors) [10:02:56] Finished 'compile'