Now i am creating one test studio in c# to check my projects are build succeeded in all versions(2008,2010,2012,2013). By this studio. if i click VS2008 button means, it will open VS2008 exe with my projects. By this i would like to ensure build success in all versions.
Any one could you please provide your suggestion to me?
The version of Visual Studio doesnt necessarily match the version of .NET framework you are compiling with, and you dont need VS to do the compilation.
Just invoke the correct compiler for each version - 2.0, 4.0, etc. http://msdn.microsoft.com/en-us/library/ms379563(v=vs.80).aspx
if you are working with one of those project types that the compiler cant handle (setup and deployment), then you can use the devenv.exe command line for the appropriate VS version and add the /build switch
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.