How to compile using framework libraries?

别等时光非礼了梦想. 提交于 2019-12-13 04:26:08

问题


I have wrriten a managed code for SMO application.How can i comiled it using

.NETFRAMEWORK2.0. i dont wnat to use visulastudio due to certain limitataions.

how can i do this. can nay body help me in this regard.

msbuild.exe TestMsBuild.sln /:t Rebuild /:p configuration=release gives error as

TestMsBuild.sln : Solution file error MSB4054: The solution file must be opened in the Visual Studio IDE and converted to the latest version before it can be bu ilt by MSBuild.

even though my project is opend i got this error But as it shows i dont know how to convert to latest version


回答1:


Maybe because you misspelled "configuration?" If not that, then it might be your code. Without more information it is hard to tell.




回答2:


This looks like you're using VS2008 to compile a VS2005 solution (or 2005 to compile a 2003 one). Open the solution in VS2008, go through the upgrade wizard, save changes, close VS2008 and try the command line again.



来源:https://stackoverflow.com/questions/861949/how-to-compile-using-framework-libraries

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!