The name in the SessionSettings constructor cannot contain a dot character
- Dominant language
- C++
- Stars
- 33.7k
- Forks
- 1.8k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 116
Description
### Windows Version
Microsoft Windows [Version 10.0.26100.8655]
### WSL Version
2.9.3.0
### Are you using WSL 1 or WSL 2?
- [x] WSL 2
- [ ] WSL 1
### Kernel Version
6.18.35.2-1
### Distro Version
Ubuntu
### Other Software
_No response_
### Repro Steps
For the name use a dot, like `WireMock.Net`:
``` cs
var baseDir = AppContext.BaseDirectory;
var sessionPath = Path.Combine(baseDir, "WireMockStorage");
var sessionSettings = new SessionSettings("WireMock.Net", sessionPath)
{
CpuCount = 1,
MemorySizeInMB = 1024
};
```
### Expected Behavior
No error.
### Actual Behavior
```
Failed to start WSL session: The parameter is incorrect.
The parameter is incorrect.
```
### Diagnostic Logs
```
There are no logs, this is a SDK issue.
```
Contributor guide
Research direction
Start by reproducing the failure with the SessionSettings constructor using the name "WireMock.Net" on WSL 2, then trace how that name is passed when the session starts. Confirm the fix by starting a session with a dot-containing name without the "The parameter is incorrect" error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100