cake-contrib / cake-contrib/Cake_Git

Clone test - The type initializer for 'ManagedHttpSmartSubtransportStream' threw an exception

Open
#151 10 comments 0 reactions 0 assignees View on GitHub
blocked-upstream
Dominant language
C#
Stars
39
Forks
62
PR merge metrics
No merged PRs in 30d

Description

Hi,

I'm just running the build script on develop branch, on W10 `.\build.ps1' and I get this error on the Clone test:
```
========================================
Git-Clone
========================================
Cloning repo https://github.com/WCOMAB/CakeGitTestRepo.git...
An error occurred when executing task 'Git-Clone'.

----------------------------------------
Teardown
----------------------------------------
Finished running tasks.
Trying to clean up test repo D:/OSS/cake-build/upstream-Cake_Git/TestRepo
Successfully cleaned test repo D:/OSS/cake-build/upstream-Cake_Git/TestRepo
Error: One or more errors occurred.
The type initializer for 'ManagedHttpSmartSubtransportStream' threw an exception.

Inner Exception:
Operation is not supported on this platform.
An error occurred when executing task 'Test'.
```
Is there some setup required for succesfully run the net461 tests?

Thanks,
Simo

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by running .\build.ps1 on Windows 10 and reproducing the failure in the Clone test. Inspect the net461 test setup and the ManagedHttpSmartSubtransportStream exception; done means identifying whether additional setup is required or the test completes successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, git
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.