visual-studio

Not able to add an apple account to the visual studio 2017

∥☆過路亽.° 提交于 2021-02-08 05:30:14
问题 I have an apple account with the admin role. Whenever I'm trying to add an apple account to visual studio, it displays "There was an error while trying to log in: A server with the specified hostname could not be found". I updated Visual Studio 2017 also. Still, it displays the same error. Please help me. 回答1: As @LeonLu mentioned, it might be a problem with the non-paid version of account. This is stated in the Microsoft docs: https://docs.microsoft.com/en-us/xamarin/cross-platform/macios

accessing an iis localhost path from another computer on the network

蹲街弑〆低调 提交于 2021-02-08 05:17:41
问题 I have a web application project in visual studio 2015. and i built it on Local iis with http://localhost/WebApplication1 URL. i can access to the project from my computer with above url but i can not access from another computer that i directly connected it to this. I check these: 1.I can share folders from these computers. 2.I make a rule in firewall for port 80 inbound 3.I checked vs debug remote allowed in firewall 4.I checked "ping localhost" and it received ping I use windows 10 with

accessing an iis localhost path from another computer on the network

為{幸葍}努か 提交于 2021-02-08 05:17:35
问题 I have a web application project in visual studio 2015. and i built it on Local iis with http://localhost/WebApplication1 URL. i can access to the project from my computer with above url but i can not access from another computer that i directly connected it to this. I check these: 1.I can share folders from these computers. 2.I make a rule in firewall for port 80 inbound 3.I checked vs debug remote allowed in firewall 4.I checked "ping localhost" and it received ping I use windows 10 with

Numerical equivalent of TRUE is -1?

一曲冷凌霜 提交于 2021-02-08 03:41:37
问题 I am using Intel Fortran in Visual Studio 2012 to compile a Fortran code. When I try to use logical operators I have noticed that a standalone logical expression results in T or F as expected. However, if I need the numerical T or F (0 or 1), I get a -1 when logical result is T. For example: integer*4 a a = 1 logicval = (node(5,L).gt.0) numval = 1*(node(5,L).gt.0) write(*,*) logicval, numval would output T, -1 Is there a way in which I can redefine numerical values assigned to T & F? 回答1: Yes

Android emulator and nested virtualization

巧了我就是萌 提交于 2021-02-08 02:21:29
问题 I have a problem. I use hyper-v virtual machine to isolate development process. I use windows 10 on virtual machine. But I can't install hypervisor on my virtual machine. How I can debug xamarin.forms application without hyper-v? Thanks. QUICK ANSWER : YES. It isn't possible. Nesting hyper-v works. VM should not have dynamic RAM. Should be static. You should enable nested virtualization by the following command in Powershell: Set-VMProcessor -VMName -ExposeVirtualizationExtensions $true See

Android emulator and nested virtualization

青春壹個敷衍的年華 提交于 2021-02-08 02:19:28
问题 I have a problem. I use hyper-v virtual machine to isolate development process. I use windows 10 on virtual machine. But I can't install hypervisor on my virtual machine. How I can debug xamarin.forms application without hyper-v? Thanks. QUICK ANSWER : YES. It isn't possible. Nesting hyper-v works. VM should not have dynamic RAM. Should be static. You should enable nested virtualization by the following command in Powershell: Set-VMProcessor -VMName -ExposeVirtualizationExtensions $true See

Do not copy SASS / LESS file when using Web Publish

大兔子大兔子 提交于 2021-02-08 01:48:05
问题 When publishing a Web Application (MVC in my case) via File System in Web Publish setting, most of the *.scss & *.less files get deployed as well. How do I configure a Visual Studio project so that it does not deploy these files? 回答1: I believe setting "Build action" to "None" and "Copy to output directory" to "Never" should work. You can do it in property window of the file. Right click the file in solution explorer and click properties 回答2: Visual Studio deploys only those files that are

CMake: How to show headers in “Header files” in Visual Studio project?

有些话、适合烂在心里 提交于 2021-02-07 23:47:11
问题 I have created a simple library project in C++ and added CMake file to automatically generate a Visual Studio project. My small project contains only 2 files: include/ testproject/ testproject.h src/ testproject.cpp CMakeLists.txt Header file now in External Dependencies (screenshot). How to display it in the section "Headers"? (or any other. Just not "External Dependencies") CMakeLists.txt: CMAKE_MINIMUM_REQUIRED(VERSION 2.8) SET(PROJECTNAME testproject) PROJECT(${PROJECTNAME}) FILE(GLOB MY

CMake: How to show headers in “Header files” in Visual Studio project?

人走茶凉 提交于 2021-02-07 23:44:47
问题 I have created a simple library project in C++ and added CMake file to automatically generate a Visual Studio project. My small project contains only 2 files: include/ testproject/ testproject.h src/ testproject.cpp CMakeLists.txt Header file now in External Dependencies (screenshot). How to display it in the section "Headers"? (or any other. Just not "External Dependencies") CMakeLists.txt: CMAKE_MINIMUM_REQUIRED(VERSION 2.8) SET(PROJECTNAME testproject) PROJECT(${PROJECTNAME}) FILE(GLOB MY

Where solution build order is saved

拥有回忆 提交于 2021-02-07 21:01:50
问题 I have a solution which contains multiple projects (csproj & btproj). I'm actually running BizTalk 2013 R2, so I'm developing under Visual Studio 2013. I have many powershell scripts to deploy my applications and I have to enhance them. I need to read or determine the projects build order of a solution to deploy my assemblies in this order. Ok I can get it under "Project->Project Dependencies", but where are these informations stored ? Or how can I determine them programatically with