VC ++ .NET中的致命错误C1190 [英] fatal error C1190 in VC++ .NET

查看:90
本文介绍了VC ++ .NET中的致命错误C1190的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

当我尝试编译代码并运行

时,我遇到致命错误C1190。任何人都可以为此提供解决方案吗?我想我需要设置

/ clr开关。

这是错误:


致命错误C1190:管理目标代码需要''#using

< mscorlib.dll>''和''/ clr''选项


它指向代码上的语法:


#using< mscorlib.dll>


<是的,我的代码的第三行!!!!> ;-)


如果有人为此提供解决方案,我将不胜感激! :-)谢谢

a多了!


Karthik

解决方案

< BLOCKQUOTE>< KA ******* @ gmail.com>在消息中写道

news:11 ********************* @ f14g2000cwb.googlegro ups.com ...

它。任何人都可以为此提供解决方案吗?我想我需要设置
/ clr开关。


是。

致命错误C1190:托管目标代码需要''#using
< mscorlib.dll>''和''/ clr''选项




从菜单中导航到此设置


项目 - >属性 - >配置属性 - >一般 - >使用管理

扩展


并将其设置为是


问候。




< ka ******* @ gmail.com>在消息中写道

news:11 ********************* @ f14g2000cwb.googlegro ups.com ...

它。任何人都可以为此提供解决方案吗?我想我需要设置
/ clr开关。


是。

致命错误C1190:托管目标代码需要''#using
< mscorlib.dll>''和''/ clr''选项




从菜单中导航到此设置


项目 - >属性 - >配置属性 - >一般 - >使用管理

扩展


并将其设置为是


问候。




Thnx很多意志!!!很快就解决了!


但现在......问题扩展到RTC和clr不兼容

问题...... :((.. ..


错误D2016:''/ RTC1''和''/ clr''命令行选项不兼容


任何想法那个?


Thnx再次!


干杯!

Karthik


Hello,
I am gettin a fatal error C1190 when I try to compile the code and run
it. Could anyone provide a solution for that? I guess I need to set the
/clr switch.
Here is the error:

fatal error C1190: managed targeted code requires ''#using
<mscorlib.dll>'' and ''/clr'' option

It points to the syntax on code:

#using <mscorlib.dll>

<Yeah the third line of my code!!!!> ;-)

Would appreciate if anyone cud provide a solution for this! :-) Thanks
a much!

Karthik

解决方案

<ka*******@gmail.com> wrote in message
news:11*********************@f14g2000cwb.googlegro ups.com...

it. Could anyone provide a solution for that? I guess I need to set the
/clr switch.
Yes.
fatal error C1190: managed targeted code requires ''#using
<mscorlib.dll>'' and ''/clr'' option



From the menu, navigate to this setting

Project->Properties->Configuration Properties->General->Use Managed
Extension

and set it to "yes"

Regards.
Will


<ka*******@gmail.com> wrote in message
news:11*********************@f14g2000cwb.googlegro ups.com...

it. Could anyone provide a solution for that? I guess I need to set the
/clr switch.
Yes.
fatal error C1190: managed targeted code requires ''#using
<mscorlib.dll>'' and ''/clr'' option



From the menu, navigate to this setting

Project->Properties->Configuration Properties->General->Use Managed
Extension

and set it to "yes"

Regards.
Will


Thnx a much Will!!! Solved it in a jiffy!

But now.. the problems extends to "RTC and clr incompatible"
issue...:((....

Error D2016: ''/RTC1'' and ''/clr'' command-line options are incompatible

Any thoughts on that?

Thnx again!

Cheers!
Karthik


这篇关于VC ++ .NET中的致命错误C1190的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆