visual-studio-mac

Xamarin.UITest 2.2.4 start session failed on the first test

本小妞迷上赌 提交于 2020-01-16 04:06:32
问题 Since my macOS made me update to XCode 9.3 I had to upgrade Xamarin.UITest from 2.2.2 to 2.2.4. The problem is that when I run all my tests, every single time the first one fails with the error attached. I think is not a test issue because all tests run correctly on a macOS with XCode 9.2 and Xamarin.UITest 2.2.2. Also if I delete that test, then the next one that is going to be the first one fails with the same error. Can anyone help me, please? Thank you so much in advance! 1) SetUp Error :

Xamarin.UITest 2.2.4 start session failed on the first test

烂漫一生 提交于 2020-01-16 04:06:29
问题 Since my macOS made me update to XCode 9.3 I had to upgrade Xamarin.UITest from 2.2.2 to 2.2.4. The problem is that when I run all my tests, every single time the first one fails with the error attached. I think is not a test issue because all tests run correctly on a macOS with XCode 9.2 and Xamarin.UITest 2.2.2. Also if I delete that test, then the next one that is going to be the first one fails with the same error. Can anyone help me, please? Thank you so much in advance! 1) SetUp Error :

Visual Studio Mac Won't Show iOS Simulators

拜拜、爱过 提交于 2020-01-14 10:45:10
问题 I've got a Xamarin Forms solution with iOS and Android projects. The iOS side was working, I switched over and did a bunch of work on the Android side. Now I need to do some more iOS stuff (push notifications) and I can't get the iOS Simulator to kick in. Xcode is installed, VS says it can see the SDK. I can open the simulator from XC but inside VS no matter what Debug combination of the .iOS project I select all I get is "Generic Simulator". Any ideas? 回答1: See the answer in the comment

Dependencies not flowing between dependent projects, causing System.IO.FileNotFoundException

半城伤御伤魂 提交于 2020-01-13 07:39:29
问题 Let's say my solution has 2 projects: The first called "MainProject" (A .NETStandard 2.0 project). The second called "MainProjectTests" (A NUnit test project) with some unit tests for each class into "MainProject". The first project (MainProject) has a NuGet dependency called "dependencyX". Obviously, the project "MainProjectTests" has a reference to "MainProject". So when the test runner runs a test of "MainProjectTests" that calls methods from "MainProject" using "dependencyX" I'm getting a

How to programmatically retrieve the version information of Visual Studio for Mac?

蹲街弑〆低调 提交于 2020-01-13 06:11:46
问题 I want to retrieve the version information of Visual Studio for Mac during a build job of a Xamarin App. The goal is to include them as debug information in the binary. Is there a way to get the version number of Visual Studio, Xamarin.iOS and Xamarin.Android programmatically or with a command statement using msbuild? Manually one can get the information under: Visual Studio > About Visual Studio > Show Details > Copy Information [button] === Visual Studio Community 2017 for Mac === Version 7

System Aggregation Exception : Failed to start Node Process

帅比萌擦擦* 提交于 2020-01-06 06:55:20
问题 I, have create a angular app in mac os using vs2017 and followed the sample form Creating a new Angular project on Mac with Visual Studio with docker support for three project. Since the other project are Web API. Since the other project are successfully running on the docker. However only the angular app is not running and it throw an error as below System.AggregateException: "One or more errors occurred. (Failed to start Node process. To resolve this:.\n\n[1] Ensure that Node.js is

Visual Studio for Mac connection to remote MS SQL Server failed

时光怂恿深爱的人放手 提交于 2020-01-04 06:55:24
问题 I'm using Visual Studio for Mac 2017 on macOS Sierra with Microsoft EntityframeworkCore and I'm trying to connect to a remote MS SQL Server. If I start the project in Visual Studio on my Windows machine, everything works fine. But the same project on my Mac tells me "A call to SSPI failed" when I try to get data from the SQL Server. I can connect to the SQL Server using the "Oracle SQL Developer" tool on my Mac. So the issue is somewhere in Visual Studio. The connection string: Server

Visual Studio for Mac connection to remote MS SQL Server failed

不羁的心 提交于 2020-01-04 06:55:11
问题 I'm using Visual Studio for Mac 2017 on macOS Sierra with Microsoft EntityframeworkCore and I'm trying to connect to a remote MS SQL Server. If I start the project in Visual Studio on my Windows machine, everything works fine. But the same project on my Mac tells me "A call to SSPI failed" when I try to get data from the SQL Server. I can connect to the SQL Server using the "Oracle SQL Developer" tool on my Mac. So the issue is somewhere in Visual Studio. The connection string: Server

How to make MSBuild correctly track files generated with an external tool across referenced projects?

a 夏天 提交于 2019-12-25 10:48:26
问题 I have MSBuild code that takes files with a particular Build Action ( CompileFoo in this example) and generates output files (with a different extension). This is the code I have so far: <Target Name="BuildFoo" BeforeTargets="Compile" Inputs="@(CompileFoo)" Outputs="@(CompileFoo -> '$(OutputPath)%(RelativeDir)%(Filename).bin' )" > <!-- makefoo doesn't know how to create directories: --> <MakeDir Directories="$(OutputPath)%(CompileFoo.RelativeDir)"/> <Exec Command="makefoo -o "$(OutputPath)%

How to make MSBuild correctly track files generated with an external tool across referenced projects?

佐手、 提交于 2019-12-25 10:48:06
问题 I have MSBuild code that takes files with a particular Build Action ( CompileFoo in this example) and generates output files (with a different extension). This is the code I have so far: <Target Name="BuildFoo" BeforeTargets="Compile" Inputs="@(CompileFoo)" Outputs="@(CompileFoo -> '$(OutputPath)%(RelativeDir)%(Filename).bin' )" > <!-- makefoo doesn't know how to create directories: --> <MakeDir Directories="$(OutputPath)%(CompileFoo.RelativeDir)"/> <Exec Command="makefoo -o "$(OutputPath)%