ASP.NET Multi-Proc Publish Visual Studio 2013 - asp.net

I have an asp.net 4.0 project which uses visual studio publishing. Is there a way I can speed it up possibly by forcing multi-proc build?
It is using aspnet_compiler and aspnet_merge. I couldn't see any cmd line switches for multi-thread/ multi-proc support.
I already have an SSD and it didn't seem to speed up the compile time much when it was added.

http://msdn.microsoft.com/en-us/library/bb385193.aspx
I might be wrong, but if you build before you publish and do not make changes you should not have to re-build during publish. Therefore, using information from the above article you should be able to build it much faster.

Related

How to speed up compile time in visual studio 2010

I have a very large web site solution in visual studio 2010 with lots of web forms and user controls. The problem is that every time I compile this web site, it tooks more that 5 minutes to complete. If there was an error, when I fix it and build again, compile starts from scratch and compiles previously compiled components.
I tried the command line command asp_compiler.exe it tooks only 10 seconds.
So, what is the difference between visual studio compile and asp_compiler command and how can I speed up visual studio compiler?
asp_compiler isn't doing what vs is doing.
Reasons
Slow machine is one.
Antivirus getting in the way, put source in a specific path and exclude it for A/V
Break your code up in to seperate dlls, and minimise the number of places one can touch the other.
in aspnet_compiler, there is a command line -c that forces aspnet_compiler to compile from scratch, I thought visual studio will add this switch (parameter) in calling aspnet_compiler
but I do not how to force vs to not do that

Compiling ASP.NET

I'm compiling ASP.NET code for the first time ever and I'm stumped.
I downloaded MINGW-Get and just finished installing it. The client gave me the source code and I found a file called RSConfig.exe.
So I assumed that was the config file, ran it, and then tried "make" but got the error
No targets specified and no makefile found. Stop
Any idea what I'm supposed to do? I don't see anything that would resemble a makefile in the source code.
Thanks in advance!
Do yourself a favour and install Visual Studio Express:
http://www.microsoft.com/visualstudio/en-us/products/2010-editions/express
It makes development easier and fast
It sounds like you might want to get familiar with the background concepts around asp.net and it's defacto development environment Visual Studio (there are many versions of visual studio).
As Andrei recommends, using Visual Studio Express is a good free way of getting started. The version most suited for web development is Visual Web Developer Express.
Attempting to compile .net code from a toolset such as MinGW isn't a typical route for using asp.net, however I've not used MinGW before and not sure it's possible to compile .net code from it.... Although it is perfectly possible to compile .net code from the command line (using the .net framework sdk) , I certainly wouldn't recommend it if you are getting started.
I'm going to make a guess that it is an ASP.net web forms project, it being the most prolific asp.net project type at the moment.
This official asp.net site http://www.asp.net/web-forms will guide you through what web forms are and how to get the development environment setup. Having this sort of background will aid you in solving your particular situation.

If I build a web application in ASP.NET, am I married to Visual Studio?

Doesn't Visual Studio generate all kinds of things when you build asp.net websites? I haven't used it in a while but back in webforms with a the dal and a bll, VS generated xml files and other things (don't remember what). And, while I technically could use notepad to fix it, VS seemed to be the only way to make sure things worked right.
How about today with MVC or something else asp.net? Am I tied to Visual Studio forever if I want to build websites? I liked in PHP that I can open up a file and it be simple to change things and it just works.
I am not knocking Visual Studio. It is a great product, but for those in my group that do not use it, it is a learning curve. Not asking for why asp.net is better than php or vice versa, just about visual studio.
EDIT: Is Visual Studio the BEST way to build asp.net projects?
You can use MonoDevelop, Webmatrix, Visual Studio Express but i suggest SharpDevelop, its open source.
sharpDevelop (short for SharpDevelop) is a free IDE for C#, VB.NET and Boo projects on Microsoft's .NET platform. It is open-source, and you can download both sourcecode and executables from this site. In addition, you can find the latest information and changes on #develop, as well as get in touch with the team in the forum.
More Information
SharpDevelop Website
MonoDevelop
Webmatrix
Visual Studio Express
No, you can build with MSBuild from command line, just simple msbuild.exe app.sln
You can also use MonoDevelop, which will run on Windows/Mac/Linux.
You could use Microsoft WebMatrix, which is free and aims to simplify the web development process. Another alternative is MonoDevelop, which is an open source IDE for multiple platforms.

Tool to update ASP.NET Web.config from 3.5 to 4.0

I'm in the middle of updating some applications from ASP.NET 3.5 to 4.0. The Visual Studio 2010 wizard does a nice job of converting the project file and the web.config, but I have several other web.config files for different environments (staging, production, etc.) that I also need to upgrade.
Is there a Visual Studio tool, command line utility, or other method for upgrading these web.config files? I basically need to manually run the same wizard that Visual Studio runs automatically.
Unfortunately I never found a way to do this and ended up manually updating the config files. Once I knew the things that the wizard would do, it wasn't too hard to replicate, but it is a little tedious. Here's a good reference for what to change: msdn.microsoft.com/en-us/library/dd483478.aspx (see the section on manual upgrades).

Automating MSI Build Process

Does anyone have a good way to build MSI (vdproj) projects using MsBuild or Nant?
I know one answer was to install Visual Studio on the build server and just use devenv.exe to build the project, but, I prefer not to install Visual Studio on our build servers.
Short of the method you mentioned above (devenv), there is no way to do this with the current version of MSBuild.
The method the Visual Studio team uses to run their MSI builds is with Windows Installer XML. You can learn more about using WiX to deploy setup packages here.
Please note WiX doesn't support vdproj files so it means you'll be recreating your installer projects.
Edit: Looks like I was beat to the chase when grabbing my references :)
We use Wix to automate MSI builds for IronPython and IronRuby.
EDIT: to clarify, this probably means starting over from scratch when building your installer. While Wix has a mechanism to create a configuration directly from a preexisting MSI file, I've never gotten a satisfactory result from using this tool

Resources