I use Package' target Command line goes like MSBuild YourSolution. Sln /p:Configuration=Debug(or Your preferred conf) /t:Package Then all the files needed to run your app is created inside the folder you specified in your web application's property. Check web application's property -> Package/Publish web -> Location where package will be created Make sure your Configuration is matching (debug/release etc) EDIT From your comment, your web project is a web site project and not a web application project In this case, 'Publish' target can not be the option but 'AspNetCompiler' is the solution Create an xml file with below content and call it from MSBuild Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> Xml /p:Configuration.
I use Package' target. Command line goes like, MSBuild YourSolution. Sln /p:Configuration=Debug(or Your preferred conf) /t:Package Then all the files needed to run your app is created inside the folder you specified in your web application's property.
Check web application's property -> Package/Publish web -> Location where package will be created. Make sure your Configuration is matching (debug/release etc) -- EDIT -- From your comment, your web project is a web site project and not a web application project. In this case, 'Publish' target can not be the option but 'AspNetCompiler' is the solution.
Create an xml file with below content and call it from MSBuild. Reference to this task is here and you can configure all your un/check options. FixedName="True" equals the checking of 'use fixed naming and single page...' option.
Then you call this file from MSBuild instead of the solution file. MSBuild your. Xml /p:Configuration= As long as your class libraries are referenced by your web site project, they'll be built together.
My Solution contains 4 class projects and one website, I want to build the project first and then Publish the website. Can you please write a psudo code for this senario? The only setting for publish is Use Fixed naming and single page assemblies and other checkboxes shouldn't be checked.
Thank you in advance – Nasser Hadjloo May 2 at 8:36 Your answer is exatly what I'm looking for, but unfortunately when I run your command (MSBuild command) I face with an error, This Application is already Precompiled. What is it for. – Nasser Hadjloo May 2 at 9:38 my problem resolved by removing PrecomciledWeb.
Config from the path. – Nasser Hadjloo May 2 at 9:49.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.