Changes

Jump to navigation Jump to search
Updated instructions to include a section for people already using the simplified format.
Line 25: Line 25:     
   <ItemGroup>
 
   <ItemGroup>
     <PackageReference Include="Pathoschild.Stardew.ModBuildConfig" Version="3.3.0" />
+
     <PackageReference Include="Pathoschild.Stardew.ModBuildConfig" Version="4.0.0" />
 
   </ItemGroup>
 
   </ItemGroup>
 
</Project>
 
</Project>
Line 33: Line 33:  
<li>Update the <samp>AssemblyName</samp>, <samp>RootNamespace</samp>, and <samp>Version</samp> tags. (You can delete the <samp>AssemblyName</samp> and <samp>RootNamespace</samp> tags if they just match the project name.)</li>
 
<li>Update the <samp>AssemblyName</samp>, <samp>RootNamespace</samp>, and <samp>Version</samp> tags. (You can delete the <samp>AssemblyName</samp> and <samp>RootNamespace</samp> tags if they just match the project name.)</li>
 
<li>Add any other NuGet packages you used, if any.</li>
 
<li>Add any other NuGet packages you used, if any.</li>
<li>Delete the <samp>Properties/AssemblyInfo.cs</samp> file, <samp>packages</samp> folder, and <samp>packages.config</samp> file (if present).</li>
+
</ol>
 +
 
 +
If you're using the simplified format already, you just need to update version numbers in the .csproj file:
 +
<ol>
 +
<li>Replace <code><nowiki><TargetFramework>net452</TargetFramework></nowiki></code> with <code><nowiki><TargetFramework>net5.0</TargetFramework></nowiki></code>.</li>
 +
<li>Replace <code><nowiki><PackageReference Include="Pathoschild.Stardew.ModBuildConfig" Version="3.3.0" /></nowiki></code> with <code><nowiki><PackageReference Include="Pathoschild.Stardew.ModBuildConfig" Version="4.0.0" /></nowiki></code></li>
 
</ol>
 
</ol>
 
</li>
 
</li>
<li>Update the mod build package to the prerelease 4.0.0 version.</li>
+
<li>Delete the <samp>Properties/AssemblyInfo.cs</samp> file, <samp>packages</samp> folder, and <samp>packages.config</samp> file (if present).</li>
 
<li>Exit Visual Studio.</li>
 
<li>Exit Visual Studio.</li>
 
<li>Delete your solution's hidden <samp>.vs</samp> folder, and every project's <samp>bin</samp> and <samp>obj</samp> folders.</li>
 
<li>Delete your solution's hidden <samp>.vs</samp> folder, and every project's <samp>bin</samp> and <samp>obj</samp> folders.</li>

Navigation menu