Visual web developer Express 2008 does not have the facility to publish a website. The following steps will help you to embed this command in Visual Web Developer 2008:
- Launch Visual Web Developer Express 2008.
- Select Tools, then External Tools which will display the External Tools dialog. In the Title box, enter Publish &Website(non-overwrite).
- Click the browse button next to the Command box and browse to aspnet_compiler.exe which will be located in c:\Windows\Microsoft.NET\Framework\v2.0.50727.
- Click Open to add the command line for aspnet_compiler.exe.
Now that you've got the correct command line for the aspnet_compiler.exe, it's time to add the arguments that will correctly pre-compile your application. This is where you'll see the true power of the External Tools dialog.
- Type -p " in the Arguments box. (That's an opening double-quote after the p.)
- Click the right-facing arrow next to the Arguments box and select Project Directory.
- Add a trailing double-quote to the Arguments box.
- Press the spacebar to add a space at the end of the existing arguments.
- Type -v / " after the space you just entered.
- Click the right-facing arrow next to the Arguments box and select Project Directory.
- Type \..\CompiledApp" after the existing arguments.
- At this point, the Arguments box should contain the following:
-p "$(ProjectDir)" -v / "$(ProjectDir)\..\CompiledApp" - Type -u.
-p "$(ProjectDir)" -v / "$(ProjectDir)\..\CompiledApp" -u
Hope this will help you guyz to work with VS developer express 2008.
Regards,
Amit Kumar Dhiman
Development Matrimonial Project:
URL: http://www.citymatrimonials.com