VS2010 Web Publish command line version of File System deploy

Ok, finally figured this out. The command line you need is: msbuild path/to/your/webdirectory/YourWeb.csproj /p:Configuration=Debug;DeployOnBuild=True;PackageAsSingleFile=False You can change where the project outputs to by adding a property of outdir=c:\wherever\ in the /p: section. This will create the output at: path/to/your/webdirectory/obj/Debug/Package/PackageTmp/ You can then copy those files from the above directory using whatever method you’d like. I’ve … Read more

Exclude files from web site publish in Visual Studio

Exclude files and folders by adding ExcludeFilesFromDeployment and ExcludeFoldersFromDeployment elements to your project file (.csproj, .vbproj, etc). You will need to edit the file in a text editor, or in Visual Studio by unloading the project and then editing it. Add the tags anywhere within the appropriate PropertyGroup (Debug, Release, etc) as shown below: <PropertyGroup … Read more

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