问题描述
我为SMO应用程序编写了托管代码。如何使用
I have wrriten a managed code for SMO application.How can i comiled it using
.NETFRAMEWORK2.0对其进行编译。由于某些局限性,我不愿意使用visulastudio。
.NETFRAMEWORK2.0. i dont wnat to use visulastudio due to certain limitataions.
我该怎么做。
msbuild.exe TestMsBuild.sln /:t Rebuild /:p configuration = release会给出错误,因为
msbuild.exe TestMsBuild.sln /:t Rebuild /:p configuration=release gives error as
TestMsBuild.sln:解决方案文件错误MSB4054:必须先在Visual Studio IDE中打开解决方案文件
,然后将其转换为最新版本,然后MSBuild才能将其解决。
TestMsBuild.sln : Solution file error MSB4054: The solution file must be openedin the Visual Studio IDE and converted to the latest version before it can be built 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
推荐答案
这似乎是您使用VS2008来编译VS2005解决方案(或使用2005来编译2003解决方案)。在VS2008中打开解决方案,通过升级向导,保存更改,关闭VS2008并再次尝试命令行。
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.
这篇关于如何使用框架库进行编译?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!