-
-
Post Thanks / Like - 21 Thanks
RealGsus,
d3gigi,
HausMarcE,
cherouvim13,
swerck,
TobiaSBooN,
Straken,
Korvalolum,
song min cheol,
johnbl,
NoeA,
PROUTAIKI,
Arkahr,
Levithan,
intellilogic,
JarJarD3,
thetest1,
truetarin,
haesol0,
lordvane,
razer86 (21 members gave Thanks to JackCeparou for this useful post)
-
Active Member
If I could click "thank you" twice - I'd do it.
I won't give any support (or answer requests) via private messaging. Ask your questions about a plugin within its thread!
-
Active Member
ugh, uninstalled VS2015 community and attempted to download new one only to find that it's no longer possible to download it from MS official site.Only VS2017 Community is available now
So i went with VS Code, but i'm getting this error after i clicked Restore Dependencies.
Code:
c:\Users\****\Desktop\TBHD\project.json(1,1): error MSB4025: The project file could not be loaded. Data at the root level is invalid. Line 1, position 1.
Perhaps this guide needs to be updated?
-
Savvy ? 🐒
Originally Posted by
everknown
ugh, uninstalled VS2015 community and attempted to download new one only to find that it's no longer possible to download it from MS official site.Only VS2017 Community is available now
So i went with VS Code, but i'm getting this error after i clicked Restore Dependencies.
Code:
c:\Users\****\Desktop\TBHD\project.json(1,1): error MSB4025: The project file could not be loaded. Data at the root level is invalid. Line 1, position 1.
Perhaps this guide needs to be updated?
You didn't search well enough, vs2015 community is still available in the dev essentials.
Anyway, i reuploaded the installer with update 2 on zippyshare : Zippyshare.com - en_visual_studio_community_2015_with_update_2_x86_x64_web_installer_8486861.exe
For the VSCode problem, this is probably an issue with the dotnet core tools not installed/ not up to date.
Or you didn't updated the projects with the last project files (with a global.json)
Last edited by JackCeparou; 05-05-2017 at 05:51 AM.
-
Member
Jack, once again thanks for all your work.
I followed your instructions precisely. Installed the Prerequisites, installed VSCode with C# extension and I unzipped your file into the TurboHud base folder.
I am not using VS Community 2015, but the VSCode.
I also get the trigger, but when clicking on Restore I get the same message as everknown.
Content of the project.json (as I am sure, you are aware of it):
PHP Code:
{
"version": "1.0.0-*",
"buildOptions": {
"debugType": "portable",
"emitEntryPoint": false
},
"dependencies": {
"Newtonsoft.Json": "9.0.1",
"SharpDX": "3.1.1",
"SharpDX.Direct2D1": "3.1.1",
"SharpDX.Direct3D11": "3.1.1",
"SharpDX.DirectInput": "3.1.1",
"SharpDX.DXGI": "3.1.1",
"SharpDX.Mathematics": "3.1.1"
},
"frameworks": {
"net462": {
"dependencies": {},
"frameworkAssemblies": {
"System": "4.0.0-*",
"System.Windows.Forms": "4.0.0-*",
"System.Xml": "4.0.0-*",
"System.Xml.Serialization": "4.0.0-*",
"System.Runtime": "4.0.20.0",
"System.Drawing": "4.0.0-*"
}
}
}
}
Intellisense is working, so it is only kind of a cosmetic issue.
-
Savvy ? 🐒
Mmh, that's weird.
I just unzipped a fresh hud + my files (directly from the GitHub zip), that works :x
I wonder if this come from an older .Net core tooling, my machine is configured as a dev machine and i have many versions installed...
-
Savvy ? 🐒
Can you try this one ?
Unzip to a fresh install or delete all from previous version, if you try to overwrite the previous files this will not work. (conflict between projects versions)
JackCeparouCompass_TurboVS_2017.zip
If it works i'll merge it to the master & update OP.
Note :
- no more compatible with VS2015
- compatible with VS2017 & VSCode
Last edited by JackCeparou; 08-03-2017 at 07:12 PM.
-
Member
a) Downloaded a fresh copy of TH, unzipped into new folder. extracted your turbovs2017 files into that folder. Opened the folder in VSCode. Did not trigger the Restore window. Intellisense working though.
b) erased all prior Intellisense files from current TH folder. extracted your turbovs2017 files into that folder. Opened the folder in VSCode. Did not trigger the Restore window. Intellisense working though.
-
Savvy ? 🐒
Thanks for testing, it's normal for the restore, i have changed the project type back to full .Net with the 'new' .csproj instead of project.json (the previous .NetCore format)
OP updated with VS2017.
-
Post Thanks / Like - 1 Thanks
johnbl (1 members gave Thanks to JackCeparou for this useful post)
-
Member
Code:
The type or namespace name 'PowerResourceCostType' could not be found (are you missing a using directive or an assembly reference?) __v7
F:\THUD\interfaces\sno\ISnoPower.cs
That normal?
-
Savvy ? 🐒
Normal is relative regarding this ;p
it's a missing class in hud interfaces, no worries about this error (you can comment the line if you want)
-
Post Thanks / Like - 1 Thanks
g1xb17 (1 members gave Thanks to JackCeparou for this useful post)
-
Member
Originally Posted by
JackCeparou
Normal is relative regarding this ;p
it's a missing class in hud interfaces, no worries about this error (you can comment the line if you want)
I figured out that the missing classes are in the Turbo dlls in the same directory. So basically just include them in the dependencies.
-
PowerResourceCostType.cs
goes under interfaces\enums\PowerResourceCostType.cs
content:
namespace Turbo.Plugins
{
public enum PowerResourceCostType
{
primary, secondary, hitpoint
}
}
will be included in next releases. sorry... next time PM me with this, Jack
Do not send me private messages unless it is absolutely necessary or the content is sensitive or when I ask you to do that...
-
Savvy ? 🐒
-
Member
HI,How to add health bar of the elite monster?