publish multiple projects from VisualStudio

1

I have a solution with several web applications projects. How can I publish all of them at once? In VisualStudio 2010, the solution doesn't have an option to do that.

I found out this: http://msdn.microsoft.com/en-us/library/ms404233.aspx

Note that I do NOT use ClickOnce, I am trying to do the publish to a directory(for now).

Running the macro gives an error:

An exception of type 'System.NotImplementedException' occurred in VBAssembly but was not handled in user code

Additional information: Not implemented (Exception from HRESULT: 0x80004001 (E_NOTIMPL))

I can't understand why it cannot call Save() on the project object, since it is the project.

Thanks! Andrew

visual-studio-2010
deployment
asked on Stack Overflow Jun 12, 2012 by Andrei N.

1 Answer

0

I ran into the same issue with VS2012. You have to make publish profiles for every project. Maybe this post helps.

answered on Stack Overflow Jan 4, 2013 by StefanHa • edited May 23, 2017 by Community

User contributions licensed under CC BY-SA 3.0