Renci.SshNet.Tests.csproj 2.8 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <TargetFrameworks>net462;net6.0;net7.0</TargetFrameworks>
  4. </PropertyGroup>
  5. <ItemGroup>
  6. <EmbeddedResource Include="..\Data\*.txt" LinkBase="Data" />
  7. </ItemGroup>
  8. <PropertyGroup Condition=" '$(VisualStudioVersion)' == '16.0' ">
  9. <!-- Look for Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll in VS 2019 Enterprise -->
  10. <MSTestV1UnitTestFrameworkAssemblyCandidate>$(MSBuildProgramFiles32)\Microsoft Visual Studio\2019\Enterprise\Common7\IDE\PublicAssemblies\Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll</MSTestV1UnitTestFrameworkAssemblyCandidate>
  11. <MSTestV1UnitTestFrameworkAssembly Condition="'$(MSTestV1UnitTestFrameworkAssembly)' == '' and Exists('$(MSTestV1UnitTestFrameworkAssemblyCandidate)')">$(MSTestV1UnitTestFrameworkAssemblyCandidate)</MSTestV1UnitTestFrameworkAssembly>
  12. <!-- Fall back to VS 2019 Professional -->
  13. <MSTestV1UnitTestFrameworkAssemblyCandidate>$(MSBuildProgramFiles32)\Microsoft Visual Studio\2019\Professional\Common7\IDE\PublicAssemblies\Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll</MSTestV1UnitTestFrameworkAssemblyCandidate>
  14. <MSTestV1UnitTestFrameworkAssembly Condition="'$(MSTestV1UnitTestFrameworkAssembly)' == '' and Exists('$(MSTestV1UnitTestFrameworkAssemblyCandidate)')">$(MSTestV1UnitTestFrameworkAssemblyCandidate)</MSTestV1UnitTestFrameworkAssembly>
  15. <!-- Fall back to VS 2019 Community -->
  16. <MSTestV1UnitTestFrameworkAssemblyCandidate>$(MSBuildProgramFiles32)\Microsoft Visual Studio\2019\Community\Common7\IDE\PublicAssemblies\Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll</MSTestV1UnitTestFrameworkAssemblyCandidate>
  17. <MSTestV1UnitTestFrameworkAssembly Condition="'$(MSTestV1UnitTestFrameworkAssembly)' == '' and Exists('$(MSTestV1UnitTestFrameworkAssemblyCandidate)')">$(MSTestV1UnitTestFrameworkAssemblyCandidate)</MSTestV1UnitTestFrameworkAssembly>
  18. <!-- Fall back to VS 2019 Preview -->
  19. <MSTestV1UnitTestFrameworkAssemblyCandidate>$(MSBuildProgramFiles32)\Microsoft Visual Studio\2019\Preview\Common7\IDE\PublicAssemblies\Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll</MSTestV1UnitTestFrameworkAssemblyCandidate>
  20. <MSTestV1UnitTestFrameworkAssembly Condition="'$(MSTestV1UnitTestFrameworkAssembly)' == '' and Exists('$(MSTestV1UnitTestFrameworkAssemblyCandidate)')">$(MSTestV1UnitTestFrameworkAssemblyCandidate)</MSTestV1UnitTestFrameworkAssembly>
  21. </PropertyGroup>
  22. <ItemGroup>
  23. <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
  24. <PackageReference Include="MSTest.TestAdapter" Version="3.1.1" />
  25. <PackageReference Include="MSTest.TestFramework" Version="3.1.1" />
  26. <PackageReference Include="Moq" Version="4.18.4" />
  27. </ItemGroup>
  28. <ItemGroup>
  29. <ProjectReference Include="..\..\src\Renci.SshNet\Renci.SshNet.csproj" />
  30. </ItemGroup>
  31. </Project>