Click here to Skip to main content
15,889,200 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
Hi,

I had created a custom project system by following the walkthrough https://msdn.microsoft.com/en-us/library/vstudio/cc512961.aspx?f=255&MSPPError=-2147217396. It is like a console application which is running in console window. But my need is to run a custom project in web browser like MVC applications. How can I achieve it? Please help me. Thanks in advance.
Posted
Comments
Sergey Alexandrovich Kryukov 2-Mar-15 1:20am    
Not clear. What does it mean "custom project"? What does it mean, "run a project"? If you mean ASP.NET MVC application, what make you thinking that it "runs in Web browser"?
—SA
Mathivanan KP 2-Mar-15 7:40am    
Hi SA, Thanks for your reply. Please see the above link which is about to create a custom Visual Studio project system. The output of that project is viewed by console window, but I want to launch web browser for display the output of the project like an MVC application.
Sergey Alexandrovich Kryukov 2-Mar-15 8:22am    
Now it's more clear, but 1) why? 2) comparison with "MVC application" is wrong. Also, what do you mean by output of the project? It that output of your application? what kind of application? or output of the build? or what? What's the purpose? You really need to explain the idea in detail.
—SA
Mathivanan KP 3-Mar-15 2:27am    
Hi SA, Thanks for your update. Sorry for the inconveniences. My need is want to create a custom project system which is a web application. That should launch the web browser for debug.
Sergey Alexandrovich Kryukov 3-Mar-15 8:44am    
No problem. It looks like you have to describe the idea and main features of such system, starting with the scenario. You need to explain it for the default behavior of the application, and the project, too. It will take much more text for you to write, to make it clear. I hardly can imagine that it can be solved just by writing project templates along. I have my own project templates and know what I am talking about. But I'm not sure that I understand what you are talking about.
—SA

1 solution

Mathivanan KP asked:
Could you please share any link?
Sure:
https://msdn.microsoft.com/en-us/library/dd393574.aspx[^],
https://msdn.microsoft.com/en-us/library/dd637714.aspx[^],
https://msdn.microsoft.com/en-us/library/ms171469.aspx[^],
https://msdn.microsoft.com/en-us/library/0k6kkbsd.aspx[^].

I must say that I pretty easily studied this documentation to create a non-standard build (in my case, it was aimed to build bigger multi-solution project which would be inconvenient for development if it was assembled in one solution). I developed custom tasks which can be built from scratch as special class libraries based on MSBuild API. Naturally, you can use incremental features of MSBuild (dependencies based on time stamps expressed in declarative ways) to guarantee that the Task tools are always built before they are used.

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900