<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <ProductVersion>8.0.30703</ProductVersion>
- <SchemaVersion>2.0</SchemaVersion>
- <ProjectGuid>{18A32642-A8F3-425B-978D-0C6F630EDDE8}</ProjectGuid>
- <OutputType>Library</OutputType>
- <AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>OpenTween</RootNamespace>
- <AssemblyName>OpenTween.Tests</AssemblyName>
- <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
- <FileAlignment>512</FileAlignment>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <DebugSymbols>true</DebugSymbols>
- <DebugType>full</DebugType>
- <Optimize>false</Optimize>
- <OutputPath>bin\Debug\</OutputPath>
- <DefineConstants>DEBUG;TRACE</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <DebugType>pdbonly</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>bin\Release\</OutputPath>
- <DefineConstants>TRACE</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
+ <TargetFramework>net472</TargetFramework>
+ <LangVersion>8.0</LangVersion>
+ <Nullable>enable</Nullable>
+ <DisableImplicitFrameworkReferences>true</DisableImplicitFrameworkReferences>
</PropertyGroup>
<ItemGroup>
- <Reference Include="NSubstitute, Version=1.4.3.0, Culture=neutral, PublicKeyToken=92dd2e9066daa5ca, processorArchitecture=MSIL">
- <SpecificVersion>False</SpecificVersion>
- <HintPath>dlls\NSubstitute.dll</HintPath>
- </Reference>
- <Reference Include="nunit.framework, Version=2.6.2.12296, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
- <SpecificVersion>False</SpecificVersion>
- <HintPath>dlls\nunit.framework.dll</HintPath>
- </Reference>
+ <AdditionalFiles Include="..\stylecop.json" Link="stylecop.json" />
+ </ItemGroup>
+ <ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Drawing" />
+ <Reference Include="System.Net.Http" />
<Reference Include="System.Runtime.Serialization" />
+ <Reference Include="System.Web" />
<Reference Include="System.Windows.Forms" />
- <Reference Include="System.Xml.Linq" />
- <Reference Include="System.Data.DataSetExtensions" />
- <Reference Include="Microsoft.CSharp" />
- <Reference Include="System.Data" />
<Reference Include="System.Xml" />
+ <Reference Include="System.Xml.Linq" />
</ItemGroup>
<ItemGroup>
- <Compile Include="Api\ApiLimitTest.cs" />
- <Compile Include="Api\TwitterApiStatusTest.cs" />
- <Compile Include="BingTest.cs" />
- <Compile Include="PostFilterRuleTest.cs" />
- <Compile Include="FoursquareTest.cs" />
- <Compile Include="LRUCacheDictionaryTest.cs" />
- <Compile Include="MyCommonTest.cs" />
- <Compile Include="PostClassTest.cs" />
- <Compile Include="PostFilterRuleVersion113DeserializeTest.cs" />
- <Compile Include="Properties\AssemblyInfo.cs" />
- <Compile Include="TabsDialogTest.cs" />
- <Compile Include="TestUtils.cs" />
- <Compile Include="Thumbnail\Services\ImgAzyobuziNetTest.cs" />
- <Compile Include="Thumbnail\Services\MetaThumbnailServiceTest.cs" />
- <Compile Include="Thumbnail\Services\SimpleThumbnailServiceTest.cs" />
- <Compile Include="Thumbnail\Services\TinamiTest.cs" />
- <Compile Include="ToolStripAPIGaugeTest.cs" />
- <Compile Include="TweetThumbnailTest.cs" />
- <Compile Include="TwitterTest.cs" />
+ <ProjectReference Include="..\OpenTween\OpenTween.csproj" />
</ItemGroup>
<ItemGroup>
- <ProjectReference Include="..\OpenTween\OpenTween.csproj">
- <Project>{3D8995C7-BDF3-4273-9F9D-DDD902F6A101}</Project>
- <Name>OpenTween</Name>
- </ProjectReference>
+ <PackageReference Include="Moq" Version="4.13.0" />
+ <PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.406">
+ <PrivateAssets>all</PrivateAssets>
+ <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
+ </PackageReference>
+ <PackageReference Include="xunit" Version="2.4.1" />
+ <PackageReference Include="xunit.runner.console" Version="2.4.1">
+ <PrivateAssets>all</PrivateAssets>
+ <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
+ </PackageReference>
+ <PackageReference Include="xunit.runner.visualstudio" Version="2.4.1">
+ <PrivateAssets>all</PrivateAssets>
+ <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
+ </PackageReference>
</ItemGroup>
<ItemGroup>
- <Content Include="dlls\NSubstitute.dll" />
- <Content Include="dlls\nunit.framework.dll" />
- <Content Include="Resources\re.gif">
+ <None Update="Resources\re.gif">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
- </Content>
- <Content Include="Resources\re1.gif">
+ </None>
+ <None Update="Resources\re1.gif">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
- </Content>
- <Content Include="Resources\re1.png">
+ </None>
+ <None Update="Resources\re1.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
- </Content>
+ </None>
</ItemGroup>
- <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
- <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
- Other similar extension points exist, see Microsoft.Common.targets.
- <Target Name="BeforeBuild">
- </Target>
- <Target Name="AfterBuild">
- </Target>
- -->
-</Project>
\ No newline at end of file
+</Project>