Skip to content

Commit 6a257f1

Browse files
committed
Switch to packages.config
1 parent 711a24c commit 6a257f1

4 files changed

Lines changed: 15 additions & 231 deletions

File tree

Lines changed: 6 additions & 91 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3-
<Import Project="..\packages\LibGit2Sharp.0.21.0.176\build\net40\LibGit2Sharp.props" Condition="Exists('..\packages\LibGit2Sharp.0.21.0.176\build\net40\LibGit2Sharp.props')" />
43
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
54
<PropertyGroup>
65
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
@@ -12,8 +11,6 @@
1211
<AssemblyName>StyleCop.Analyzers.Status.Generator</AssemblyName>
1312
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
1413
<FileAlignment>512</FileAlignment>
15-
<NuGetPackageImportStamp>
16-
</NuGetPackageImportStamp>
1714
<TargetFrameworkProfile />
1815
</PropertyGroup>
1916
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
@@ -38,71 +35,14 @@
3835
<WarningLevel>4</WarningLevel>
3936
</PropertyGroup>
4037
<ItemGroup>
41-
<Reference Include="LibGit2Sharp, Version=0.21.0.176, Culture=neutral, processorArchitecture=MSIL">
42-
<HintPath>..\packages\LibGit2Sharp.0.21.0.176\lib\net40\LibGit2Sharp.dll</HintPath>
43-
<Private>True</Private>
44-
</Reference>
45-
<Reference Include="Microsoft.CodeAnalysis, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
46-
<HintPath>..\packages\Microsoft.CodeAnalysis.Common.1.0.0\lib\net45\Microsoft.CodeAnalysis.dll</HintPath>
47-
<Private>True</Private>
48-
</Reference>
49-
<Reference Include="Microsoft.CodeAnalysis.CSharp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
50-
<HintPath>..\packages\Microsoft.CodeAnalysis.CSharp.1.0.0\lib\net45\Microsoft.CodeAnalysis.CSharp.dll</HintPath>
51-
<Private>True</Private>
52-
</Reference>
53-
<Reference Include="Microsoft.CodeAnalysis.CSharp.Workspaces, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
54-
<HintPath>..\packages\Microsoft.CodeAnalysis.CSharp.Workspaces.1.0.0\lib\net45\Microsoft.CodeAnalysis.CSharp.Workspaces.dll</HintPath>
55-
<Private>True</Private>
56-
</Reference>
57-
<Reference Include="Microsoft.CodeAnalysis.Workspaces, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
58-
<HintPath>..\packages\Microsoft.CodeAnalysis.Workspaces.Common.1.0.0\lib\net45\Microsoft.CodeAnalysis.Workspaces.dll</HintPath>
59-
<Private>True</Private>
60-
</Reference>
61-
<Reference Include="Microsoft.CodeAnalysis.Workspaces.Desktop, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
62-
<HintPath>..\packages\Microsoft.CodeAnalysis.Workspaces.Common.1.0.0\lib\net45\Microsoft.CodeAnalysis.Workspaces.Desktop.dll</HintPath>
63-
<Private>True</Private>
64-
</Reference>
65-
<Reference Include="Newtonsoft.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
66-
<HintPath>..\packages\Newtonsoft.Json.7.0.1-beta3\lib\net45\Newtonsoft.Json.dll</HintPath>
67-
<Private>True</Private>
68-
</Reference>
6938
<Reference Include="System" />
70-
<Reference Include="System.Collections.Immutable, Version=1.1.36.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
71-
<HintPath>..\packages\System.Collections.Immutable.1.1.36\lib\portable-net45+win8+wp8+wpa81\System.Collections.Immutable.dll</HintPath>
72-
<Private>True</Private>
73-
</Reference>
74-
<Reference Include="System.Composition.AttributedModel, Version=1.0.27.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
75-
<HintPath>..\packages\Microsoft.Composition.1.0.27\lib\portable-net45+win8+wp8+wpa81\System.Composition.AttributedModel.dll</HintPath>
76-
<Private>True</Private>
77-
</Reference>
78-
<Reference Include="System.Composition.Convention, Version=1.0.27.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
79-
<HintPath>..\packages\Microsoft.Composition.1.0.27\lib\portable-net45+win8+wp8+wpa81\System.Composition.Convention.dll</HintPath>
80-
<Private>True</Private>
81-
</Reference>
82-
<Reference Include="System.Composition.Hosting, Version=1.0.27.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
83-
<HintPath>..\packages\Microsoft.Composition.1.0.27\lib\portable-net45+win8+wp8+wpa81\System.Composition.Hosting.dll</HintPath>
84-
<Private>True</Private>
85-
</Reference>
86-
<Reference Include="System.Composition.Runtime, Version=1.0.27.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
87-
<HintPath>..\packages\Microsoft.Composition.1.0.27\lib\portable-net45+win8+wp8+wpa81\System.Composition.Runtime.dll</HintPath>
88-
<Private>True</Private>
89-
</Reference>
90-
<Reference Include="System.Composition.TypedParts, Version=1.0.27.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
91-
<HintPath>..\packages\Microsoft.Composition.1.0.27\lib\portable-net45+win8+wp8+wpa81\System.Composition.TypedParts.dll</HintPath>
92-
<Private>True</Private>
93-
</Reference>
94-
<Reference Include="System.Core" />
95-
<Reference Include="System.Reflection.Metadata, Version=1.0.21.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
96-
<HintPath>..\packages\System.Reflection.Metadata.1.0.21\lib\portable-net45+win8\System.Reflection.Metadata.dll</HintPath>
97-
<Private>True</Private>
98-
</Reference>
9939
<Reference Include="System.Windows.Forms" />
100-
<Reference Include="System.Xml.Linq" />
101-
<Reference Include="System.Data.DataSetExtensions" />
102-
<Reference Include="Microsoft.CSharp" />
103-
<Reference Include="System.Data" />
104-
<Reference Include="System.Net.Http" />
105-
<Reference Include="System.Xml" />
40+
</ItemGroup>
41+
<ItemGroup>
42+
<PackageReference Include="LibGit2Sharp" Version="0.21.0.176" />
43+
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="1.0.0" />
44+
<PackageReference Include="Newtonsoft.Json" Version="7.0.1-beta3" />
45+
<PackageReference Include="StyleCop.Analyzers" Version="1.0.0-beta015" PrivateAssets="all" />
10646
</ItemGroup>
10747
<ItemGroup>
10848
<Compile Include="CodeFixStatus.cs" />
@@ -115,33 +55,8 @@
11555
</ItemGroup>
11656
<ItemGroup>
11757
<None Include="App.config" />
118-
<None Include="packages.config">
119-
<SubType>Designer</SubType>
120-
</None>
12158
<None Include="Rules.ruleset" />
12259
<None Include="..\stylecop.json" />
12360
</ItemGroup>
124-
<ItemGroup>
125-
<Analyzer Include="..\packages\Microsoft.CodeAnalysis.Analyzers.1.0.0\analyzers\dotnet\cs\Microsoft.CodeAnalysis.Analyzers.dll" />
126-
<Analyzer Include="..\packages\Microsoft.CodeAnalysis.Analyzers.1.0.0\analyzers\dotnet\cs\Microsoft.CodeAnalysis.CSharp.Analyzers.dll" />
127-
<Analyzer Include="..\packages\StyleCop.Analyzers.1.0.0-beta015\analyzers\dotnet\cs\Newtonsoft.Json.dll" />
128-
<Analyzer Include="..\packages\StyleCop.Analyzers.1.0.0-beta015\analyzers\dotnet\cs\StyleCop.Analyzers.CodeFixes.dll" />
129-
<Analyzer Include="..\packages\StyleCop.Analyzers.1.0.0-beta015\analyzers\dotnet\cs\StyleCop.Analyzers.dll" />
130-
</ItemGroup>
13161
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
132-
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
133-
<PropertyGroup>
134-
<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>
135-
</PropertyGroup>
136-
<Error Condition="!Exists('..\packages\LibGit2Sharp.0.21.0.176\build\net40\LibGit2Sharp.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\LibGit2Sharp.0.21.0.176\build\net40\LibGit2Sharp.props'))" />
137-
<Error Condition="!Exists('..\packages\StyleCop.Analyzers.1.0.0-beta015\build\StyleCop.Analyzers.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\StyleCop.Analyzers.1.0.0-beta015\build\StyleCop.Analyzers.targets'))" />
138-
</Target>
139-
<Import Project="..\packages\StyleCop.Analyzers.1.0.0-beta015\build\StyleCop.Analyzers.targets" Condition="Exists('..\packages\StyleCop.Analyzers.1.0.0-beta015\build\StyleCop.Analyzers.targets')" />
140-
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
141-
Other similar extension points exist, see Microsoft.Common.targets.
142-
<Target Name="BeforeBuild">
143-
</Target>
144-
<Target Name="AfterBuild">
145-
</Target>
146-
-->
14762
</Project>

StyleCop.Analyzers.Status.Generator/packages.config

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

StyleCop.Analyzers.Status.Web/StyleCop.Analyzers.Status.Web.csproj

Lines changed: 9 additions & 105 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3-
<Import Project="..\packages\LibGit2Sharp.0.21.0.176\build\net40\LibGit2Sharp.props" Condition="Exists('..\packages\LibGit2Sharp.0.21.0.176\build\net40\LibGit2Sharp.props')" />
43
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
54
<PropertyGroup>
65
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
@@ -22,8 +21,6 @@
2221
<IISExpressWindowsAuthentication />
2322
<IISExpressUseClassicPipelineMode />
2423
<UseGlobalApplicationHostFile />
25-
<NuGetPackageImportStamp>
26-
</NuGetPackageImportStamp>
2724
<TargetFrameworkProfile />
2825
</PropertyGroup>
2926
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
@@ -45,86 +42,19 @@
4542
<WarningLevel>4</WarningLevel>
4643
</PropertyGroup>
4744
<ItemGroup>
48-
<Reference Include="Antlr3.Runtime, Version=3.4.1.9004, Culture=neutral, PublicKeyToken=eb42632606e9261f, processorArchitecture=MSIL">
49-
<HintPath>..\packages\Antlr.3.4.1.9004\lib\Antlr3.Runtime.dll</HintPath>
50-
<Private>True</Private>
51-
</Reference>
52-
<Reference Include="LibGit2Sharp, Version=0.21.0.176, Culture=neutral, processorArchitecture=MSIL">
53-
<HintPath>..\packages\LibGit2Sharp.0.21.0.176\lib\net40\LibGit2Sharp.dll</HintPath>
54-
<Private>True</Private>
55-
</Reference>
56-
<Reference Include="Microsoft.CSharp" />
57-
<Reference Include="Newtonsoft.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
58-
<HintPath>..\packages\Newtonsoft.Json.7.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
59-
<Private>True</Private>
60-
</Reference>
6145
<Reference Include="System" />
62-
<Reference Include="System.Data" />
63-
<Reference Include="System.Data.DataSetExtensions" />
64-
<Reference Include="System.Drawing" />
65-
<Reference Include="System.Web.DynamicData" />
66-
<Reference Include="System.Web.Entity" />
67-
<Reference Include="System.Web.ApplicationServices" />
68-
<Reference Include="System.ComponentModel.DataAnnotations" />
69-
<Reference Include="System.Web.Extensions" />
70-
<Reference Include="System.Web.Helpers, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
71-
<HintPath>..\packages\Microsoft.AspNet.WebPages.3.2.3\lib\net45\System.Web.Helpers.dll</HintPath>
72-
<Private>True</Private>
73-
</Reference>
74-
<Reference Include="System.Web.Mvc, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
75-
<HintPath>..\packages\Microsoft.AspNet.Mvc.5.2.3\lib\net45\System.Web.Mvc.dll</HintPath>
76-
<Private>True</Private>
77-
</Reference>
78-
<Reference Include="System.Web.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
79-
<HintPath>..\packages\Microsoft.AspNet.Razor.3.2.3\lib\net45\System.Web.Razor.dll</HintPath>
80-
<Private>True</Private>
81-
</Reference>
82-
<Reference Include="System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
83-
<HintPath>..\packages\Microsoft.AspNet.WebPages.3.2.3\lib\net45\System.Web.WebPages.dll</HintPath>
84-
<Private>True</Private>
85-
</Reference>
86-
<Reference Include="System.Web.WebPages.Deployment, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
87-
<HintPath>..\packages\Microsoft.AspNet.WebPages.3.2.3\lib\net45\System.Web.WebPages.Deployment.dll</HintPath>
88-
<Private>True</Private>
89-
</Reference>
90-
<Reference Include="System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
91-
<HintPath>..\packages\Microsoft.AspNet.WebPages.3.2.3\lib\net45\System.Web.WebPages.Razor.dll</HintPath>
92-
<Private>True</Private>
93-
</Reference>
9446
<Reference Include="System.Web" />
95-
<Reference Include="System.Web.Abstractions" />
96-
<Reference Include="System.Web.Routing" />
97-
<Reference Include="System.Xml" />
98-
<Reference Include="System.Configuration" />
99-
<Reference Include="System.Web.Services" />
100-
<Reference Include="System.EnterpriseServices" />
101-
<Reference Include="Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
102-
<Private>True</Private>
103-
<HintPath>..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll</HintPath>
104-
</Reference>
105-
<Reference Include="System.Net.Http">
106-
</Reference>
107-
<Reference Include="System.Net.Http.WebRequest">
108-
</Reference>
109-
<Reference Include="System.Web.Optimization">
110-
<HintPath>..\packages\Microsoft.AspNet.Web.Optimization.1.1.3\lib\net40\System.Web.Optimization.dll</HintPath>
111-
</Reference>
112-
<Reference Include="System.Xml.Linq" />
113-
<Reference Include="WebGrease, Version=1.5.2.14234, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
114-
<HintPath>..\packages\WebGrease.1.5.2\lib\WebGrease.dll</HintPath>
115-
<Private>True</Private>
116-
</Reference>
11747
</ItemGroup>
11848
<ItemGroup>
119-
<Reference Include="Owin">
120-
<HintPath>..\packages\Owin.1.0\lib\net40\Owin.dll</HintPath>
121-
</Reference>
122-
<Reference Include="Microsoft.Owin">
123-
<HintPath>..\packages\Microsoft.Owin.3.0.1\lib\net45\Microsoft.Owin.dll</HintPath>
124-
</Reference>
125-
<Reference Include="Microsoft.Owin.Host.SystemWeb">
126-
<HintPath>..\packages\Microsoft.Owin.Host.SystemWeb.3.0.1\lib\net45\Microsoft.Owin.Host.SystemWeb.dll</HintPath>
127-
</Reference>
49+
<PackageReference Include="Microsoft.AspNet.Mvc" Version="5.2.3" />
50+
<PackageReference Include="Microsoft.AspNet.Web.Optimization" Version="1.1.3" />
51+
<PackageReference Include="StyleCop.Analyzers" Version="1.0.0-beta015" PrivateAssets="all" />
52+
</ItemGroup>
53+
<ItemGroup>
54+
<ProjectReference Include="..\StyleCop.Analyzers.Status.Generator\StyleCop.Analyzers.Status.Generator.csproj">
55+
<Project>{9bf22a9e-9708-4ae4-a5c7-7a00ae4c8885}</Project>
56+
<Name>StyleCop.Analyzers.Status.Generator</Name>
57+
</ProjectReference>
12858
</ItemGroup>
12959
<ItemGroup>
13060
<Compile Include="App_Start\BundleConfig.cs" />
@@ -191,20 +121,8 @@
191121
<Folder Include="App_Data\" />
192122
</ItemGroup>
193123
<ItemGroup>
194-
<Content Include="packages.config" />
195124
<None Include="Project_Readme.html" />
196125
</ItemGroup>
197-
<ItemGroup>
198-
<ProjectReference Include="..\StyleCop.Analyzers.Status.Generator\StyleCop.Analyzers.Status.Generator.csproj">
199-
<Project>{9bf22a9e-9708-4ae4-a5c7-7a00ae4c8885}</Project>
200-
<Name>StyleCop.Analyzers.Status.Generator</Name>
201-
</ProjectReference>
202-
</ItemGroup>
203-
<ItemGroup>
204-
<Analyzer Include="..\packages\StyleCop.Analyzers.1.0.0-beta015\analyzers\dotnet\cs\Newtonsoft.Json.dll" />
205-
<Analyzer Include="..\packages\StyleCop.Analyzers.1.0.0-beta015\analyzers\dotnet\cs\StyleCop.Analyzers.CodeFixes.dll" />
206-
<Analyzer Include="..\packages\StyleCop.Analyzers.1.0.0-beta015\analyzers\dotnet\cs\StyleCop.Analyzers.dll" />
207-
</ItemGroup>
208126
<PropertyGroup>
209127
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
210128
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
@@ -233,18 +151,4 @@
233151
</FlavorProperties>
234152
</VisualStudio>
235153
</ProjectExtensions>
236-
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
237-
<PropertyGroup>
238-
<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>
239-
</PropertyGroup>
240-
<Error Condition="!Exists('..\packages\LibGit2Sharp.0.21.0.176\build\net40\LibGit2Sharp.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\LibGit2Sharp.0.21.0.176\build\net40\LibGit2Sharp.props'))" />
241-
<Error Condition="!Exists('..\packages\StyleCop.Analyzers.1.0.0-beta015\build\StyleCop.Analyzers.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\StyleCop.Analyzers.1.0.0-beta015\build\StyleCop.Analyzers.targets'))" />
242-
</Target>
243-
<Import Project="..\packages\StyleCop.Analyzers.1.0.0-beta015\build\StyleCop.Analyzers.targets" Condition="Exists('..\packages\StyleCop.Analyzers.1.0.0-beta015\build\StyleCop.Analyzers.targets')" />
244-
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
245-
Other similar extension points exist, see Microsoft.Common.targets.
246-
<Target Name="BeforeBuild">
247-
</Target>
248-
<Target Name="AfterBuild">
249-
</Target> -->
250154
</Project>

0 commit comments

Comments
 (0)