roopini n
roopini n

Reputation: 533

intelliSense error in c#

I am trying to create a setup project and adding the existing project to it.But i can see 3 solutions of my new setup project and if i try to run the code gives me the intelliSense error.Is it trying to rename my application ? and also i am trying to add the existing 2 projects along with setup.exe and one of my application is coded in .net 3.5 and other in 4.0. Is this creating any problem. I read many examples in online and din't find the relevant code.

    IntelliSense: cannot open source file "C:/project/workspace/code/MyApplication/Application1/Debug/libid:AC0714F2-3D04-11D1-AE7D-00A0C90F26F4.tlh"   c:\project\workspace\code\myaplicationl\application1\stdafx.h   48  2   MyAppliation

how can i resolve this???

I am using c# win forms .net 2010

Upvotes: 1

Views: 444

Answers (1)

user1610015
user1610015

Reputation: 6668

Try compiling the StdAfx.cpp file in every project that has one. .tlh files are automatically-generated files that are created by the #import directive (that's C++). But of course you need to compile any files that have #import directives in order for the .tlh files to be generated.

Upvotes: 1

Related Questions