Skip to content
This repository was archived by the owner on Apr 29, 2024. It is now read-only.

Commit beb89b8

Browse files
authored
Remove unnecessary packages.config files (#654)
The `packages.config` files included in the `FormsGallery.iOS`, `ShapesDemos.Android`, and `Xaminals.iOS` projects were unused and have been removed. TodoWCF had a combination of `<PackageReference/>` elements and a `packages.config` file which has now been removed to simplify the project.
1 parent bc59290 commit beb89b8

File tree

7 files changed

+3
-78
lines changed

7 files changed

+3
-78
lines changed

FormsGallery/FormsGallery/FormsGallery.iOS/packages.config

Lines changed: 0 additions & 5 deletions
This file was deleted.

UserInterface/ShapesDemos/ShapesDemos.Android/ShapesDemos.Android.csproj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3-
<Import Project="..\packages\Xamarin.Forms.4.8.0.1269\build\Xamarin.Forms.props" Condition="Exists('..\packages\Xamarin.Forms.4.8.0.1269\build\Xamarin.Forms.props')" />
4-
<Import Project="..\packages\Xamarin.Forms.4.7.0.3125\build\Xamarin.Forms.props" Condition="Exists('..\packages\Xamarin.Forms.4.7.0.3125\build\Xamarin.Forms.props')" />
53
<PropertyGroup>
64
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
75
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>

UserInterface/ShapesDemos/ShapesDemos.Android/packages.config

Lines changed: 0 additions & 41 deletions
This file was deleted.

UserInterface/Xaminals/Xaminals.iOS/Xaminals.iOS.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@
9595
<None Include="Entitlements.plist" />
9696
<None Include="Info.plist" />
9797
<Compile Include="Properties\AssemblyInfo.cs" />
98-
<None Include="packages.config" />
9998
</ItemGroup>
10099
<ItemGroup>
101100
<InterfaceDefinition Include="Resources\LaunchScreen.storyboard" />

UserInterface/Xaminals/Xaminals.iOS/packages.config

Lines changed: 0 additions & 4 deletions
This file was deleted.

WebServices/TodoWCF/TodoWCF/TodoWCF.csproj

Lines changed: 3 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3-
<Import Project="..\packages\Xamarin.Forms.4.8.0.1269\build\Xamarin.Forms.props" Condition="Exists('..\packages\Xamarin.Forms.4.8.0.1269\build\Xamarin.Forms.props')" />
43
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
54
<PropertyGroup>
65
<MinimumVisualStudioVersion>10.0</MinimumVisualStudioVersion>
@@ -35,6 +34,9 @@
3534
<ErrorReport>prompt</ErrorReport>
3635
<WarningLevel>4</WarningLevel>
3736
</PropertyGroup>
37+
<ItemGroup>
38+
<PackageReference Include="Xamarin.Forms" Version="4.8.0.1269" />
39+
</ItemGroup>
3840
<ItemGroup>
3941
<!-- A reference to the entire .NET Framework is automatically included -->
4042
<EmbeddedResource Include="Views\TodoItemPage.xaml">
@@ -83,7 +85,6 @@
8385
<None Include="Connected Services\TodoWCFService\TodoWCF.TodoWCFService.TodoItem.datasource">
8486
<DependentUpon>Reference.svcmap</DependentUpon>
8587
</None>
86-
<None Include="packages.config" />
8788
<None Include="Properties\ServiceReferences.Designer.ClientConfig" />
8889
</ItemGroup>
8990
<ItemGroup>
@@ -104,24 +105,5 @@
104105
<LastGenOutput>Reference.cs</LastGenOutput>
105106
</None>
106107
</ItemGroup>
107-
<ItemGroup>
108-
<Reference Include="Xamarin.Forms.Core, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
109-
<HintPath>..\packages\Xamarin.Forms.4.8.0.1269\lib\netstandard1.0\Xamarin.Forms.Core.dll</HintPath>
110-
</Reference>
111-
<Reference Include="Xamarin.Forms.Platform, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
112-
<HintPath>..\packages\Xamarin.Forms.4.8.0.1269\lib\netstandard1.0\Xamarin.Forms.Platform.dll</HintPath>
113-
</Reference>
114-
<Reference Include="Xamarin.Forms.Xaml, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
115-
<HintPath>..\packages\Xamarin.Forms.4.8.0.1269\lib\netstandard1.0\Xamarin.Forms.Xaml.dll</HintPath>
116-
</Reference>
117-
</ItemGroup>
118108
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets" />
119-
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
120-
<PropertyGroup>
121-
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
122-
</PropertyGroup>
123-
<Error Condition="!Exists('..\packages\Xamarin.Forms.4.8.0.1269\build\Xamarin.Forms.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Xamarin.Forms.4.8.0.1269\build\Xamarin.Forms.props'))" />
124-
<Error Condition="!Exists('..\packages\Xamarin.Forms.4.8.0.1269\build\Xamarin.Forms.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Xamarin.Forms.4.8.0.1269\build\Xamarin.Forms.targets'))" />
125-
</Target>
126-
<Import Project="..\packages\Xamarin.Forms.4.8.0.1269\build\Xamarin.Forms.targets" Condition="Exists('..\packages\Xamarin.Forms.4.8.0.1269\build\Xamarin.Forms.targets')" />
127109
</Project>

WebServices/TodoWCF/TodoWCF/packages.config

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)