Skip to content

Commit

Permalink
Converted to .NET core project
Browse files Browse the repository at this point in the history
  • Loading branch information
rajbos committed Nov 11, 2020
1 parent c90c2fb commit aeacc15
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 47 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,8 @@
/.vs/dotnetcore-webapp/v16
/dotnet-core-webapp.webtests/bin/Debug
/dotnet-core-webapp.webtests/obj
/.vs/dotnetcore-webapp/config
/dotnet-core-webapp.webtests/dotnetcore-webapp.webtests.csproj.user
/UnitTestProject1/bin/Debug/netcoreapp3.1
/UnitTestProject1/obj
/.vs/dotnetcore-webapp/DesignTimeBuild
54 changes: 11 additions & 43 deletions dotnet-core-webapp.webtests/dotnetcore-webapp.webtests.csproj
Original file line number Diff line number Diff line change
@@ -1,51 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{D3175731-C420-46C3-A355-E3D87AD23D9C}</ProjectGuid>
<OutputType>Library</OutputType>
<RootNamespace>DevOpsTraining_Web.WebTests</RootNamespace>
<AssemblyName>DevOpsTraining-Web.WebTests</AssemblyName>
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
<ProjectTypeGuids>{3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<TestProjectType>UnitTest</TestProjectType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<IsPackable>false</IsPackable>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Drawing" />

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.7.1" />
<PackageReference Include="MSTest.TestAdapter" Version="2.1.1" />
<PackageReference Include="MSTest.TestFramework" Version="2.1.1" />
<PackageReference Include="coverlet.collector" Version="1.3.0" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="MSTest.TestAdapter">
<Version>1.4.0</Version>
</PackageReference>
<PackageReference Include="MSTest.TestFramework">
<Version>1.4.0</Version>
</PackageReference>
<PackageReference Include="Selenium.WebDriver" Version="3.9.1" />
<PackageReference Include="Selenium.WebDriver.ChromeDriver" Version="2.35.0" />
</ItemGroup>
<ItemGroup>
<Compile Include="PageObjects\MainMenuPageObject.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="UnitTest1.cs" />
</ItemGroup>
<ItemGroup />
<Import Project="$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets" Condition="Exists('$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets')" />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
4 changes: 0 additions & 4 deletions dotnetcore-webapp.sln
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,9 @@ Global
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{BDD47BF9-52F0-4C96-8827-BF074AC49ECE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{BDD47BF9-52F0-4C96-8827-BF074AC49ECE}.Debug|Any CPU.Build.0 = Debug|Any CPU
{BDD47BF9-52F0-4C96-8827-BF074AC49ECE}.Release|Any CPU.ActiveCfg = Release|Any CPU
{BDD47BF9-52F0-4C96-8827-BF074AC49ECE}.Release|Any CPU.Build.0 = Release|Any CPU
{D3175731-C420-46C3-A355-E3D87AD23D9C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D3175731-C420-46C3-A355-E3D87AD23D9C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D3175731-C420-46C3-A355-E3D87AD23D9C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D3175731-C420-46C3-A355-E3D87AD23D9C}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down

0 comments on commit aeacc15

Please sign in to comment.