Skip to content

Instantly share code, notes, and snippets.

@lhecker
Created August 3, 2019 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lhecker/320662cb3fda70af1ca58eabf9f2579a to your computer and use it in GitHub Desktop.
Save lhecker/320662cb3fda70af1ca58eabf9f2579a to your computer and use it in GitHub Desktop.
diff --git a/src/cascadia/TerminalApp/App.cpp b/src/cascadia/TerminalApp/App.cpp
index aa42e85..603fca8 100644
--- a/src/cascadia/TerminalApp/App.cpp
+++ b/src/cascadia/TerminalApp/App.cpp
@@ -1468,7 +1468,7 @@ namespace winrt::TerminalApp::implementation
{
connectionType = profile->GetConnectionType();
}
-#ifndef _M_ARM64
+#if 0
if (connectionType == AzureConnectionType)
{
connection = TerminalConnection::AzureConnection(settings.InitialRows(), settings.InitialCols());
diff --git a/src/cascadia/TerminalApp/CascadiaSettings.cpp b/src/cascadia/TerminalApp/CascadiaSettings.cpp
index 5224ad6..9f7fcc4 100644
--- a/src/cascadia/TerminalApp/CascadiaSettings.cpp
+++ b/src/cascadia/TerminalApp/CascadiaSettings.cpp
@@ -241,7 +241,7 @@ void CascadiaSettings::_CreateDefaultProfiles()
// The Azure connection has a boost dependency, and boost does not support ARM64
// so we don't create a default profile for the Azure cloud shell if we're in ARM64
-#ifndef _M_ARM64
+#if 0
auto azureCloudShellProfile{ _CreateDefaultProfile(L"Azure Cloud Shell") };
azureCloudShellProfile.SetCommandline(L"Azure");
azureCloudShellProfile.SetStartingDirectory(DEFAULT_STARTING_DIRECTORY);
@@ -274,7 +274,7 @@ void CascadiaSettings::_CreateDefaultProfiles()
_profiles.emplace_back(powershellProfile);
_profiles.emplace_back(cmdProfile);
-#ifndef _M_ARM64
+#if 0
_profiles.emplace_back(azureCloudShellProfile);
#endif
try
diff --git a/src/cascadia/TerminalConnection/TerminalConnection.vcxproj b/src/cascadia/TerminalConnection/TerminalConnection.vcxproj
index 35c75d5..4592056 100644
--- a/src/cascadia/TerminalConnection/TerminalConnection.vcxproj
+++ b/src/cascadia/TerminalConnection/TerminalConnection.vcxproj
@@ -22,9 +22,6 @@
<VcpkgTriplet Condition="'$(VcpkgTriplet)' == ''">arm64-windows</VcpkgTriplet>
</PropertyGroup>
<ItemGroup>
- <ClInclude Include="AzureClientID.h" Condition="'$(Platform)'!='ARM64'" />
- <ClInclude Include="AzureConnection.h" Condition="'$(Platform)'!='ARM64'" />
- <ClInclude Include="AzureConnectionStrings.h" Condition="'$(Platform)'!='ARM64'" />
<ClInclude Include="pch.h" />
<ClInclude Include="ConhostConnection.h">
<DependentUpon>ConhostConnection.idl</DependentUpon>
@@ -34,7 +31,6 @@
</ClInclude>
</ItemGroup>
<ItemGroup>
- <ClCompile Include="AzureConnection.cpp" Condition="'$(Platform)'!='ARM64'" />
<ClCompile Include="pch.cpp">
<PrecompiledHeader>Create</PrecompiledHeader>
</ClCompile>
@@ -50,7 +46,6 @@
<Midl Include="ITerminalConnection.idl" />
<Midl Include="ConhostConnection.idl" />
<Midl Include="EchoConnection.idl" />
- <Midl Include="AzureConnection.idl" Condition="'$(Platform)'!='ARM64'" />
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment