Click here to Skip to main content
15,887,596 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
C#
i want to create a windows form application in asp.net which will build the solution or projects pro-grammatically using ms-build .please provide me source code and give some idea 


What I have tried:

i want to know i have to generate project file dynamically or directly i can create project file.
Posted
Updated 26-Jul-16 4:51am
v2
Comments
OriginalGriff 21-Jul-16 4:12am    
And?
What have you tried?
Where are you stuck?
What help do you need?
vishalpankaj21 21-Jul-16 5:47am    
i want complete overview of this scenario how should i proceed and also i have tried a lot but didnot found any good idea will you please help me on this.
OriginalGriff 21-Jul-16 5:56am    
So you haven't done anything at all yet?
vishalpankaj21 21-Jul-16 7:49am    
i have done means i have created project file but i want to know either i have to create project file dynamically or not.and how shall i proceed after that.
ZurdoDev 21-Jul-16 8:13am    
Why?

1 solution

First you will need to install all the msbuild and .NET programs (compilers, resource generators, linkers etc.) required to create a forms application. You will then need some way of capturing source code in your ASP.NET web pages, saving it to some location on the server, generating the msbuild script and running it. If you run a simple project build in Visual Studio you can examine all the run files to see what is required. You can also go to MSDN and study the product at your leisure.
 
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