Esri / military-planner-application-csharp

The Military Planner Application is an Application Prototype Template for planning military operations.
Apache License 2.0
28 stars 19 forks source link

Revert "Enable NuGet restore on build" #21

Closed jmccausland closed 9 years ago

jmccausland commented 9 years ago

Reverts ArcGIS/military-planner-application-csharp#20

csmoore commented 9 years ago

Let me know if you want me to help test, you'll probably have to remove the dependent package(s) from source control to fully test though (if this is it: https://github.com/ArcGIS/military-planner-application-csharp/tree/master/source/packages )

Another thing that sometimes confuses - nuget doesn't actually get the packages until you actually try to build (so the assembly reference will be broken until you actually build). I only tested this with a simple project though ( here in case it helps ) & your setup might be more complex.

jmccausland commented 9 years ago

Yep, removing packages and setting the get NeGet.exe to true fixed it.

From: Chris Moore [mailto:notifications@github.com] Sent: Tuesday, February 24, 2015 12:32 PM To: ArcGIS/military-planner-application-csharp Cc: Joseph McCausland Subject: Re: [military-planner-application-csharp] Revert "Enable NuGet restore on build" (#21)

Let me know if you want me to help test, you'll probably have to remove the dependent package(s) from source control to fully test though (if this is it: https://github.com/ArcGIS/military-planner-application-csharp/tree/master/source/packages )

Another thing that sometimes confuses - nuget doesn't actually get the packages until you actually try to build (so the assembly reference will be broken until you actually build). I only tested this with a simple project though ( here in case it helpshttps://github.com/csmoore/MyMiscellanea/tree/master/CSharp/YouTubeExtractorForm ) & your setup might be more complex.

— Reply to this email directly or view it on GitHubhttps://github.com/ArcGIS/military-planner-application-csharp/pull/21#issuecomment-75803107.

csmoore commented 9 years ago

One last thing you might want to also add the AGS Runtime to the dependent packages:

https://www.nuget.org/packages/Esri.ArcGISRuntime.Toolkit/10.2.4.748

Since this isn't a global assembly, things are probably only working now because this is installed in the same location for people building this, but that is not a guarantee.