Skip to content

Commit

Permalink
Switch SDK used by controls project and move to nuget reference for W…
Browse files Browse the repository at this point in the history
…PFExtensions.
  • Loading branch information
KeRNeLith committed Mar 9, 2020
1 parent 4606d76 commit 4ccbf5f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 25 deletions.
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
version: '0.0.{build}'
image: Visual Studio 2017
image: Visual Studio 2019

# Setup environment
nuget:
Expand Down
27 changes: 3 additions & 24 deletions src/GraphShape.Controls/GraphShape.Controls.csproj
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<PropertyGroup>
<TargetFrameworks>net40</TargetFrameworks>
<!-- TODO Support net20;net30;net35;net45 netstandard old ; netstandard2.0-->
<UseWpf>true</UseWpf>

<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<!-- TODO <TreatWarningsAsErrors>true</TreatWarningsAsErrors> -->
Expand Down Expand Up @@ -73,31 +74,9 @@ Supported platforms:
<DefineConstants>$(DefineConstants);NET40;$(AdditionalConstants)</DefineConstants>
</PropertyGroup>

<ItemGroup>
<Compile Update="**\*.xaml.cs">
<DependentUpon>%(Filename)</DependentUpon>
<SubType>Code</SubType>
</Compile>

<Page Include="**\*.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
</ItemGroup>

<!-- Dependencies -->
<ItemGroup>
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />
<Reference Include="System.Xaml" />
<Reference Include="WindowsBase" />
</ItemGroup>

<ItemGroup>
<Reference Include="WPFExtensions, Version=1.0.3437.34043, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\Libraries\WPFExtensions.dll</HintPath>
</Reference>
<PackageReference Include="WPFExtensions" Version="1.0.0" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 4ccbf5f

Please sign in to comment.