Skip to content

Instantly share code, notes, and snippets.

View adalon's full-sized avatar

Adrian Alonso adalon

  • Microsoft
  • Buenos Aires, Argentina
View GitHub Profile
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace ConsoleApp1
{
@adalon
adalon / gist:df3e0039661dd573ae87
Created August 11, 2014 16:38
cwn-lane-error
=== 12:32:10 - Running C:\Program Files/Git/bin/git pull --quiet --all in c:/cygwin/tmp/source/monodroid ===
ssh: connect to host github.com port 22: Bad file number
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
error: Could not fetch origin
=== 12:33:28 - Running C:\Program Files/Git/bin/git clone --quiet --branch monodroid-4.16-series --reference c:/cygwin/tmp/source/monodroid [email protected]:xamarin/monodroid c:/tmp/workspace/2ea15a61/monodroid in c:/tmp/workspace/2ea15a61 ===
fatal: reference repository 'c:/cygwin/tmp/source/monodroid' is not a local repository.
=== INFO: clone --reference failed ===
+ WORKSPACE=c:/tmp/workspace/52a5de5b/XamarinVS
+ LOGNAME=msi-install-sdks.log
++ which msiexec.exe
+ MSIEXEC=/c/Windows/system32/msiexec.exe
+ cd c:/tmp/workspace/52a5de5b/XamarinVS
++ cygpath -aw c:/tmp/workspace/52a5de5b/XamarinVS/Setup/Xamarin.VisualStudio/bin/Release/Xamarin.VisualStudio_Setup.msi
+ MSIPATH='C:\tmp\workspace\52a5de5b\XamarinVS\Setup\Xamarin.VisualStudio\bin\Release\Xamarin.VisualStudio_Setup.msi'
+ /c/Windows/system32/msiexec.exe /i 'C:\tmp\workspace\52a5de5b\XamarinVS\Setup\Xamarin.VisualStudio\bin\Release\Xamarin.VisualStudio_Setup.msi' '/l*v' msi-install-sdks.log /quiet /passive ADDLOCAL=XamarinIOS_MonoTouchSDK,XamarinAndroid_MFASDK,XamarinIOS_BonjourResponder_Feature
@MonkeyWrench: AddFile: c:/tmp/workspace/52a5de5b/XamarinVS/msi-install-sdks.log
Attempting to activate products.
int AddNew()
{
IVsAddProjectItemDlg addItemDialog;
string strFilter = String.Empty;
string location = string.Empty;
int iDontShowAgain;
IVsProject3 project = this.parent.Project.ToDteProject().ToVsProject();
addItemDialog = this.Parent.Project.GetService<IVsAddProjectItemDlg>();
<?xml version="1.0" encoding="utf-8" ?>
<!--
Download to %userprofile%\Documents\Visual Studio [2010|2012|2013|vNext]\Code Snippets\Visual C#\My Code Snippets
Template for VS integration test methods
Press vstest[tab][tab] to get it.
-->
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
<CodeSnippet Format="1.0.0">
<Header>
<Title>VS Integration Test</Title>
<?xml version="1.0" encoding="utf-8" ?>
<!--
Download to %userprofile%\Documents\Visual Studio [2010|2012|2013|vNext]\Code Snippets\Visual C#\My Code Snippets
Template for xunit test methods
Press fact[tab][tab] to get it.
-->
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
<CodeSnippet Format="1.0.0">
<Header>