Build Solution is Failing 0.o

4 replies [Last post]
Alg
Posts: 3
CP: 0

Anyone have an idea on why the solution is failing to build?

------ Build started: Project: NetGore, Configuration: Debug x86 ------
C:\Users\Mark\Downloads\NetGore\NetGore_0.2.3\netgore\NetGore\AI\PathFinder.cs(45,14): warning CS0649: Field 'NetGore.AI.PathFinder._stop' is never assigned to, and will always have its default value false
 
Compile complete -- 0 errors, 1 warnings
  NetGore -> C:\Users\Mark\Downloads\NetGore\NetGore_0.2.3\netgore\bin\NetGore.dll
------ Build started: Project: NetGore.Db, Configuration: Debug x86 ------
  NetGore.Db -> C:\Users\Mark\Downloads\NetGore\NetGore_0.2.3\netgore\bin\NetGore.Db.dll
------ Build started: Project: NetGore.Features, Configuration: Debug x86 ------
  NetGore.Features -> C:\Users\Mark\Downloads\NetGore\NetGore_0.2.3\netgore\bin\NetGore.Features.dll
------ Build started: Project: NetGore.Db.ClassCreator, Configuration: Debug x86 ------
  NetGore.Db.ClassCreator -> C:\Users\Mark\Downloads\NetGore\NetGore_0.2.3\netgore\NetGore.Db.ClassCreator\bin\NetGore.Db.ClassCreator.dll
------ Build started: Project: NetGore.Features.Client, Configuration: Debug x86 ------
  NetGore.Features.Client -> C:\Users\Mark\Downloads\NetGore\NetGore_0.2.3\netgore\bin\NetGore.Features.Client.dll
------ Build started: Project: DemoGame, Configuration: Debug x86 ------
  DemoGame -> C:\Users\Mark\Downloads\NetGore\NetGore_0.2.3\netgore\DemoGame\bin\DemoGame.dll
------ Build started: Project: NetGore.EditorTools, Configuration: Debug x86 ------
  NetGore.EditorTools -> C:\Users\Mark\Downloads\NetGore\NetGore_0.2.3\netgore\bin\NetGore.EditorTools.dll
------ Build started: Project: NetGore.Features.Server, Configuration: Debug x86 ------
  NetGore.Features.Server -> C:\Users\Mark\Downloads\NetGore\NetGore_0.2.3\netgore\bin\NetGore.Features.Server.dll
------ Build started: Project: DemoGame.Client, Configuration: Debug x86 ------
  DemoGame.Client -> C:\Users\Mark\Downloads\NetGore\NetGore_0.2.3\netgore\DemoGame.Client\bin\DemoGame.Client.exe
------ Build started: Project: NetGore.Tests, Configuration: Debug x86 ------
  NetGore.Tests -> C:\Users\Mark\Downloads\NetGore\NetGore_0.2.3\netgore\bin\Tests\NetGore.Tests.dll
------ Build started: Project: DemoGame.ParticleEffectEditor, Configuration: Debug x86 ------
  DemoGame.ParticleEffectEditor -> C:\Users\Mark\Downloads\NetGore\NetGore_0.2.3\netgore\DemoGame.Client\bin\DemoGame.ParticleEffectEditor.exe
------ Build started: Project: DemoGame.Server, Configuration: Debug x86 ------
  'xcopy' is not recognized as an internal or external command,
  operable program or batch file.
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(902,9): error MSB3073: The command ""C:\Users\Mark\Downloads\NetGore\NetGore_0.2.3\netgore\DevContent\CopyContent.exe" "C:\Users\Mark\Downloads\NetGore\NetGore_0.2.3\netgore\DevContent" "C:\Users\Mark\Downloads\NetGore\NetGore_0.2.3\netgore\DemoGame.Server\bin\Content" Engine Font Fx Grh Languages Music Skeletons Sounds
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(902,9): error MSB3073: xcopy "C:\Users\Mark\Downloads\NetGore\NetGore_0.2.3\netgore\DemoGame.Server\\ServerScripts" "C:\Users\Mark\Downloads\NetGore\NetGore_0.2.3\netgore\DemoGame.Server\bin\Content\Data\ServerScripts" /E /C /R /K /I /Y /D" exited with code 9009.
------ Build started: Project: NetGore.Features.Editor, Configuration: Debug Any CPU ------
  NetGore.Features.Editor -> C:\Users\Mark\Downloads\NetGore\NetGore_0.2.3\netgore\NetGore.Features.Editor\bin\Debug\NetGore.Features.Editor.dll
------ Build started: Project: DemoGame.GUITester, Configuration: Debug x86 ------
  DemoGame.GUITester -> C:\Users\Mark\Downloads\NetGore\NetGore_0.2.3\netgore\DemoGame.Client\bin\DemoGame.GUITester.exe
------ Build started: Project: DemoGame.SkeletonEditor, Configuration: Debug x86 ------
  DemoGame.SkeletonEditor -> C:\Users\Mark\Downloads\NetGore\NetGore_0.2.3\netgore\DemoGame.Client\bin\DemoGame.SkeletonEditor.exe
------ Build started: Project: DemoGame.DbClassCreator, Configuration: Debug x86 ------
  DemoGame.DbClassCreator -> C:\Users\Mark\Downloads\NetGore\NetGore_0.2.3\netgore\DemoGame.DbClassCreator\bin\DemoGame.DbClassCreator.exe
------ Build started: Project: DemoGame.NPCChatEditor, Configuration: Debug x86 ------
ResGen : error RG0000: Could not load referenced assembly "C:\Users\Mark\Downloads\NetGore\NetGore_0.2.3\netgore\DemoGame.Server\bin\DemoGame.Server.exe".  Caught a FileNotFoundException saying "Could not load file or assembly 'C:\Users\Mark\Downloads\NetGore\NetGore_0.2.3\netgore\DemoGame.Server\bin\DemoGame.Server.exe' or one of its dependencies. The system cannot find the file specified.".
------ Build started: Project: DemoGame.EditorTools, Configuration: Debug x86 ------
ResGen : error RG0000: Could not load referenced assembly "C:\Users\Mark\Downloads\NetGore\NetGore_0.2.3\netgore\DemoGame.Server\bin\DemoGame.Server.exe".  Caught a FileNotFoundException saying "Could not load file or assembly 'C:\Users\Mark\Downloads\NetGore\NetGore_0.2.3\netgore\DemoGame.Server\bin\DemoGame.Server.exe' or one of its dependencies. The system cannot find the file specified.".
------ Build started: Project: DemoGame.MapEditor, Configuration: Debug x86 ------
ResGen : error RG0000: Could not load referenced assembly "C:\Users\Mark\Downloads\NetGore\NetGore_0.2.3\netgore\DemoGame.EditorTools\bin\DemoGame.EditorTools.dll".  Caught a FileNotFoundException saying "Could not load file or assembly 'C:\Users\Mark\Downloads\NetGore\NetGore_0.2.3\netgore\DemoGame.EditorTools\bin\DemoGame.EditorTools.dll' or one of its dependencies. The system cannot find the file specified.".
------ Build started: Project: DemoGame.DbEditor, Configuration: Debug x86 ------
ResGen : error RG0000: Could not load referenced assembly "C:\Users\Mark\Downloads\NetGore\NetGore_0.2.3\netgore\DemoGame.EditorTools\bin\DemoGame.EditorTools.dll".  Caught a FileNotFoundException saying "Could not load file or assembly 'C:\Users\Mark\Downloads\NetGore\NetGore_0.2.3\netgore\DemoGame.EditorTools\bin\DemoGame.EditorTools.dll' or one of its dependencies. The system cannot find the file specified.".
========== Build: 15 succeeded or up-to-date, 5 failed, 0 skipped ==========

Thanks

Posts: 1647
CP: 26119

You might need to run Visual Studio as administrator, or disable UAC, since it looks like you are on an account with limited privileges.

Posts: 226
CP: 0

"'xcopy' is not recognized as an internal or external command,"

I tried googling this out a bit, http://www.dotnetmonster.com/Uwe/Forum.aspx/vs-net-general/107/xcopy-pro...
Give that a go?

Alg
Posts: 3
CP: 0

Spodi wrote:
You might need to run Visual Studio as administrator, or disable UAC, since it looks like you are on an account with limited privileges.

Which would be weird.... This is the only account on the computer, so it is automatically set to be administrator, and I already have UAC disabled.

Darkfrost wrote:
"'xcopy' is not recognized as an internal or external command,"

I tried googling this out a bit, http://www.dotnetmonster.com/Uwe/Forum.aspx/vs-net-general/107/xcopy-pro...
Give that a go?

I attempted that fix, but it did not work for me =/

I'll continue looking around on google and see if I can find any solution that works

thanks

Alg
Posts: 3
CP: 0

I managed to find the solution.

Under Enviromental Variables my PATH was missing
%SystemRoot%\system32;
%SystemRoot%;
%SystemRoot%\System32\Wbem;