web-deployment-project

Reference DLL file not copying to bin with deployment project, causing error

心不动则不痛 提交于 2019-11-27 04:11:28
问题 We have several external DLL files being referenced in our Web Application Project. We have a deployment project for installing on the hosting servers. When we were using .NET 3.5 and Visual Studio 2008 the DLL files were being copied to the bin folder. Since we have upgraded to .NET 4 and Visual Studio 2010 this no longer happens, and we are getting server errors since the references cannot be found. CopyLocal is set to true, and I cannot find anything inside the web.config which suggests

Using NuGet with *.dll.refresh files in ASP.NET “Web Site” projects with Web Deployment Projects

余生长醉 提交于 2019-11-27 01:46:01
问题 If you have an ASP.NET Web Site project type (the one without a proper .csproj or .vpproj project file and that is just a folder of loose files), then when you add a package with NuGet, it makes a *.dll.refresh file in the Bin directory to reference the package's dll in the parent packages folder. For example, if you execute "install-package elmah" from the Package Manager Console, then Elmah is placed in the packages folder in the project's solution directory, and the file Elmah.dll.refresh

Deploying just HTML, CSS webpage to Tomcat

帅比萌擦擦* 提交于 2019-11-26 21:28:10
I am just getting started on developing a website . All I have at the moment is a HTML page supported by a couple of CSS stylesheets . Can I create a WAR file from the HTML and CSS pages ? How do I deploy them on to a Tomcat server ? Thanks. There is no real need to create a war to run it from Tomcat. You can follow these steps Create a folder in webapps folder e.g. MyApp Put your html and css in that folder and name the html file, which you want to be the starting page for your application, index.html Start tomcat and point your browser to url "http://localhost:8080/MyApp". Your index.html

Will Web Deployment Projects still be available in Visual Studio 2012?

会有一股神秘感。 提交于 2019-11-26 20:34:15
问题 It looks like Visual Studio 2012 will not include Visual Studio Setup and Deployment Projects according to MSDN, so I'm currently learning WiX. Will this loss of functionality extend to Web Deployment Projects? 回答1: Web Deployment Projects will NOT be available in VS2012. Instead we will focus on bringing first class publishing support for Website projects. You can read more details at http://blogs.msdn.com/b/webdev/archive/2012/08/06/plans-regarding-website-projects-and-web-deployment

appSettings vs applicationSettings. appSettings outdated? [duplicate]

亡梦爱人 提交于 2019-11-26 18:01:03
问题 This question already has an answer here: Pros and cons of AppSettings vs applicationSettings (.NET app.config / Web.config) 5 answers I've got some questions about two ways to save settings in the web.config. Appsettings : Look in web.config <appSettings> <add key="key1" value="value1"/> <add key="key2" value="value2"/> </appSettings> Usage in code-behind : ConfigurationManager.AppSettings["key1"]; ApplicationSettings/ Properties (autogenerated by using the 'properties'-tab in the project)

Deploying just HTML, CSS webpage to Tomcat

冷暖自知 提交于 2019-11-26 09:06:13
问题 I am just getting started on developing a website . All I have at the moment is a HTML page supported by a couple of CSS stylesheets . Can I create a WAR file from the HTML and CSS pages ? How do I deploy them on to a Tomcat server ? Thanks. 回答1: There is no real need to create a war to run it from Tomcat. You can follow these steps Create a folder in webapps folder e.g. MyApp Put your html and css in that folder and name the html file, which you want to be the starting page for your