visual-studio-2015

Visual Studio 2015 error C4996 'std::_Copy_impl': Function call with parameters that may be unsafe

时光怂恿深爱的人放手 提交于 2020-01-30 11:23:04
问题 I wrote this template class: .hpp: #ifndef BIVARIATEGAUSSIANPDF_LIB_H #define BIVARIATEGAUSSIANPDF_LIB_H #if defined BIVARIATEGAUSSIANPDF_LIB_EXPORTS #define BIVARIATEGAUSSIANPDFDLL_API __declspec(dllexport) #else #define BIVARIATEGAUSSIANPDFDLL_API __declspec(dllimport) #endif #include <vector> #include <opencv2\core\core.hpp> namespace cv { class Mat; } #define _USE_MATH_DEFINES #include <math.h> template<class T, class N> class BivariateGaussianPDF { public: BIVARIATEGAUSSIANPDFDLL_API

Install an appx or appxbundle in a Windows Phone 10?

早过忘川 提交于 2020-01-30 08:27:05
问题 I'm developing an UWP app which is running without any troubles when it's being debugged using VS2015 but when it's installed using an appx or appxbundle. I've read many packaging and installation guides and it doesn't seem I'm leaving steps out (I just need to deploy the app in a device for testing purposes only), but this behavior makes me wonder if maybe I am... I'm not sure if I've let enough information but I really don't know what else to explain :( Could anyone tell me what should I do

Getting an error Cannot resolve dependency to assembly System.Web

喜夏-厌秋 提交于 2020-01-30 08:12:26
问题 I had to have my primary HD replaced. Yesterday my HD was replaced by our IT tech staff. So today, after installing VS 2015, I started working on a WPF app we've been working on. I got into the project, did a Get Latest from TFS and did a build. I failed with the following error: Cannot resolve dependency to assembly 'System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' because it has not been preloaded. When using the ReflectionOnly APIs, dependent assemblies must

Getting an error Cannot resolve dependency to assembly System.Web

青春壹個敷衍的年華 提交于 2020-01-30 08:12:05
问题 I had to have my primary HD replaced. Yesterday my HD was replaced by our IT tech staff. So today, after installing VS 2015, I started working on a WPF app we've been working on. I got into the project, did a Get Latest from TFS and did a build. I failed with the following error: Cannot resolve dependency to assembly 'System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' because it has not been preloaded. When using the ReflectionOnly APIs, dependent assemblies must

Visual Studio 2015 (VB.NET) IntelliSense not showing variables, methods and properties

瘦欲@ 提交于 2020-01-30 06:34:06
问题 Up to now IntelliSense listed all public variables, methods and properties of a class, when I used the name somewhere else, but now it only shows a few properties and methods. The problem also occurs with forms and other controls. There is a post, which dealed already with this issue (link to the post), but it does not provide a working solution. Maybe someone knows the reason for this behaviour. Edit: Here is a screenshot with an example: 回答1: From your screenshot the problem is easier to

How to change the color of Visual Studio syntax highlighting?

六月ゝ 毕业季﹏ 提交于 2020-01-30 05:41:31
问题 VS default color scheme is really tired of watching like: 回答1: All Visual Studio versions have this available here: Menu > Tools > Options > Environment > Fonts and Colors Recent versions of Visual Studio come with 4 built-in themes that can be changed from: Menu > Tools > Options > Environment > General 来源: https://stackoverflow.com/questions/45854094/how-to-change-the-color-of-visual-studio-syntax-highlighting

Launch exe file generated by Visual Studio 2015

若如初见. 提交于 2020-01-30 02:40:06
问题 I need to get a runnable .exe file from a simple Windows 10 universal app developed in VisualStudio 2015 community edition. This worked before on a windows 7 PC with Visual Studio 2012 (or maybe 2013), the .exe was located at MyProject/bin/x64/Debug, and I was able to run it. Now, with Visual Studio 2015, I can still find the .exe file, but it gives me an error when I try to run it: This application can only run in the context of an app container. Is there a way to export an executable,

Launch exe file generated by Visual Studio 2015

青春壹個敷衍的年華 提交于 2020-01-30 02:39:50
问题 I need to get a runnable .exe file from a simple Windows 10 universal app developed in VisualStudio 2015 community edition. This worked before on a windows 7 PC with Visual Studio 2012 (or maybe 2013), the .exe was located at MyProject/bin/x64/Debug, and I was able to run it. Now, with Visual Studio 2015, I can still find the .exe file, but it gives me an error when I try to run it: This application can only run in the context of an app container. Is there a way to export an executable,

How to add a default Default.aspx to a ASP.NET Web Application Project? [closed]

扶醉桌前 提交于 2020-01-26 04:21:08
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . I am working with Visual Studio 2015. I created a new ASP.NET Web Application project. Then get a screen to Select a template . I selected Empty . The Project named WebApplication1 is created. It has 2 files packages.config Web.config But it does not have Default.aspx . I remember older version of Visual Studio

Why can't I see the role list in AWS Lambda Advanced Function Details dialog?

﹥>﹥吖頭↗ 提交于 2020-01-26 04:15:46
问题 I am creating a simple AWS Lambda Function in C# - in fact nothing more than their template. I right click on a project, select Publish to AWS Lambda , fill out the function name, assembly, type names and all that, then go Next to the Advanced Function Details dialog. In this dialog, I am asked to provide a name. But the drop-down is empty and there is no way to type it in. I have plenty of roles defined in IAM and have attached them to other lambda functions (that I created in aws console).