Friday, April 14, 2017

Could not load file or assembly 'System.Data.SQLite' or one of its dependencies...

If you facing the issue "

"Could not load file or assembly 'System.Data.SQLite' or one of its dependencies..." 



one of Causes:

Enable 32-bit applications is set to True.

Solution:

  1. Go to the Advanced Settings:
  2. Set Enable 32-bit Applications to False.
  3. Click OK.


 I think it will help  you thank you happy coding. 

Wednesday, April 12, 2017

Today first time i am using the  Package Manager Console, for run Install-Package MSBuildTasks,
when i am running the command "Install-Package elmah" i am facing the below issue


PM> Install-Package elmah
Install-Package : The current environment doesn't have a solution open.
At line:1 char:1
+ Install-Package elmah
+ ~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [Install-Package], InvalidOperationException
    + FullyQualifiedErrorId : NuGetNoActiveSolution,NuGet.PowerShell.Commands.InstallPackageCommand



So i have think put this post might be help to some one.


The solution are as  below :-



I usually get this error because I created or opened a project (.csproj or other) that doesn't have a saved solution (.sln) associated with it.
If you go to File->Save All it should offer to save the solution somewhere. Save it and that makes the error go away for me.

Thank you,
Arjun Walmiki