Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / November 2007

Tip: Looking for answers? Try searching our database.

Build problem with C++/CLI dll.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kei - 20 Nov 2007 16:42 GMT
I'm working on a VS 2005 solution which includes a project with WPF/
C#  for UI work, and several projects with C++/CLI for business
logic.

I often ran into a problem where C++/CLI dlls cannot be built because
IDE has these dlls loaded.

I believe IDE has to access to these dlls while I'm working on WPF/C#
because it has to know the types defined in the dlls.

Well, I work on WPF/C#  and C++/CLI projects on paralell, and being
unable to built C++/CLI dlls after I work on WPF/C# code is getting
really troublesome.

I wonder if anyone can suggest any solution.

Anyway to tell the IDE to unload the assembly dlls?

Thanks in advance,

Kei
Carl Daniel [VC++ MVP] - 20 Nov 2007 17:08 GMT
> I'm working on a VS 2005 solution which includes a project with WPF/
> C#  for UI work, and several projects with C++/CLI for business
[quoted text clipped - 13 lines]
>
> Anyway to tell the IDE to unload the assembly dlls?

Sadly, no.  Usually even closing the solution is not sufficient - you have
to completely recycle the devenv.exe process.

If you have a reproducible scenario, please open a bug report against VS2005
on Connect - http://connect.microsoft.com/VisualStudio/feedback.

VS2002/3 were riddled with "file locked by another process" bugs, many of
which were fixed in 2005, but it sounds like not quite all of them yet!

-cd

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.