Difference between revisions of "User:Prod/Test"

(test)
 
m
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
If the 'file or assembly' starts with <samp>Microsoft</samp> or <samp>System</samp> (like "''FileNotFoundException: Could not load file or assembly 'System.[...]' or one of its dependencies''") OR you get something like "The library '[...].dll' required to execute the application is not found in 'C:\Program Files\dotnet`" (often this is <samp>hostpolicy.dll</samp>), something is wrong with the core frameworks used by the game.
+
"''FileNotFoundException: Could not load file or assembly 'System.[...]' or one of its dependencies''"
Common fixes:
+
 
* [[Modding:Player Guide/Troubleshooting#Reset your content files|Reset the content files]].
+
==(Select Mode)==
* If that doesn't work, uninstall Stardew Valley (and fully delete your game folder) and then reinstall it.
+
<3em; border: 2px
* Check to make sure you don't [[Modding:Player_Guide/Troubleshooting#After_updating_to_the_latest_versions.2C_launching_the_game_still_shows_an_old_SMAPI_or_game_version|accidentally have two copies of the game]].
 
(Stardew now comes packaged with the dependencies needed to run, so you shouldn't need to install them yourself.)
 
You may also see an error like this if you installed SMAPI manually (by renaming the .bat to a .zip and moving files yourself). Try reinstalling SMAPI using the installer if that is the case.
 
==<samp>OutOfMemoryException</samp> errors (Windows only)==
 
Your log shows <samp>OutOfMemoryException</samp> errors in the console, and the game may severely lag or crash. That means your game ran out of available memory mid-session.
 
Some common fixes:
 
* Make sure you have the latest Stardew Valley {{version|link=0}}, which is 64-bit and doesn't have the 32-bit limitations of older versions.
 
* If you still get the error, you might need to remove content mods you don't need (particularly content packs for Custom Music or TMXL Map Toolkit, which can use a lot of memory).
 
==SMAPI takes forever to load! (Select Mode)==
 
Make sure you're not in Select Mode (noted by the word "Select" top left corner of the SMAPI Window.) This mode pauses loading so you can see what the console says, and you can enter it by selecting any text on the SMAPI console.
 
<nowiki>**</nowiki>To Fix**: Just click on the console and hit enter a few times to get out of it.
 
[[File:Screenshot 2022-01-08 140059.png|600px|thumb|left|The Select mode indicator]]{{Clear}}
 

Latest revision as of 20:37, 13 January 2022

"FileNotFoundException: Could not load file or assembly 'System.[...]' or one of its dependencies"

(Select Mode)

<3em; border: 2px