Home > error c1192 > error c1192

Error C1192

Contents

.NET Framework Class Libraries Question 0 Sign in to vote Hi error c1192 #using failed on I have a c++ dll someone else has worked

Vc++ Fatal Error C1192

on it. This dll refers System, System.Data etc. managed dlls. When I compile this project

Error 1 Error C1192 #using Failed

I get below error for PresentationCore. I have not refferred this dll in the project at all. So what could be the reason for

Fatal Error C1113: #using Failed On

getting this error. What could be probable steps which I can try to fix this. " Error1error C1192: #using failed on 'C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\PresentationCore.dll' AssemblyInfo.cpp" Regards JC Friday, November 02, 2012 10:13 AM Reply | Quote Answers 0 Sign in to vote Do exactly what the error message says to do. Add the reference to your project "PresentationCore".jdweng Marked as answer by Mike FengModerator Wednesday, November 07, 2012 2:43 PM Friday, November 02, 2012 1:49 PM Reply | Quote Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.Would you like to participate? Privacy statement Dev Centers Windows Office More... Related Sites Visual Studio Visual Studio Integrate VSIP Program Microsoft .NET Microsoft Azure Connect Forums Blog Facebook LinkedIn Stack Overflow Twitter Visual Studio Events YouTube Developer Resources Code samples Documentation Downloads Products & extensions for Visual Studio REST APIs Testing tools for web developers Videos and tutorials Virtual Labs United States (English) © 2016 Microsoft Terms of Use Trademarks Privacy Statement Site Feedback

Articles Technical Blogs Posting/Update Guidelines Article Help Forum Article Competition Submit an article or tip Post your Blog quick answersQ&A Ask a Question View Unanswered Questions View All Questions... C# questions Linux questions ASP.NET questions SQL questions VB.NET questions discussionsforums All Message Boards... Application Lifecycle> Running a Business Sales / Marketing Collaboration / Beta Testing Work Issues Design and Architecture ASP.NET JavaScript C / C++ / MFC> ATL / WTL / STL Managed C++/CLI C# Free Tools Objective-C and Swift Database Hardware & Devices> System Admin Hosting and Servers Java .NET Framework Android iOS Mobile SharePoint Silverlight / WPF Visual Basic Web Development Site Bugs https://social.msdn.microsoft.com/Forums/vstudio/en-US/157f28e1-4d95-4bf2-8a54-eb1f024fa602/error-c1192-using-failed-presentationcore?forum=netfxbcl / Suggestions Spam and Abuse Watch features Competitions News The Insider Newsletter The Daily Build Newsletter Newsletter archive Surveys Product Showcase Research Library CodeProject Stuff communitylounge Who's Who Most Valuable Professionals The Lounge   The Insider News The Weird & The Wonderful The Soapbox Press Releases Non-English Language > General Indian Topics General Chinese Topics help What is 'CodeProject'? General FAQ Ask a Question Bugs and Suggestions Article Help http://www.codeproject.com/Messages/1802050/fatal-error-C1192-sharpusing-failed-on-c-compressi.aspx Forum Site Map Advertise with us About our Advertising Employment Opportunities About Us Home » Discussions » C / C++ / MFC Feature Forums- Uncategorised posts - General Programming.NET Framework Algorithms ATL / WTL / STL C / C++ / MFC C# COM Delphi Design and Architecture Graphics Hardware & Devices Java LINQ Managed C++/CLI Objective-C and Swift Regular Expressions Silverlight / WPF Visual Basic Visual Studio Visual Studio 2015 & .NET 4.6 WCF and WF Windows 10, 8, and RT Windows API Windows Forms XML / XSL Web DevelopmentASP.NET Cloud Computing JavaScript Linux, Apache, MySQL, PHP SharePoint Web Development Mobile DevelopmentAndroid iOS Mobile Product LifecycleApplication Lifecycle Collaboration / Beta Testing Free Tools Running a Business Sales / Marketing Database & SysAdminDatabase Hosting and Servers System Admin General DiscussionsArticle Writing Buzzword Bingo CodeProject API Get-Togethers Press Releases Site Bugs / Suggestions Spam and Abuse Watch The Insider News The Lounge The Soapbox The Weird and The Wonderful Work Issues Non-English LanguageGeneral Chinese Topics General Indian Topics indicates new messages since 31-Dec-99 18:00 C / C++ / MFC You must Sign In to use this message board. Search Posts Profile popupsSpacing RelaxedCompactTight Layout NormalOpen TopicsOpen AllThread View Per page 102550 FirstPre

error messages. Tweet Most popular tags programming languages visual c++ compile time error messages http://www.errorbase.net/4975/fatal-error-c1192-%23using-failed-on-file programming-languages visual-c compile-time-error-messages java mysql dbms runtime-error-messages Photoshop oracle netbeans https://bytes.com/topic/net/answers/595867-c-debug-release-builds-project-references nudge photoshop mosek rasterize subversion php sql vector data svn facebook tomcat latex apache visual sap phpmyadmin runtime error messages c type layer windows eclipse-svn-subversion-java photos pool paypal sqlserver driver commit rsa 2010 adobe-premiere-pro c# jquery javascript firebug lyx error c1192 asp memory-leaks Fatal Error C1192: #using failed on (file) 0 votes Only a file in the Microsoft Intermediate Language (MSIL) format can be passed to a #using directive. compile time error messages programming languages visual c++ requested 5 years ago by errorbase (170,010 points) 3 Solutions 0 votes error c1192 #using This article is a derivative work based onhttp://msdn.microsoft.com/en-us/library/z2ky5tfk.aspx" title="http://msdn.microsoft.com/en-us/library/z2ky5tfk.aspx" target="_blank">Fatal Error C1192 which is provided by http://msdn.microsoft.com/en-us/library/60k1461a.aspx" title="http://msdn.microsoft.com/en-us/library/60k1461a.aspx" target="_blank">MSDN Community Content - Visual C++. solved 5 years ago by errorbase (170,010 points) 0 votes Write the solution section and give more details for the cause section. solved 5 years ago by errorbase (170,010 points) 0 votes solved 5 years ago by errorbase (170,010 points) Related errors 0 votes 3 solutions Fatal Error C1113: #using failed on (file) requested 5 years ago by errorbase (170,010 points) compile time error messages programming languages visual c++ 0 votes 3 solutions Fatal Error C1353: metadata operation failed: runtime not installed or version mismatch requested 5 years ago by errorbase (170,010 points) compile time error messages programming languages visual c++ 0 votes 3 solutions Fatal Error C1121: call to CryptoAPI failed requested 5 years ago by errorbase (170,010 p

help? Post your question and get tips & solutions from a community of 418,505 IT Pros & Developers. It's quick & easy. C++ debug/release builds and project references P: n/a Andrew Rowley I am having trouble getting debug and release builds to work properly with project references using C++ .NET and Visual Studio 2003. I created a test solution, with a basic Windows form C++ project. I then add a class library, and add a reference to this project in the first project. When I do a release build, I see the following in the output from the DLL compile: /OUT:"C:\Documents and Settings\Andrew\My Documents\Visual Studio Projects\DependencyTest\Release\test.dll" OK so far. When the windows form app compiles, however, I see: /FU "c:\Documents and Settings\Andrew\My Documents\Visual Studio Projects\DependencyTest\Debug\test.dll" Where does this "Debug" come from? Everywhere else in the output says "Release". Can anyone tell me what I am doing wrong? How can I use a debug version of a DLL for a debug build, and a release version for the release build? -- Andrew Rowley Feb 1 '07 #1 Post Reply Share this Question 6 Replies P: n/a =?Utf-8?B?QnJ1bm8gdmFuIERvb3JlbiBbTVZQIFZDKytd?= I am having trouble getting debug and release builds to work properly with project references using C++ .NET and Visual Studio 2003. I created a test solution, with a basic Windows form C++ project. I then add a class library, and add a reference to this project in the first project. When I do a release build, I see the following in the output from the DLL compile: /OUT:"C:\Documents and Settings\Andrew\My Documents\Visual Studio Projects\DependencyTest\Release\test.dll" OK so far. When the windows form app compiles, however, I see: /FU "c:\Documents and Settings\Andrew\My Documents\Visual Studio Projects\DependencyTest\Debug\test.dll" Where does this "Debug" come from? Everywhere else in the output says "Release". Can anyone tell me what I am doing wrong? How can I use a debug version of a DLL for a debug build, and a release version for the release build? Hi, How did you add the reference? Did you select the DLL by browsing to it, or did your use the 'projects' tab in the references dialog? Also, if you open build->configuration manager you can see how the debug / release builds are configured. It could be possible that your solution release config is set to use the release project setting for one project and the debug setting for another. -- Kind regards, Bruno. br**********************@hotmail.com Remove only "_nos_pam" Feb 1 '07 #2 P: n/a Andrew Rowley je***@online.micr

 

Related content

No related pages.