Skip to content

Commit

Permalink
Added Visual Studio Solution
Browse files Browse the repository at this point in the history
  • Loading branch information
informagico committed Apr 29, 2020
1 parent 884b694 commit 780b820
Show file tree
Hide file tree
Showing 12 changed files with 131 additions and 116 deletions.
25 changes: 25 additions & 0 deletions AvataaarsNetDemo.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.30011.22
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AvataaarsNetDemo", "AvataaarsNetDemo\AvataaarsNetDemo.csproj", "{08805666-325A-4D3E-B536-88DE0FA31EB3}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{08805666-325A-4D3E-B536-88DE0FA31EB3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{08805666-325A-4D3E-B536-88DE0FA31EB3}.Debug|Any CPU.Build.0 = Debug|Any CPU
{08805666-325A-4D3E-B536-88DE0FA31EB3}.Release|Any CPU.ActiveCfg = Release|Any CPU
{08805666-325A-4D3E-B536-88DE0FA31EB3}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {6A2B7A75-1E8D-4BBB-88D8-41E659FD0236}
EndGlobalSection
EndGlobal
18 changes: 1 addition & 17 deletions AvataaarsNetDemo/App.config
Original file line number Diff line number Diff line change
@@ -1,22 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
</startup>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="CommonServiceLocator" publicKeyToken="489b6accfaf20ef0" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-2.0.5.0" newVersion="2.0.5.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="SkiaSharp" publicKeyToken="0738eb9f132ed756" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-1.68.0.0" newVersion="1.68.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.6.0" newVersion="4.0.6.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>
26 changes: 13 additions & 13 deletions AvataaarsNetDemo/App.xaml
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
<Application
x:Class="AvataaarNetDemo.App"
<Application
x:Class="AvataaarsNetDemo.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:AvataaarNetDemo"
xmlns:local="clr-namespace:AvataaarsNetDemo"
StartupUri="MainWindow.xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
d1p1:Ignorable="d"
xmlns:d1p1="http://schemas.openxmlformats.org/markup-compatibility/2006">
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary
Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Light.xaml" />
Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Light.xaml" />
<ResourceDictionary
Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Defaults.xaml" />
Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Defaults.xaml" />
<ResourceDictionary
Source="pack://application:,,,/MaterialDesignColors;component/Themes/Recommended/Primary/MaterialDesignColor.Indigo.xaml" />
Source="pack://application:,,,/MaterialDesignColors;component/Themes/Recommended/Primary/MaterialDesignColor.Indigo.xaml" />
<ResourceDictionary
Source="pack://application:,,,/MaterialDesignColors;component/Themes/Recommended/Accent/MaterialDesignColor.Indigo.xaml" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Application.Resources>
Source="pack://application:,,,/MaterialDesignColors;component/Themes/Recommended/Accent/MaterialDesignColor.Indigo.xaml" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Application.Resources>
</Application>
2 changes: 1 addition & 1 deletion AvataaarsNetDemo/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using System.Threading.Tasks;
using System.Windows;

namespace AvataaarNetDemo
namespace AvataaarsNetDemo
{
/// <summary>
/// Interaction logic for App.xaml
Expand Down
15 changes: 3 additions & 12 deletions AvataaarsNetDemo/AvataaarsNetDemo.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{BC3281F9-4BDF-449C-A2A8-2CF8558E8331}</ProjectGuid>
<ProjectGuid>{08805666-325A-4D3E-B536-88DE0FA31EB3}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>AvataaarNetDemo</RootNamespace>
<AssemblyName>AvataaarNetDemo</AssemblyName>
<RootNamespace>AvataaarsNetDemo</RootNamespace>
<AssemblyName>AvataaarsNetDemo</AssemblyName>
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
Expand Down Expand Up @@ -37,9 +37,6 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="CommonServiceLocator, Version=2.0.5.0, Culture=neutral, PublicKeyToken=489b6accfaf20ef0, processorArchitecture=MSIL">
<HintPath>..\packages\CommonServiceLocator.2.0.5\lib\net47\CommonServiceLocator.dll</HintPath>
</Reference>
<Reference Include="MaterialDesignColors, Version=1.2.3.1244, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\MaterialDesignColors.1.2.3\lib\net45\MaterialDesignColors.dll</HintPath>
</Reference>
Expand Down Expand Up @@ -110,12 +107,6 @@
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\AvataaarsNet\AvataaarsNet.csproj">
<Project>{233fc18b-d7ab-4602-9d15-d0272f18fb11}</Project>
<Name>AvataaarsNet</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="..\packages\MaterialDesignThemes.3.1.0\build\MaterialDesignThemes.targets" Condition="Exists('..\packages\MaterialDesignThemes.3.1.0\build\MaterialDesignThemes.targets')" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
Expand Down
4 changes: 2 additions & 2 deletions AvataaarsNetDemo/MainWindow.xaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<Window
x:Name="MyWindow"
x:Class="AvataaarNetDemo.MainWindow"
x:Class="AvataaarsNetDemo.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:AvataaarNetDemo"
xmlns:local="clr-namespace:AvataaarsNetDemo"
xmlns:avataaarsnet="clr-namespace:AvataaarsNet;assembly=AvataaarsNet"
mc:Ignorable="d"
Title="MainWindow"
Expand Down
2 changes: 1 addition & 1 deletion AvataaarsNetDemo/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using AvataaarsNet.Models;
using Newtonsoft.Json;

namespace AvataaarNetDemo
namespace AvataaarsNetDemo
{
/// <summary>
/// Interaction logic for MainWindow.xaml
Expand Down
4 changes: 2 additions & 2 deletions AvataaarsNetDemo/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("AvataaarNetDemo")]
[assembly: AssemblyTitle("AvataaarsNetDemo")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("AvataaarNetDemo")]
[assembly: AssemblyProduct("AvataaarsNetDemo")]
[assembly: AssemblyCopyright("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
Expand Down
112 changes: 60 additions & 52 deletions AvataaarsNetDemo/Properties/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

34 changes: 19 additions & 15 deletions AvataaarsNetDemo/Properties/Settings.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion AvataaarsNetDemo/packages.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="CommonServiceLocator" version="2.0.5" targetFramework="net472" />
<package id="MaterialDesignColors" version="1.2.3" targetFramework="net472" />
<package id="MaterialDesignThemes" version="3.1.0" targetFramework="net472" />
<package id="Newtonsoft.Json" version="12.0.3" targetFramework="net472" />
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@ In any case you can also compile the .dll file from the linked repository (adjus
## Note

In this demo I use [MaterialDesignInXAML](https://github.com/MaterialDesignInXAML) for a better UI

## Warning

Sometimes https://avataaars.io is not properly working or it may crash, be patience while I figure out a solution for that

0 comments on commit 780b820

Please sign in to comment.