dlively1 / SugarSharp

SugarCRM 7 C# Rest Client
MIT License
10 stars 10 forks source link

The system cannot find the file specified. #6

Closed thenmolik closed 10 years ago

thenmolik commented 10 years ago

I have downloaded the zip file and extract the file and build using VS2012. I got the error C:\Users\thenmoli\Documents\Visual Studio 2012\projects\SugarSharp\SugarSharp\SugarRest\CSC SugarRest Could not load file or assembly 'SugarRest, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.

dlively1 commented 10 years ago

Hey @thenmolik

Strange I have not ran into this or heard of anyone else having this issue. Note: I do get an error when first opening the project in visual studio "C:\Users\dlively\Downloads\SugarSharp-master\SugarSharp-master\SugarRestTesting\SugarRestTesting.csproj : error : The project file could not be loaded. Could not find a part of the path 'C:\Users\dlively\Downloads\SugarSharp-master\SugarSharp-master\SugarRestTesting\SugarRestTesting.csproj'. C:\Users\dlively\Downloads\SugarSharp-master\SugarSharp-master\SugarRestTesting\SugarRestTesting.csproj"

This is due to the fact I have not committed the unit testing part of the project to source control. I plan on doing this soon.

Here is the output from my build output.

1>------ Build started: Project: SugarRest, Configuration: Debug Any CPU ------ 1> Restoring NuGet packages... 1> To prevent NuGet from downloading packages during build, open the Visual Studio Options dialog, click on the Package Manager node and uncheck 'Allow NuGet to download missing packages'. 1> Installing 'Newtonsoft.Json 5.0.8'. 1> Installing 'RestSharp 104.3.3'. 1> Successfully installed 'RestSharp 104.3.3'. 1> Successfully installed 'Newtonsoft.Json 5.0.8'. 1> SugarRest -> C:\Users\dlively\Downloads\SugarSharp-master\SugarSharp-master\SugarRest\bin\Debug\SugarRest.dll ========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

One thing you might want to check is that you don't have nuget disabled in visual studio. Other coworkers download and use this without nuget install and all works as expected. Do you already have it installed ?

If you would like to provide some screenshots or shot me an email, I would be glad to help you you.