How do I install a NuGet package into the second project in a solution?

There’s 3 approaches :). In NuGet 1.1 (The latest release) we’ve improved powershell pipelining so you can do this: Get-Project -All | Install-Package SomePackage That will install “SomePackage” into all of your projects. You can use wildcards to narrow down which projects: Get-Project Mvc* | Install-Package SomePackage That will use wildcard semantics (in this case, … Read more

“Unable to find manifest signing certificate in the certificate store” – even when add new key

I’ve finally found the solution. Edit the .csproj file for the project in question. Delete the following lines of code: <PropertyGroup> <ManifestCertificateThumbprint>………..</ManifestCertificateThumbprint> </PropertyGroup> <PropertyGroup> <ManifestKeyFile>xxxxxxxx.pfx</ManifestKeyFile> </PropertyGroup> <PropertyGroup> <GenerateManifests>true</GenerateManifests> </PropertyGroup> <PropertyGroup> <SignManifests>false</SignManifests> </PropertyGroup>

Visual Studio Disabling Missing XML Comment Warning

As suggested above, in general I don’t think that these warnings should be ignored (suppressed). To summarise, the ways around the warning would be to: Suppress the warning by changing the project Properties > Build > Errors and warnings > Suppress warnings by entering 1591 Add the XML documentation tags (GhostDoc can be quite handy … Read more

IIS Express Windows Authentication

Visual Studio 2010 SP1 and 2012 added support for IIS Express eliminating the need to edit angle brackets. If you haven’t already, right-click a web-flavored project and select “Use IIS Express…”. Once complete, select the web project and press F4 to focus the Properties panel. Set the “Windows Authentication” property to Enabled, and the “Anonymous … Read more

This project references NuGet package(s) that are missing on this computer

In my case, I had to remove the following from the .csproj file: <Import Project=”$(SolutionDir)\.nuget\NuGet.targets” Condition=”Exists(‘$(SolutionDir)\.nuget\NuGet.targets’)” /> <Target Name=”EnsureNuGetPackageBuildImports” BeforeTargets=”PrepareForBuild”> <PropertyGroup> <ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> </PropertyGroup> <Error Condition=”!Exists(‘$(SolutionDir)\.nuget\NuGet.targets’)” Text=”$([System.String]::Format(‘$(ErrorText)’, ‘$(SolutionDir)\.nuget\NuGet.targets’))” /> … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)