NormandErwan / DocFxForUnity

DocFX usage example for Unity projects
https://normanderwan.github.io/DocFxForUnity/
MIT License
211 stars 31 forks source link

Multiple errors. #28

Open MrJamieMcC opened 7 months ago

MrJamieMcC commented 7 months ago

I honestly have no idea what the issue is and how to fix this

E:\Game Dev\Projects\Police>docfx Documentation/docfx.json --serve Using .NET Core SDK 7.0.403 Compiling C# files using .NET SDK 7.0.13 for net7.0 error: E:/Game Dev/Projects/Police/Assets/_Scripts/Building/AllBuildings.cs(3,7): error CS0246: The type or namespace name 'UnityEngine' could not be found (are you missing a using directive or an assembly reference?)error: E:/Game Dev/Projects/Police/Assets/_Scripts/Building/BuildingInfo.cs(4,7): error CS0246: The type or namespace name 'Unity' could not be found (are you missing a using directive or an assembly reference?) error: E:/Game Dev/Projects/Police/Assets/_Scripts/Building/BuildingInfo.cs(5,7): error CS0246: The type or namespace name 'UnityEngine' could not be found (are you missing a using directive or an assembly reference?)error: E:/Game Dev/Projects/Police/Assets/_Scripts/Crime/CrimeGenerator.cs(7,16): error CS0246: The type or namespace name 'UnityEngine' could not be found (are you missing a using directive or an assembly reference?)error: E:/Game Dev/Projects/Police/Assets/_Scripts/Crime/CrimeGenerator.cs(4,7): error CS0246: The type or namespace name 'UnityEditor' could not be found (are you missing a using directive or an assembly reference?) error: E:/Game Dev/Projects/Police/Assets/_Scripts/Crime/CrimeGenerator.cs(5,7): error CS0246: The type or namespace name 'UnityEngine' could not be found (are you missing a using directive or an assembly reference?) error: E:/Game Dev/Projects/Police/Assets/_Scripts/Crime/CrimeGenerator.cs(6,7): error CS0246: The type or namespace name 'UnityEngine' could not be found (are you missing a using directive or an assembly reference?) error: E:/Game Dev/Projects/Police/Assets/_Scripts/Crime/CrimeSceneItem.cs(3,7): error CS0246: The type or namespace name 'UnityEngine' could not be found (are you missing a using directive or an assembly reference?) error: E:/Game Dev/Projects/Police/Assets/_Scripts/Crime/CrimeSceneItem.cs(4,7): error CS0246: The type or namespace name 'UnityEngine' could not be found (are you missing a using directive or an assembly reference?) error: E:/Game Dev/Projects/Police/Assets/_Scripts/Crime/CrimeSceneItemPool.cs(3,7): error CS0246: The type or namespace name 'UnityEngine' could not be found (are you missing a using directive or an assembly reference?) error: E:/Game Dev/Projects/Police/Assets/_Scripts/Crime/CrimeSceneItemPoolClass.cs(3,7): error CS0246: The type or namespace name 'UnityEngine' could not be found (are you missing a using directive or an assembly reference?) error: E:/Game Dev/Projects/Police/Assets/_Scripts/Crime/CrimeSceneItemSpawner.cs(3,7): error CS0246: The type or namespace name 'UnityEngine' could not be found (are you missing a using directive or an assembly reference?) error: E:/Game Dev/Projects/Police/Assets/_Scripts/Crime/CrimeSceneItemSpawner.cs(4,7): error CS0246: The type or namespace name 'UnityEngine' could not be found (are you missing a using directive or an assembly reference?) error: E:/Game Dev/Projects/Police/Assets/_Scripts/Crime/CrimeSceneNPCTrigger.cs(3,7): error CS0246: The type or namespace name 'UnityEngine' could not be found (are you missing a using directive or an assembly reference?) error: E:/Game Dev/Projects/Police/Assets/_Scripts/Crime/CrimeScenePlayerTrigger.cs(3,7): error CS0246: The type or namespace name 'UnityEngine' could not be found (are you missing a using directive or an assembly reference?) error: E:/Game Dev/Projects/Police/Assets/_Scripts/Crime/ItemInformation.cs(3,7): error CS0246: The type or namespace name 'UnityEngine' could not be found (are you missing a using directive or an assembly reference?)error: E:/Game Dev/Projects/Police/Assets/_Scripts/Crime/NpcCrimeSceneFlee_temp.cs(3,7): error CS0246: The type or namespace name 'UnityEngine' could not be found (are you missing a using directive or an assembly reference?) error: E:/Game Dev/Projects/Police/Assets/_Scripts/Managment/Developer.cs(3,7): error CS0246: The type or namespace name 'UnityEngine' could not be found (are you missing a using directive or an assembly reference?) error: E:/Game Dev/Projects/Police/Assets/_Scripts/Managment/Developer.cs(4,7): error CS0246: The type or namespace name 'UnityEditor' could not be found (are you missing a using directive or an assembly reference?) error: E:/Game Dev/Projects/Police/Assets/_Scripts/Managment/Developer.cs(5,7): error CS0246: The type or namespace name 'UnityEngine' could not be found (are you missing a using directive or an assembly reference?) Creating output... warning: No .NET API detected for . Searching custom plugins in directory C:\Users\jamie\.dotnet\tools\.store\docfx\2.73.2\docfx\2.73.2\tools\net7.0\any\... Post processor ExtractSearchIndex loaded. Post processor SitemapGenerator loaded. No files are found with glob pattern *.yml, excluding <none>, under directory "E:\Game Dev\Projects\Police\Documentation\api" 7 plug-in(s) loaded. Building 2 file(s) in ResourceDocumentProcessor(ValidateResourceMetadata)... Building 2 file(s) in TocDocumentProcessor(BuildTocDocument)... Building 3 file(s) in ConceptualDocumentProcessor(BuildConceptualDocument=>CountWord=>ValidateConceptualDocumentMetadata)... E:\Game Dev\Projects\Police\Documentation\toc.yml: warning: Unable to find either toc.yml or toc.md inside api/. Make sure the file is included in config file docfx.json! Applying templates to 7 model(s)... XRef map exported. Extracting index data from 3 html files Sitemap file is successfully exported to E:\Game Dev\Projects\Police\_site\sitemap.xml Manifest file saved to manifest.json. Serving "E:\Game Dev\Projects\Police\_site" on http://localhost:8080. Press Ctrl+C to shut down.

kurone-kito commented 5 months ago

Perhaps you'll find the comments in the following issue helpful: https://github.com/NormandErwan/DocFxForUnity/issues/9#issuecomment-1807217793