Search
Closed
as Fixed Help for as Fixed

2
Sign in to vote
0
Sign in to vote
Sign in
to vote
Type: Bug
ID: 508990
Opened: 11/7/2009 9:11:47 AM
Access Restriction: Public
0
Workaround(s)
2
User(s) can reproduce this bug
VC++ CLR-Console, CLR-Form application project を生成し、
そのまま何も手を加えずに build すると

AssemblyInfo.cpp(1): fatal error C1859: 'Debug\CLR_Console.pch' 予期しないプリコンパイル済みヘッダー エラーです。コンパイラを再度実行するだけで、問題が解決する場合があります。

となり、buildに失敗しました。
# pre-compile-headerを使わなければbuild成功します。

Multi Language 対応と聞いていたので、VS2010beta2-ENU を un-install せずに
VS2010beta2-JA を install したのですが(installは正常に終了しました)、それが原因とは
考えにくいです。
Details (expand)

製品名

Visual Studio 2010 Beta 2

オペレーティング システム

Windows Vista

再現手順

see description

実際の結果

see description

期待した結果

normally compiled.
File Attachments
0 attachments
Sign in to post a comment.
Posted by Microsoft on 11/8/2009 at 9:45 PM
この度は、フィードバックをお送りいただき、誠にありがとうございます。 現在、お送りいただきました報告内容に基づき問題を調査中ですので、しばらくお待ちください。 よろしくお願いいたします。

[Problem Description]
When I create a VC++ CLR Console Application or a CLR Windows Forms Application project and build it without editing anything, build fails with the following error:

"AssemblyInfo.cpp(1): fatal error C1859: 'Debug\CLR_Console.pch' unexpected precompiled header error, simply rerunning the compiler might fix this problem."

* When a precompiled header is not used, it can be built.

Since I heard multi-language is supported, I installed the Japanese version of Visual Studio 2010 Beta 2 without uninstalling the English version of Visual Studio 2010 Beta 2. (Installation was successfully completed.) It's hard to believe this is the cause.

[Repro Steps]
See Problem Description.

[Actual Results]
See Problem Description.

[Expected Results]
Normally compiled.
Posted by Microsoft on 11/10/2009 at 1:38 AM
Thank you for your feedback, We are currently reviewing the issue you have submitted.

Thank you,
Visual Studio Product Team
Posted by Microsoft on 11/10/2009 at 4:54 PM
(こちらは、[投稿者: Microsoft、投稿日時: 2009/11/10 1:38] の和訳です。)

フィードバックをお寄せいただき、ありがとうございます。 私たちは現在、επιστημη さんからご投稿いただきました問題を再調査しております。 よろしくお願いいたします。

Visual Studio 製品チーム
Posted by Microsoft on 11/12/2009 at 7:42 PM
Thanks for your feedback.

We are rerouting this issue to the appropriate group within the Visual Studio Product Team for triage and resolution. These specialized experts will follow-up with your issue.

Thank you
Posted by Microsoft on 11/12/2009 at 8:08 PM
(こちらは、[投稿者: Microsoft、投稿日時: 2009/11/12 19:42] の和訳です。)

フィードバックをお寄せいただき、ありがとうございます。 こちらの問題に関しましては、調査および解決に向けて、Visual Studio 製品チーム内の担当グループに報告させていただきました。 今後は、同チームの専門のエンジニアがこちらの問題の調査を続けます。 よろしくお願いいたします。
Posted by Microsoft on 11/13/2009 at 7:53 AM
Hello,

Thank you for submitting this feedback. I suspect that you have recently installed Visual Studio 2010 Beta 2 on Windows 7. If that is the case, this bug will be repaired in the final release of Visual Studio 2010. Please see the following blog post for more information:

http://blogs.msdn.com/vcblog/archive/2009/11/12/visual-c-precompiled-header-errors-on-windows-7.aspx

Thanks,
Mark
Posted by επιστημη on 11/13/2009 at 8:03 AM
> I suspect that you have recently installed Visual Studio 2010 Beta 2 on Windows 7

No. This difficulty is under Windows Vista Ultimate 64 (Japanese).
Posted by Microsoft on 11/15/2009 at 5:40 PM
(こちらは、[投稿者: Microsoft、投稿日時: 2009/11/13 7:53] の和訳です。 こちらのフィードバックを閲覧される方のために和訳させていただきました。)

こんにちは、

フィードバックをご投稿いただき、ありがとうございます。 私は、επιστημη さんが最近、Windows 7 に Visual Studio 2010 Beta 2 をインストールされたのではないかと推測します。 もしそのようでしたら、こちらのバグに関しましては、Visual Studio 2010 の最終リリース版で修正される予定です。 詳細に関しましては、以下のブログ投稿をご覧ください。 よろしくお願いいたします。

http://blogs.msdn.com/vcblog/archive/2009/11/12/visual-c-precompiled-header-errors-on-windows-7.aspx (英語)

Mark
Posted by Microsoft on 11/17/2009 at 3:56 PM
Hello,

That's interesting that you are encountering this behavior on Windows Vista. We usually encounter this behavior on Windows 7, but it can also occur on Vista. Fortunately, the fix that we provided is OS agnostic so your issue should be resolved in the final release of Visual Studio.

Thanks,
Mark Roberts
Visual C++ Team
Posted by Microsoft on 11/17/2009 at 5:22 PM
(こちらは、[投稿者: Microsoft、投稿日時: 2009/11/17 15:56] の和訳です。)

こんにちは、

επιστημη さんが Windows Vista 上でこの動作に遭遇されているということは、興味深いところです。 この動作は通常 Windows 7 で発生するものですが、Windows Vista で発生する可能性もあります。 幸いなことに、私たちが行ないました修正は OS にとらわれないものですので、επιστημη さんの問題は、Visual Studio の最終リリース版で解決するはずです。 よろしくお願いいたします。

Mark Roberts
Visual C++ チーム
Posted by Microsoft on 11/23/2009 at 11:04 AM
Hi: thanks for the feedback. This is a known issue that has already been fixed in the post Beta-2 builds of the compiler. As a workaround you can disable using pre-compiled headers.

Jonathan Caves
Visual C++ Compiler Team
Posted by Microsoft on 11/23/2009 at 6:59 PM
(こちらは、[投稿者: Microsoft、投稿日時: 2009/11/23 11:04] の和訳です。)

こんにちは。 フィードバックをお寄せいただき、ありがとうございます。 こちらは、Beta 2 後のコンパイラのビルドで修正された既知の問題です。 1つの回避策としましては、プリコンパイル済みヘッダーを使用しないようにしてください。

Jonathan Caves
Visual C++ コンパイラ チーム