Throwing Assembly Related Error on New Setup
Issue #224
resolved
Comments (4)
-
repo owner -
reporter Thanks. But those steps are in the developer docs. .NET 4.6 SDK is installed and so is .NET 4.6.1 SDK and .NET 4.5. Nuget packages all installed and reference does not show any errors. This seems more like some sort of version mismatch?
-
reporter Also, you say .NET 4.6 but in the Web.config is says
<system.web> <compilation debug="true" targetFramework="4.5.1" /> <httpRuntime targetFramework="4.5" />
-
reporter - changed status to resolved
We sorted this out and updated dev docs. Should all build fine on new setup.
- Log in to comment
1) make sure you have .NET framework 4.6 installed.
2) Make sure all nuget packages are restored: right click on the Solution in Solution Explorer, and select Restore Nuget Packages. (System.Net.Http is not part of .net framework; it is installed via nuget.)
3) Now verify under project references for the Pineapples project that System.Net.Http is resolved (ie no red x on it)