Try checking if you can run the docker command docker version
on the command prompt which should show you the docker version. Also check if WSL 2 is correctly installed. Check - Create first ASP.NET Core App in a Docker Container
Visual Studio 2019 error while adding Docker file support
Vinay Pandey
16
Reputation points
I am getting the following error while adding Windows-based Docker support to my WPF application > An error occurred while adding Docker File support to this project > Value cannot be null > Parameter name: netCoreVersion I have ensured that Docker-Desktop is switched to Windows containers and I am able to successfully run a dotnet image. I am wondering what could be the problem, any help will be greatly appreciated. Here is attached screenshot ![78035-image.png][1] [1]: /api/attachments/78035-image.png?platform=QnA
Developer technologies .NET Other
4,103 questions
1 answer
Sort by: Most helpful
-
Yogi 351 Reputation points
2021-05-09T06:46:37.943+00:00