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>

How to Publish Web with msbuild?

I got it mostly working without a custom msbuild script. Here are the relevant TeamCity build configuration settings: Artifact paths: %system.teamcity.build.workingDir%\MyProject\obj\Debug\Package\PackageTmp Type of runner: MSBuild (Runner for MSBuild files) Build file path: MyProject\MyProject.csproj Working directory: same as checkout directory MSBuild version: Microsoft .NET Framework 4.0 MSBuild ToolsVersion: 4.0 Run platform: x86 Targets: Package Command line … Read more

Dependent DLL is not getting copied to the build output folder in Visual Studio

I found that if ProjectX referenced the abc.dll but didn’t directly use any of the types DEFINED in abc.dll, then abc.dll would NOT be copied to the main output folder. (It would be copied to the ProjectX output folder, to make it extra-confusing.) So, if you’re not explicitly using any of the types from abc.dll … Read more

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