vs2013 想用c++开发.net 窗口程序 怎么没有了呢.是不是不支持了?
3个回答
展开全部
第一个问题,虽然manifest文件不是VS才有的,但你这个程序应该是VS开发的。
给你摘了一段msdn的介绍
A manifest is an XML document that can be an external XML file or a resource embedded inside an application or an assembly. The manifest of an isolated application is used to manage the names and versions of shared side-by-side assemblies to which the application should bind at run time. The manifest of a side-by-side assembly specifies its dependencies on names, versions, resources, and other assemblies.
There are two ways to create a manifest for an isolated application or a side-by-side assembly. First, the author of the assembly can manually create a manifest file following rules and naming requirements. Alternatively, if a program only depends on Visual C++ assemblies such as CRT, MFC, ATL or others, then a manifest can be generated automatically by the linker.
The headers of Visual C++ libraries contain assembly information, and when the libraries are included in application code, this assembly information is used by the linker to form a manifest for the final binary. The linker does not embed the manifest file inside the binary, and can only generate the manifest as an external file. Having a manifest as an external file may not work for all scenarios. For example, it is recommended that private assemblies have embedded manifests. In command line builds such as those that use nmake to build code, a manifest can be embedded using the manifest tool; for more information see Manifest Generation at the Command Line. When building in Visual Studio, a manifest can be embedded by setting a property for the manifest tool in the Project Properties dialog; see Manifest Generation in Visual Studio.
第二个问题:
.net平台和Java平台差不多呀,只要有了平台,就支持中间码的运行。但你这个程序应该不用.net支持。vs 2005中c++编程大致三种方式:基础api,mfc,clr.前二者不需要.net框架的支持,生成的是机器码。clr是托管代码,也就是托管c++,和c#,vb.net类似,需要.net框架支持,生成的是中间码。
给你摘了一段msdn的介绍
A manifest is an XML document that can be an external XML file or a resource embedded inside an application or an assembly. The manifest of an isolated application is used to manage the names and versions of shared side-by-side assemblies to which the application should bind at run time. The manifest of a side-by-side assembly specifies its dependencies on names, versions, resources, and other assemblies.
There are two ways to create a manifest for an isolated application or a side-by-side assembly. First, the author of the assembly can manually create a manifest file following rules and naming requirements. Alternatively, if a program only depends on Visual C++ assemblies such as CRT, MFC, ATL or others, then a manifest can be generated automatically by the linker.
The headers of Visual C++ libraries contain assembly information, and when the libraries are included in application code, this assembly information is used by the linker to form a manifest for the final binary. The linker does not embed the manifest file inside the binary, and can only generate the manifest as an external file. Having a manifest as an external file may not work for all scenarios. For example, it is recommended that private assemblies have embedded manifests. In command line builds such as those that use nmake to build code, a manifest can be embedded using the manifest tool; for more information see Manifest Generation at the Command Line. When building in Visual Studio, a manifest can be embedded by setting a property for the manifest tool in the Project Properties dialog; see Manifest Generation in Visual Studio.
第二个问题:
.net平台和Java平台差不多呀,只要有了平台,就支持中间码的运行。但你这个程序应该不用.net支持。vs 2005中c++编程大致三种方式:基础api,mfc,clr.前二者不需要.net框架的支持,生成的是机器码。clr是托管代码,也就是托管c++,和c#,vb.net类似,需要.net框架支持,生成的是中间码。
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
2013-12-27
展开全部
Visual Studio 2013将根据“go-live”许可证提供。.Net
4.5.1预览版是2013版预览版的一部分,也包含在Windows 8.1预览版所有的安装程序中。新的.Net预览版还为Windows
8、Windows 7、Windows Vista和相应的Windows服务器发布版提供单独的安装版本。
4.5.1预览版是2013版预览版的一部分,也包含在Windows 8.1预览版所有的安装程序中。新的.Net预览版还为Windows
8、Windows 7、Windows Vista和相应的Windows服务器发布版提供单独的安装版本。
追问
那c++ 还支持.net程序的开发吗?在新建里没找到 窗口程序.也没有其他的新建托管程序
追答
新建console工程 再添加代码 Debug
是Win32 console 工程,不是Win32工程
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询