﻿Install packages on the new project based on installed packages in another project.

Get-Package -ProjectName sourceProject   | ForEach-Object { Install-Package -Id $_.Id -Version $_.Versions -Projectname targetProject }

Get-Package -ProjectName Baraneh.Companies   | ForEach-Object { Install-Package -Id $_.Id -Version $_.Versions -Projectname Baraneh.ServiceManager }

Update-Package -reinstall

Update-Package -Id <package_name> –reinstall

Update-Package -Id Baraneh.Web.Share -ProjectName Baraneh.Web.UI –reinstall
Update-Package -Id Swashbuckle -ProjectName Baraneh.Web.UI –reinstall
Update-Package -Id Swashbuckle.Core.Net45 -ProjectName Baraneh.Web.UI –reinstall
Update-Package -Id Microsoft.Win32.Primitives -ProjectName Baraneh.Web.UI2 –reinstall

Install-Package Swashbuckle -ProjectName Baraneh.Web.UI

Install-Package System.net.http -ProjectName Baraneh.Web.Share

Baraneh.Web.Share


Remove All bin and obj Folders  ( run in PowerShell Developers)
Get-ChildItem .\ -include bin,obj -Recurse | foreach ($_) { remove-item $_.fullname -Force -Recurse }

