Line 29: |
Line 29: |
| | | |
| <dl> | | <dl> |
− | <dt>If your main computer is Windows 11:</dt> | + | <dt>If your main computer is Windows 10 or 11:</dt> |
| <dd> | | <dd> |
| <ol> | | <ol> |
Line 52: |
Line 52: |
| </dl> | | </dl> |
| | | |
− | ; If your main computer is Windows 10 or earlier: | + | ; If your main computer is Windows 8 or earlier: |
| :# Install [https://www.virtualbox.org/ VirtualBox]. | | :# Install [https://www.virtualbox.org/ VirtualBox]. |
| :# Create a [https://zorinos.com/ ZorinOS Core] VM in VirtualBox. | | :# Create a [https://zorinos.com/ ZorinOS Core] VM in VirtualBox. |
Line 109: |
Line 109: |
| ===An instance of analyzer ... cannot be created=== | | ===An instance of analyzer ... cannot be created=== |
| Update to the latest [https://visualstudio.microsoft.com/vs/community/ Visual Studio]; the NuGet package uses a recent feature that isn't available in older versions. | | Update to the latest [https://visualstudio.microsoft.com/vs/community/ Visual Studio]; the NuGet package uses a recent feature that isn't available in older versions. |
| + | |
| + | ===Feature 'global using directive' is not available in C# 9.0=== |
| + | Go to your solution's project file (the .csproj file) and change the <ImplicitUsings> property from "enable" to "disable". |
| | | |
| ==Other issues== | | ==Other issues== |
− | ===Can't target .NET Framework 4.5=== | + | ===Can't target .NET 5=== |
| If the target framework list has options starting with... | | If the target framework list has options starting with... |
− | * ".NET Core" or ".NET Standard": you created the wrong type of project. Make sure you create a .NET '''Framework''' project for your mod. (It's a bit confusing.) | + | * ''.NET Framework'': you created the wrong type of project. Make sure you create a .NET 5 project for your mod instead. (The naming is a bit confusing.) |
− | * ".NET Framework" (but none for 4.5): you can use .NET Framework 4.5, 4.5.1, or 4.5.2. If you don't have any of those, you can install the [https://docs.microsoft.com/en-us/dotnet/framework/install/guide-for-developers .NET Framework 4.5.2 Developer Pack] to add it. | + | * ''.NET Core'', ''.NET Standard'', or ''.NET 5+'': use .NET 5 for compatibility with the game. If you don't have that option, you can install the [https://dotnet.microsoft.com/en-us/download/dotnet/5.0 .NET 5 SDK] to add it. |
| | | |
| ===Visual Studio can't find the game/SMAPI/MonoGame DLLs=== | | ===Visual Studio can't find the game/SMAPI/MonoGame DLLs=== |
Line 132: |
Line 135: |
| ==Ask for help== | | ==Ask for help== |
| See [[Modding:Help]] for how to get help! | | See [[Modding:Help]] for how to get help! |
| + | |
| + | [[es:Modding:Guía del Modder/Prueba y solución de problemas]] |
| + | [[pt:Modificações:Guia do Modder/Teste e Solução de Problemas]] |