-
-
Notifications
You must be signed in to change notification settings - Fork 822
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace Xamarin Apps with .NET Versions (#1773)
- Loading branch information
1 parent
f60d862
commit 41c7c43
Showing
64 changed files
with
350 additions
and
466 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,3 +15,4 @@ bin | |
*.tree | ||
*.zip | ||
.idea | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,22 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio Version 16 | ||
VisualStudioVersion = 16.0.29926.136 | ||
# Visual Studio Version 17 | ||
VisualStudioVersion = 17.0.31903.59 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ImapClientDemo.Android", "ImapClientDemo.Android\ImapClientDemo.Android.csproj", "{E24B6562-C9B2-4190-A43C-116FA52AACE5}" | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ImapClientDemo.Android", "ImapClientDemo.Android\ImapClientDemo.Android.csproj", "{9E3D80A0-B988-4BA8-9327-3CD7BE5852DF}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{E24B6562-C9B2-4190-A43C-116FA52AACE5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{E24B6562-C9B2-4190-A43C-116FA52AACE5}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{E24B6562-C9B2-4190-A43C-116FA52AACE5}.Debug|Any CPU.Deploy.0 = Debug|Any CPU | ||
{E24B6562-C9B2-4190-A43C-116FA52AACE5}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{E24B6562-C9B2-4190-A43C-116FA52AACE5}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ExtensibilityGlobals) = postSolution | ||
SolutionGuid = {AD43C050-ACBB-4A31-A155-C71AFC1D5AE2} | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{9E3D80A0-B988-4BA8-9327-3CD7BE5852DF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{9E3D80A0-B988-4BA8-9327-3CD7BE5852DF}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{9E3D80A0-B988-4BA8-9327-3CD7BE5852DF}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{9E3D80A0-B988-4BA8-9327-3CD7BE5852DF}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
EndGlobal |
6 changes: 6 additions & 0 deletions
6
samples/ImapClientDemo.Android/ImapClientDemo.Android/AndroidManifest.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<application android:allowBackup="true" android:icon="@mipmap/appicon" android:label="@string/app_name" android:roundIcon="@mipmap/appicon_round" android:supportsRtl="true"> | ||
</application> | ||
<uses-permission android:name="android.permission.INTERNET" /> | ||
</manifest> |
19 changes: 0 additions & 19 deletions
19
samples/ImapClientDemo.Android/ImapClientDemo.Android/Assets/AboutAssets.txt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
98 changes: 14 additions & 84 deletions
98
samples/ImapClientDemo.Android/ImapClientDemo.Android/ImapClientDemo.Android.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,85 +1,15 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
<ProjectTypeGuids>{EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> | ||
<ProjectGuid>{E24B6562-C9B2-4190-A43C-116FA52AACE5}</ProjectGuid> | ||
<OutputType>Library</OutputType> | ||
<RootNamespace>ImapClientDemo</RootNamespace> | ||
<MonoAndroidAssetsPrefix>Assets</MonoAndroidAssetsPrefix> | ||
<MonoAndroidResourcePrefix>Resources</MonoAndroidResourcePrefix> | ||
<AndroidResgenClass>Resource</AndroidResgenClass> | ||
<AndroidResgenFile>Resources\Resource.designer.cs</AndroidResgenFile> | ||
<AndroidApplication>True</AndroidApplication> | ||
<AssemblyName>ImapClientDemo.Android</AssemblyName> | ||
<AndroidManifest>Properties\AndroidManifest.xml</AndroidManifest> | ||
<TargetFrameworkVersion>v12.1</TargetFrameworkVersion> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
<DebugType>portable</DebugType> | ||
<Optimize>false</Optimize> | ||
<OutputPath>bin\Debug</OutputPath> | ||
<DefineConstants>DEBUG;</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
<AndroidLinkMode>None</AndroidLinkMode> | ||
<ConsolePause>false</ConsolePause> | ||
<EmbedAssembliesIntoApk>False</EmbedAssembliesIntoApk> | ||
<DebugSymbols>true</DebugSymbols> | ||
<AndroidSupportedAbis>armeabi-v7a;x86;x86_64</AndroidSupportedAbis> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
<DebugType>portable</DebugType> | ||
<Optimize>true</Optimize> | ||
<OutputPath>bin\Release</OutputPath> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
<AndroidUseSharedRuntime>false</AndroidUseSharedRuntime> | ||
<ConsolePause>false</ConsolePause> | ||
<AndroidSupportedAbis>armeabi-v7a;x86;x86_64</AndroidSupportedAbis> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Reference Include="System" /> | ||
<Reference Include="System.Net.Http" /> | ||
<Reference Include="System.Xml" /> | ||
<Reference Include="System.Core" /> | ||
<Reference Include="Mono.Android" /> | ||
<Reference Include="System.Data" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<PackageReference Include="MailKit" Version="4.7.1.1" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Include="MainActivity.cs" /> | ||
<Compile Include="Resources\Resource.designer.cs" /> | ||
<Compile Include="Properties\AssemblyInfo.cs" /> | ||
<Compile Include="LoginActivity.cs" /> | ||
<Compile Include="Mail.cs" /> | ||
<Compile Include="FoldersActivity.cs" /> | ||
<Compile Include="MessageListActivity.cs" /> | ||
<Compile Include="MessageViewActivity.cs" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<None Include="app.config" /> | ||
<None Include="Resources\AboutResources.txt" /> | ||
<None Include="Assets\AboutAssets.txt" /> | ||
<None Include="Properties\AndroidManifest.xml" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<AndroidResource Include="Resources\layout\Main.axml" /> | ||
<AndroidResource Include="Resources\values\Strings.xml" /> | ||
<AndroidResource Include="Resources\drawable-hdpi\Icon.png" /> | ||
<AndroidResource Include="Resources\drawable-mdpi\Icon.png" /> | ||
<AndroidResource Include="Resources\drawable-xhdpi\Icon.png" /> | ||
<AndroidResource Include="Resources\drawable-xxhdpi\Icon.png" /> | ||
<AndroidResource Include="Resources\drawable-xxxhdpi\Icon.png" /> | ||
<AndroidResource Include="Resources\layout\FoldersLayout.axml" /> | ||
<AndroidResource Include="Resources\layout\LoginLayout.axml" /> | ||
<AndroidResource Include="Resources\layout\MessagesLayout.axml" /> | ||
<AndroidResource Include="Resources\layout\ViewMessageLayout.axml" /> | ||
<AndroidResource Include="Resources\layout\MessageListItemLayout.axml" /> | ||
<AndroidResource Include="Resources\values\themes.xml" /> | ||
</ItemGroup> | ||
<Import Project="$(MSBuildExtensionsPath)\Novell\Novell.MonoDroid.CSharp.targets" /> | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<TargetFramework>net8.0-android</TargetFramework> | ||
<SupportedOSPlatformVersion>21</SupportedOSPlatformVersion> | ||
<OutputType>Exe</OutputType> | ||
<Nullable>enable</Nullable> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<ApplicationId>com.companyname.ImapClientDemo.Android</ApplicationId> | ||
<ApplicationVersion>1</ApplicationVersion> | ||
<ApplicationDisplayVersion>1.0</ApplicationDisplayVersion> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<PackageReference Include="MailKit" Version="4.7.1.1"/> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 0 additions & 5 deletions
5
samples/ImapClientDemo.Android/ImapClientDemo.Android/Properties/AndroidManifest.xml
This file was deleted.
Oops, something went wrong.
28 changes: 0 additions & 28 deletions
28
samples/ImapClientDemo.Android/ImapClientDemo.Android/Properties/AssemblyInfo.cs
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-2.15 KB
.../ImapClientDemo.Android/ImapClientDemo.Android/Resources/drawable-hdpi/Icon.png
Binary file not shown.
Binary file removed
BIN
-1.38 KB
.../ImapClientDemo.Android/ImapClientDemo.Android/Resources/drawable-mdpi/Icon.png
Binary file not shown.
Binary file removed
BIN
-3.16 KB
...ImapClientDemo.Android/ImapClientDemo.Android/Resources/drawable-xhdpi/Icon.png
Binary file not shown.
Binary file removed
BIN
-5.29 KB
...mapClientDemo.Android/ImapClientDemo.Android/Resources/drawable-xxhdpi/Icon.png
Binary file not shown.
Binary file removed
BIN
-7.64 KB
...apClientDemo.Android/ImapClientDemo.Android/Resources/drawable-xxxhdpi/Icon.png
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions
4
...les/ImapClientDemo.Android/ImapClientDemo.Android/Resources/mipmap-anydpi-v26/appicon.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<background android:drawable="@mipmap/appicon_background" /> | ||
<foreground android:drawable="@mipmap/appicon_foreground" /> | ||
</adaptive-icon> |
4 changes: 4 additions & 0 deletions
4
...apClientDemo.Android/ImapClientDemo.Android/Resources/mipmap-anydpi-v26/appicon_round.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<background android:drawable="@mipmap/appicon_background" /> | ||
<foreground android:drawable="@mipmap/appicon_foreground" /> | ||
</adaptive-icon> |
Binary file added
BIN
+2.13 KB
...ImapClientDemo.Android/ImapClientDemo.Android/Resources/mipmap-hdpi/appicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+97 Bytes
...emo.Android/ImapClientDemo.Android/Resources/mipmap-hdpi/appicon_background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.25 KB
...emo.Android/ImapClientDemo.Android/Resources/mipmap-hdpi/appicon_foreground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.49 KB
...ImapClientDemo.Android/ImapClientDemo.Android/Resources/mipmap-mdpi/appicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+92 Bytes
...emo.Android/ImapClientDemo.Android/Resources/mipmap-mdpi/appicon_background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.24 KB
...emo.Android/ImapClientDemo.Android/Resources/mipmap-mdpi/appicon_foreground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+3.03 KB
...mapClientDemo.Android/ImapClientDemo.Android/Resources/mipmap-xhdpi/appicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+100 Bytes
...mo.Android/ImapClientDemo.Android/Resources/mipmap-xhdpi/appicon_background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.76 KB
...mo.Android/ImapClientDemo.Android/Resources/mipmap-xhdpi/appicon_foreground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+4.56 KB
...apClientDemo.Android/ImapClientDemo.Android/Resources/mipmap-xxhdpi/appicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+108 Bytes
...o.Android/ImapClientDemo.Android/Resources/mipmap-xxhdpi/appicon_background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.88 KB
...o.Android/ImapClientDemo.Android/Resources/mipmap-xxhdpi/appicon_foreground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+6.67 KB
...pClientDemo.Android/ImapClientDemo.Android/Resources/mipmap-xxxhdpi/appicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+117 Bytes
....Android/ImapClientDemo.Android/Resources/mipmap-xxxhdpi/appicon_background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.74 KB
....Android/ImapClientDemo.Android/Resources/mipmap-xxxhdpi/appicon_foreground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 0 additions & 6 deletions
6
samples/ImapClientDemo.Android/ImapClientDemo.Android/app.config
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,22 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio Version 16 | ||
VisualStudioVersion = 16.0.29926.136 | ||
# Visual Studio Version 17 | ||
VisualStudioVersion = 17.0.31903.59 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ImapClientDemo.iOS", "ImapClientDemo.iOS\ImapClientDemo.iOS.csproj", "{8C3CBC94-4386-4B01-A626-2014CFB8FFB8}" | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ImapClientDemo.iOS", "ImapClientDemo.iOS\ImapClientDemo.iOS.csproj", "{764BD6BF-F53D-43E6-9D25-AD0B506BAFC7}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|iPhone = Debug|iPhone | ||
Debug|iPhoneSimulator = Debug|iPhoneSimulator | ||
Release|iPhone = Release|iPhone | ||
Release|iPhoneSimulator = Release|iPhoneSimulator | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{8C3CBC94-4386-4B01-A626-2014CFB8FFB8}.Debug|iPhone.ActiveCfg = Debug|iPhone | ||
{8C3CBC94-4386-4B01-A626-2014CFB8FFB8}.Debug|iPhone.Build.0 = Debug|iPhone | ||
{8C3CBC94-4386-4B01-A626-2014CFB8FFB8}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator | ||
{8C3CBC94-4386-4B01-A626-2014CFB8FFB8}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator | ||
{8C3CBC94-4386-4B01-A626-2014CFB8FFB8}.Release|iPhone.ActiveCfg = Release|iPhone | ||
{8C3CBC94-4386-4B01-A626-2014CFB8FFB8}.Release|iPhone.Build.0 = Release|iPhone | ||
{8C3CBC94-4386-4B01-A626-2014CFB8FFB8}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator | ||
{8C3CBC94-4386-4B01-A626-2014CFB8FFB8}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ExtensibilityGlobals) = postSolution | ||
SolutionGuid = {74F4CE45-3292-4B06-817F-9DEC2ADDE4E2} | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{764BD6BF-F53D-43E6-9D25-AD0B506BAFC7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{764BD6BF-F53D-43E6-9D25-AD0B506BAFC7}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{764BD6BF-F53D-43E6-9D25-AD0B506BAFC7}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{764BD6BF-F53D-43E6-9D25-AD0B506BAFC7}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
EndGlobal |
Oops, something went wrong.