Closed Solaestas closed 1 year ago
还需要在不同的电脑上做跟多的测试,MSBuild太玄学了
missing docs
I can't test this mod, because of Error MSB4018, The "BuildMod" task failed unexpectedly.
in file Solaestas.tModLoader.ModBuilder.targets
line 48.
It seems to point to <BuildMod Condition="$(Solaestas-NotMod) != true" ModSourceDirectory="$(MSBuildProjectDirectory)\" ModName="$(AssemblyName)"
Restarting my computer did not fix the issue.
I can't test this mod, because of Error
MSB4018, The "BuildMod" task failed unexpectedly.
in fileSolaestas.tModLoader.ModBuilder.targets
line 48. It seems to point to<BuildMod Condition="$(Solaestas-NotMod) != true" ModSourceDirectory="$(MSBuildProjectDirectory)\" ModName="$(AssemblyName)"
Restarting my computer did not fix the issue.
Manually delete obj
and bin
in Everglow/Source/Everglow/, restart VS, then it should work.
I can't test this mod, because of Error in file line 48. It seems to point to Restarting my computer did not fix the issue.
MSB4018, The "BuildMod" task failed unexpectedly.``Solaestas.tModLoader.ModBuilder.targets``<BuildMod Condition="$(Solaestas-NotMod) != true" ModSourceDirectory="$(MSBuildProjectDirectory)\" ModName="$(AssemblyName)"
Manually delete and in Everglow/Source/Everglow/, restart VS, then it should work.
obj``bin
It works now! I found that this also fixes part of #149
It can successfully compile and load now...But fail to unload. Generally, no problem, the unload issue has existed for a long time.
目前不再需要使用TmodSource作为环境了,而是直接使用nuget包,速度可能有所下降,但是比以前更加方便 现在可能会存在一些玄学bug,需要重新生成或者删除bin和obj重新编译,或者重启VS,我也不是很理解 管理module的脚本过时了,暂时不要使用,我考试完再来改