visual-studio-2015

pybind11 “Python is 64-bit, chosen compiler is 32-bit”

元气小坏坏 提交于 2021-02-02 06:45:11
问题 I'm trying to compile pybind11 on a Windows machine that has VisualStudio 2015 installed. I also have python 3.5.3 64bit installed, and cmake 2.8.12. I get the error: CMake Error at tools/FindPythonLibsNew.cmake:122 (message): Python config failure: Python is 64-bit, chosen compiler is 32-bit Call Stack (most recent call first): tools/pybind11Tools.cmake:16 (find_package) CMakeLists.txt:28 (include) I did not "choose" the compiler to be 32-bit, and looking at the CMakeLists.txt, I did not

pybind11 “Python is 64-bit, chosen compiler is 32-bit”

我的未来我决定 提交于 2021-02-02 06:45:08
问题 I'm trying to compile pybind11 on a Windows machine that has VisualStudio 2015 installed. I also have python 3.5.3 64bit installed, and cmake 2.8.12. I get the error: CMake Error at tools/FindPythonLibsNew.cmake:122 (message): Python config failure: Python is 64-bit, chosen compiler is 32-bit Call Stack (most recent call first): tools/pybind11Tools.cmake:16 (find_package) CMakeLists.txt:28 (include) I did not "choose" the compiler to be 32-bit, and looking at the CMakeLists.txt, I did not

How to view entire call stack hierarchy without breakpoints? (Visual Studio 2015 + ASP.NET Web Forms)

戏子无情 提交于 2021-01-29 18:52:00
问题 I want to figure out what methods are being called in what order when I build and run an ASP.NET web form application. The context is that I'm trying to decipher the architecture of the code base I'm working on, and its not clear where the program begins. Using breakpoints randomly has been helpful but does not give the entire picture. Is something like this possible? 回答1: You can use my Runtime Flow extension to view entire method calls hierarchy of an ASP.NET applicaton. 来源: https:/

C# - Excel - How to delete visible rows after AutoFilter?

十年热恋 提交于 2021-01-29 18:00:40
问题 I´m working on a little commandline tool to extract some data from an excel sheet. I want to delete all rows which are visible after applying an AutoFilter. Unfortunately, I just don´t know how to continue. After some searching, I did not find a working answer for me. Here is what I´ve got so far: oXL = new Excel.Application(); oXL.Visible = false; oWB = oXL.Workbooks.Open(source); oXS = (Excel.Worksheet)oWB.Sheets[1]; Excel.Range filter = oXS.UsedRange; filter.AutoFilter(8, "<>text to filter

TF400324 Team Foundation services are not available

旧巷老猫 提交于 2021-01-29 10:47:59
问题 i have a problem in team foundation when i want connect to tfs server with VS. error at connect time : TF400324: Team Foundation services are not available from server <URL>. Technical information (for administrator): The server committed a protocol violation. Section=ResponseHeader Detail=Header name is invalid but i connect with browser to tfs server and can't connect with VS. tnx to all :) 回答1: Try clear both local TFS cache and Visual Studio Cache, then try it again. ​Close all Visual

How to align an autoadjust size using database fields in crystalreport?

痴心易碎 提交于 2021-01-29 09:58:48
问题 I have a question I'm using vs2015 and crystalreport CRforVS_13_0_18. I designed my report but when this report has a field longer than the others columns, only this grows, Even I set all the fields to check the option Can Grows. Can you help me?. Thanks in advance. I share a snapshot. And this is my designer. When I put borders, they don't show with the same height. like this: I did the extra section but i have problems with left and right lines. Finally. i got to do lines untill the end of

C# visual studio selenium for edge OS version18362

大憨熊 提交于 2021-01-29 08:38:18
问题 I am beginner of learning C# selenium using visual studio 2015. I want to test a random website using edge browser. With the use of NuGet, I have installed selenium support (latest version)v3.141.0, selenium webdriver (latest version)v3.141.0 and selenium microsoft webdriver (latest version)v17.17134.0. However, the OS version on my laptop (latest window 10) is 18362 which is not available to download on official webdriver website. The following code works well in chrome, IE, and firefox, but

I'm unable to use ConfigurationManager.AppSettings in Coded UI

安稳与你 提交于 2021-01-29 08:09:16
问题 My code in VS2015 ultimate is: BrowserWindow browser = BrowserWindow.Launch(ConfigurationManager.AppSettings["URL"]); While using this code I'm getting error in the code and when I mouse hovered it I got this 'object' does not contain a definition for "AppSettings" and no extension method 'AppSettings' accepting a first argument of type object could be found(are you missing a using directive or an assembly reference?) . But I have provided using System.Configuration; . And this code was

Could not load type 'Microsoft.Extensions.DependencyInjection.ServiceProviderExtensions'

本秂侑毒 提交于 2021-01-29 08:00:27
问题 Since I updated to Visual Studio 2015 update 3 and restored my Nuget packages I'm getting an Could not load type 'Microsoft.Extensions.DependencyInjection.ServiceProviderExtensions' from assembly 'Microsoft.Extensions.DependencyInjection.Abstractions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. error.In my project.json file I have the following Entity Framework packages defined "EntityFramework.Core": "7.0.0-rc1-final", "EntityFramework.Relational": "7.0.0-rc1-final",

WIX run vcredist_x64.exe on install

梦想与她 提交于 2021-01-29 07:07:37
问题 I have an application compiled in VS 2015 and requires the VC++ Redistributable package in order to run properly. Prior to this latest build, we were using an older version of VS and simply used a merge module to handle the installation of the appropriate redist files. However, I noticed that when using the latest version of the merge modules for 2015 (Microsoft_VC140_CRT_x64.msm) that my application still wouldn't work out of the box. I did some digging and it appears that some things have