summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/technical/mod-package.md1
-rw-r--r--src/SMAPI.ModBuildConfig/build/smapi.targets2
2 files changed, 2 insertions, 1 deletions
diff --git a/docs/technical/mod-package.md b/docs/technical/mod-package.md
index b46bca2c..361b257a 100644
--- a/docs/technical/mod-package.md
+++ b/docs/technical/mod-package.md
@@ -359,6 +359,7 @@ which can be uploaded to NuGet or referenced directly.
### Upcoming release
* Added more detailed logging.
+* Fixed _path's format is not supported_ error when using default `Mods` path in 3.2.
### 3.2
Released 07 September 2020.
diff --git a/src/SMAPI.ModBuildConfig/build/smapi.targets b/src/SMAPI.ModBuildConfig/build/smapi.targets
index 0a0db190..65544b12 100644
--- a/src/SMAPI.ModBuildConfig/build/smapi.targets
+++ b/src/SMAPI.ModBuildConfig/build/smapi.targets
@@ -18,7 +18,7 @@
<!-- set default package options -->
<ModFolderName Condition="'$(ModFolderName)' == ''">$(MSBuildProjectName)</ModFolderName>
<ModZipPath Condition="'$(ModZipPath)' == ''">$(TargetDir)</ModZipPath>
- <GameModsPath Condition="'$(GameModsPath)' == ''">$([System.IO.Path]::Combine($(GamePath), 'Mods')</GameModsPath>
+ <GameModsPath Condition="'$(GameModsPath)' == ''">$([System.IO.Path]::Combine($(GamePath), 'Mods'))</GameModsPath>
<EnableModDeploy Condition="'$(EnableModDeploy)' == ''">true</EnableModDeploy>
<EnableModZip Condition="'$(EnableModZip)' == ''">true</EnableModZip>
<EnableHarmony Condition="'$(EnableHarmony)' == ''">false</EnableHarmony>