Skip to content

Commit 0fc90ea

Browse files
committed
Automatic migration using migrate-2017
1 parent fe8a493 commit 0fc90ea

34 files changed

+365
-1791
lines changed
Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,6 @@
11
using System.Reflection;
22
using System.Runtime.InteropServices;
33

4-
[assembly: AssemblyTitle("Tsarev.Analyzer.Hardcode.Email.Test")]
5-
[assembly: AssemblyDescription("")]
6-
[assembly: AssemblyConfiguration("")]
7-
[assembly: AssemblyCompany("Microsoft")]
8-
[assembly: AssemblyProduct("Tsarev.Analyzer.Hardcode.Email.Test")]
9-
[assembly: AssemblyCopyright("Copyright © Microsoft 2017")]
10-
[assembly: AssemblyTrademark("")]
11-
[assembly: AssemblyCulture("")]
12-
134
[assembly: ComVisible(false)]
145

156
[assembly: Guid("4e74a79f-74bc-49cf-9330-c1eafce07e42")]
16-
17-
// [assembly: AssemblyVersion("1.0.*")]
18-
[assembly: AssemblyVersion("1.0.0.0")]
19-
[assembly: AssemblyFileVersion("1.0.0.0")]
Lines changed: 27 additions & 113 deletions
Original file line numberDiff line numberDiff line change
@@ -1,125 +1,39 @@
1-
<?xml version="1.0" encoding="utf-8"?>
2-
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3-
<Import Project="..\packages\xunit.core.2.3.1\build\xunit.core.props" Condition="Exists('..\packages\xunit.core.2.3.1\build\xunit.core.props')" />
1+
<Project Sdk="Microsoft.NET.Sdk">
42
<PropertyGroup>
5-
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6-
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7-
<ProjectGuid>{4E74A79F-74BC-49CF-9330-C1EAFCE07E42}</ProjectGuid>
8-
<OutputType>Library</OutputType>
9-
<AppDesignerFolder>Properties</AppDesignerFolder>
10-
<RootNamespace>Tsarev.Analyzer.Hardcode.Email.Test</RootNamespace>
11-
<AssemblyName>Tsarev.Analyzer.Hardcode.Email.Test</AssemblyName>
12-
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
13-
<FileAlignment>512</FileAlignment>
3+
<TargetFramework>net461</TargetFramework>
144
<ProjectTypeGuids>{3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
15-
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">15.0</VisualStudioVersion>
165
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
176
<ReferencePath>$(ProgramFiles)\Common Files\microsoft shared\VSTT\$(VisualStudioVersion)\UITestExtensionPackages</ReferencePath>
187
<IsCodedUITest>False</IsCodedUITest>
198
<TestProjectType>UnitTest</TestProjectType>
20-
<NuGetPackageImportStamp>
21-
</NuGetPackageImportStamp>
22-
<TargetFrameworkProfile />
9+
<AssemblyTitle>Tsarev.Analyzer.Hardcode.Email.Test</AssemblyTitle>
10+
<Company>Microsoft</Company>
11+
<Product>Tsarev.Analyzer.Hardcode.Email.Test</Product>
12+
<Copyright>Copyright © Microsoft 2017</Copyright>
2313
</PropertyGroup>
24-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
25-
<DebugSymbols>true</DebugSymbols>
26-
<DebugType>full</DebugType>
27-
<Optimize>false</Optimize>
28-
<OutputPath>bin\Debug\</OutputPath>
29-
<DefineConstants>DEBUG;TRACE</DefineConstants>
30-
<ErrorReport>prompt</ErrorReport>
31-
<WarningLevel>4</WarningLevel>
32-
</PropertyGroup>
33-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
34-
<DebugType>pdbonly</DebugType>
35-
<Optimize>true</Optimize>
36-
<OutputPath>bin\Release\</OutputPath>
37-
<DefineConstants>TRACE</DefineConstants>
38-
<ErrorReport>prompt</ErrorReport>
39-
<WarningLevel>4</WarningLevel>
40-
</PropertyGroup>
41-
<ItemGroup>
42-
<Reference Include="Microsoft.CodeAnalysis, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
43-
<HintPath>..\packages\Microsoft.CodeAnalysis.Common.1.0.1\lib\net45\Microsoft.CodeAnalysis.dll</HintPath>
44-
</Reference>
45-
<Reference Include="Microsoft.CodeAnalysis.CSharp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
46-
<HintPath>..\packages\Microsoft.CodeAnalysis.CSharp.1.0.1\lib\net45\Microsoft.CodeAnalysis.CSharp.dll</HintPath>
47-
</Reference>
48-
<Reference Include="Microsoft.CodeAnalysis.CSharp.Workspaces, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
49-
<HintPath>..\packages\Microsoft.CodeAnalysis.CSharp.Workspaces.1.0.1\lib\net45\Microsoft.CodeAnalysis.CSharp.Workspaces.dll</HintPath>
50-
</Reference>
51-
<Reference Include="Microsoft.CodeAnalysis.Workspaces, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
52-
<HintPath>..\packages\Microsoft.CodeAnalysis.Workspaces.Common.1.0.1\lib\net452\Microsoft.CodeAnalysis.Workspaces.dll</HintPath>
53-
</Reference>
54-
<Reference Include="Microsoft.CodeAnalysis.Workspaces.Desktop, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
55-
<HintPath>..\packages\Microsoft.CodeAnalysis.Workspaces.Common.1.0.1\lib\net452\Microsoft.CodeAnalysis.Workspaces.Desktop.dll</HintPath>
56-
</Reference>
57-
<Reference Include="System" />
58-
<Reference Include="System.Collections.Immutable, Version=1.1.36.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
59-
<HintPath>..\packages\System.Collections.Immutable.1.1.36\lib\portable-net45+win8+wp8+wpa81\System.Collections.Immutable.dll</HintPath>
60-
</Reference>
61-
<Reference Include="System.Composition.AttributedModel, Version=1.0.27.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
62-
<HintPath>..\packages\Microsoft.Composition.1.0.27\lib\portable-net45+win8+wp8+wpa81\System.Composition.AttributedModel.dll</HintPath>
63-
</Reference>
64-
<Reference Include="System.Composition.Convention, Version=1.0.27.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
65-
<HintPath>..\packages\Microsoft.Composition.1.0.27\lib\portable-net45+win8+wp8+wpa81\System.Composition.Convention.dll</HintPath>
66-
</Reference>
67-
<Reference Include="System.Composition.Hosting, Version=1.0.27.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
68-
<HintPath>..\packages\Microsoft.Composition.1.0.27\lib\portable-net45+win8+wp8+wpa81\System.Composition.Hosting.dll</HintPath>
69-
</Reference>
70-
<Reference Include="System.Composition.Runtime, Version=1.0.27.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
71-
<HintPath>..\packages\Microsoft.Composition.1.0.27\lib\portable-net45+win8+wp8+wpa81\System.Composition.Runtime.dll</HintPath>
72-
</Reference>
73-
<Reference Include="System.Composition.TypedParts, Version=1.0.27.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
74-
<HintPath>..\packages\Microsoft.Composition.1.0.27\lib\portable-net45+win8+wp8+wpa81\System.Composition.TypedParts.dll</HintPath>
75-
</Reference>
76-
<Reference Include="System.Core" />
77-
<Reference Include="System.Reflection.Metadata, Version=1.0.21.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
78-
<HintPath>..\packages\System.Reflection.Metadata.1.0.21\lib\portable-net45+win8\System.Reflection.Metadata.dll</HintPath>
79-
</Reference>
80-
<Reference Include="xunit.abstractions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL">
81-
<HintPath>..\packages\xunit.abstractions.2.0.1\lib\net35\xunit.abstractions.dll</HintPath>
82-
</Reference>
83-
<Reference Include="xunit.assert, Version=2.3.1.3858, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL">
84-
<HintPath>..\packages\xunit.assert.2.3.1\lib\netstandard1.1\xunit.assert.dll</HintPath>
85-
</Reference>
86-
<Reference Include="xunit.core, Version=2.3.1.3858, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL">
87-
<HintPath>..\packages\xunit.extensibility.core.2.3.1\lib\netstandard1.1\xunit.core.dll</HintPath>
88-
</Reference>
89-
<Reference Include="xunit.execution.desktop, Version=2.3.1.3858, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL">
90-
<HintPath>..\packages\xunit.extensibility.execution.2.3.1\lib\net452\xunit.execution.desktop.dll</HintPath>
91-
</Reference>
92-
</ItemGroup>
93-
<ItemGroup>
94-
<Compile Include="EmailHardcodeUnitTest.cs" />
95-
<Compile Include="Properties\AssemblyInfo.cs" />
96-
</ItemGroup>
97-
<ItemGroup>
98-
<None Include="packages.config" />
99-
</ItemGroup>
14+
<Import Project="$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets" Condition="Exists('$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets')" />
10015
<ItemGroup>
101-
<ProjectReference Include="..\Tsarev.Analyzer.Hardcode.Email\Tsarev.Analyzer.Hardcode.Email.csproj">
102-
<Project>{F75815ED-B3B6-4A9B-B06E-9625B8F4D13A}</Project>
103-
<Name>Tsarev.Analyzer.Hardcode.Email</Name>
104-
</ProjectReference>
105-
<ProjectReference Include="..\Tsarev.Analyzer.TestHelpers\Tsarev.Analyzer.TestHelpers.csproj">
106-
<Project>{7EF60AD1-739B-4F59-A4C9-DF70BE016461}</Project>
107-
<Name>Tsarev.Analyzer.TestHelpers</Name>
108-
</ProjectReference>
16+
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="1.1.0" />
17+
<PackageReference Include="Microsoft.CodeAnalysis.Common" Version="1.0.1" />
18+
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="1.0.1" />
19+
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="1.0.1" />
20+
<PackageReference Include="Microsoft.CodeAnalysis.Workspaces.Common" Version="1.0.1" />
21+
<PackageReference Include="Microsoft.Composition" Version="1.0.27" />
22+
<PackageReference Include="System.Collections.Immutable" Version="1.1.36" />
23+
<PackageReference Include="System.Reflection.Metadata" Version="1.0.21" />
24+
<PackageReference Include="xunit" Version="2.3.1" />
25+
<PackageReference Include="xunit.abstractions" Version="2.0.1" />
26+
<PackageReference Include="xunit.analyzers" Version="0.8.0" />
27+
<PackageReference Include="xunit.assert" Version="2.3.1" />
28+
<PackageReference Include="xunit.core" Version="2.3.1" />
29+
<PackageReference Include="xunit.extensibility.core" Version="2.3.1" />
30+
<PackageReference Include="xunit.extensibility.execution" Version="2.3.1" />
31+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.0.1" />
32+
<PackageReference Include="MSTest.TestAdapter" Version="1.4.0" />
33+
<PackageReference Include="MSTest.TestFramework" Version="1.4.0" />
10934
</ItemGroup>
11035
<ItemGroup>
111-
<Analyzer Include="..\packages\Microsoft.CodeAnalysis.Analyzers.1.1.0\analyzers\dotnet\cs\Microsoft.CodeAnalysis.Analyzers.dll" />
112-
<Analyzer Include="..\packages\Microsoft.CodeAnalysis.Analyzers.1.1.0\analyzers\dotnet\cs\Microsoft.CodeAnalysis.CSharp.Analyzers.dll" />
113-
<Analyzer Include="..\packages\xunit.analyzers.0.8.0\analyzers\dotnet\cs\xunit.analyzers.dll" />
36+
<ProjectReference Include="..\Tsarev.Analyzer.Hardcode.Email\Tsarev.Analyzer.Hardcode.Email.csproj" />
37+
<ProjectReference Include="..\Tsarev.Analyzer.TestHelpers\Tsarev.Analyzer.TestHelpers.csproj" />
11438
</ItemGroup>
115-
<Import Project="$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets" Condition="Exists('$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets')" />
116-
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
117-
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
118-
<PropertyGroup>
119-
<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>
120-
</PropertyGroup>
121-
<Error Condition="!Exists('..\packages\xunit.core.2.3.1\build\xunit.core.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\xunit.core.2.3.1\build\xunit.core.props'))" />
122-
<Error Condition="!Exists('..\packages\xunit.core.2.3.1\build\xunit.core.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\xunit.core.2.3.1\build\xunit.core.targets'))" />
123-
</Target>
124-
<Import Project="..\packages\xunit.core.2.3.1\build\xunit.core.targets" Condition="Exists('..\packages\xunit.core.2.3.1\build\xunit.core.targets')" />
12539
</Project>

Tsarev.Analyzer.Hardcode.Email.Test/packages.config

Lines changed: 0 additions & 18 deletions
This file was deleted.
Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,7 @@
11
using System.Reflection;
22
using System.Runtime.InteropServices;
33

4-
// General Information about an assembly is controlled through the following
5-
// set of attributes. Change these attribute values to modify the information
6-
// associated with an assembly.
7-
[assembly: AssemblyTitle("Tsarev.Analyzer.Hardcode.Email")]
8-
[assembly: AssemblyDescription("")]
9-
[assembly: AssemblyConfiguration("")]
10-
[assembly: AssemblyCompany("Microsoft")]
11-
[assembly: AssemblyProduct("Tsarev.Analyzer.Hardcode.Email")]
12-
[assembly: AssemblyCopyright("Copyright © Microsoft 2017")]
13-
[assembly: AssemblyTrademark("")]
14-
[assembly: AssemblyCulture("")]
15-
164
// Setting ComVisible to false makes the types in this assembly not visible
175
// to COM components. If you need to access a type in this assembly from
186
// COM, set the ComVisible attribute to true on that type.
197
[assembly: ComVisible(false)]
20-
21-
// Version information for an assembly consists of the following four values:
22-
//
23-
// Major Version
24-
// Minor Version
25-
// Build Number
26-
// Revision
27-
//
28-
// You can specify all the values or you can default the Build and Revision Numbers
29-
// by using the '*' as shown below:
30-
[assembly: AssemblyVersion("1.0.*")]
31-
[assembly: AssemblyFileVersion("1.0.0.0")]

0 commit comments

Comments
 (0)