NETSDK1147: Missing workload for specified target framework
This error is caused by trying to compile a project that requires an optional workload, but you don't have the workload installed. The full error message is similar to the following example:
NETSDK1147: To build this project, the following workloads must be installed: <workload ID>
To install these workloads, run the following command: dotnet workload install <workload ID>
For example, if your project targets net6.0-android
, you might have to run the dotnet workload install
command and specify workload ID android
:
dotnet workload install android
For more information, see dotnet workload install
.
GitHub पर हमारे साथ सहयोग करें
इस सामग्री का स्रोत GitHub पर पाया जा सकता है, जहाँ आप समस्याएँ बना और समीक्षा भी कर सकते हैं और अनुरोध खींच सकते हैं. अधिक जानकारी के लिए, हमारे योगदानकर्ता गाइड देखें.