Pychnight / TshockRpgToolKit

Master Controller for distrubtion of quests, custom npcs, custom items and skills, housing, leveling, npcshops, etc.
GNU General Public License v2.0
11 stars 1 forks source link

The "MSBuild .ExtensionPack.Framework.AssemblyInfo" task was not found. #72

Closed Dr-Insanity closed 2 years ago

Dr-Insanity commented 2 years ago

Hello,

I was hoping on building the source code but I get this error:

Build started 3/6/2022 10:42:30 PM.
Project "C:\Users\cicho\Documents\GitHub\TshockRpgToolKit\TShockRpgToolKit.sln" on node 1 (default targets).
ValidateSolutionConfiguration:
  Building solution configuration "Debug|Any CPU".
SetAssemblyFileVersion:
  Setting SharedAssemblyInfo.cs AssemblyFileVersion to RpgToolsFileVersion...
C:\Users\cicho\Documents\GitHub\TshockRpgToolKit\before.TShockRpgToolKit.sln.targets(18,3): error MSB4036: The "MSBuild
.ExtensionPack.Framework.AssemblyInfo" task was not found. Check the following: 1.) The name of the task in the project
 file is the same as the name of the task class. 2.) The task class is "public" and implements the Microsoft.Build.Fram
ework.ITask interface. 3.) The task is correctly declared with <UsingTask> in the project file, or in the *.tasks files
 located in the "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin" directory. [C:\Users\
cicho\Documents\GitHub\TshockRpgToolKit\TShockRpgToolKit.sln]
Done Building Project "C:\Users\cicho\Documents\GitHub\TshockRpgToolKit\TShockRpgToolKit.sln" (default targets) -- FAIL
ED.

Build FAILED.

"C:\Users\cicho\Documents\GitHub\TshockRpgToolKit\TShockRpgToolKit.sln" (default target) (1) ->
(SetAssemblyFileVersion target) ->
  C:\Users\cicho\Documents\GitHub\TshockRpgToolKit\before.TShockRpgToolKit.sln.targets(18,3): error MSB4036: The "MSBui
ld.ExtensionPack.Framework.AssemblyInfo" task was not found. Check the following: 1.) The name of the task in the proje
ct file is the same as the name of the task class. 2.) The task class is "public" and implements the Microsoft.Build.Fr
amework.ITask interface. 3.) The task is correctly declared with <UsingTask> in the project file, or in the *.tasks fil
es located in the "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin" directory. [C:\User
s\cicho\Documents\GitHub\TshockRpgToolKit\TShockRpgToolKit.sln]

    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:00.65

Any help appreciated 🙏

Dr-Insanity commented 2 years ago

I'm a total newbie to compiling programs, I think I succeeded.