vs 2005 encounters error and needs to close upon loading MP (1 Viewer)

bartus

Portal Member
July 13, 2006
5
0
hi, after downloading mp code, i opened the MediaPortal.sln in vs 2005 and began opening forms, including mediaportal.cs. did not encounter problems there. when i reload the mp solution hence, vs 2005 prompts me that it has encountered a problem and needs to close. i dont have the directx sdk installed--not sure if this is the cause. ive built the release and debug versions of the solution.

ive copied and paste the error appearing in the designer window of Mediaportal.cs:

One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes.

Could not load file or assembly 'TVCapture, Version=1.0.2385.37227, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
Hide

at MediaPortal.D3DApp.SavePlayerState()
at MediaPortal.D3DApp.OnResize(EventArgs e) in f:\dev\xbmc\d3dapp.cs:line 2211
at System.Windows.Forms.Control.OnSizeChanged(EventArgs e)
at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height)
at System.Windows.Forms.Control.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
at System.Windows.Forms.Form.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
at System.Windows.Forms.Control.SetBounds(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
at System.Windows.Forms.Control.set_Size(Size value)
at System.Windows.Forms.Control.SetClientSizeCore(Int32 x, Int32 y)
at System.Windows.Forms.Form.SetClientSizeCore(Int32 x, Int32 y)
at System.Windows.Forms.Control.set_ClientSize(Size value)
at System.Windows.Forms.Form.set_ClientSize(Size value)
at MediaPortal.D3DApp..ctor() in f:\dev\xbmc\d3dapp.cs:line 331
 

mPod

Portal Pro
January 26, 2005
2,084
3
Berlin
Home Country
Germany Germany
Close all windows (source & forms), close vs, open mediaportal.sln again and rebuild all.
 

bartus

Portal Member
July 13, 2006
5
0
mPod said:
Close all windows (source & forms), close vs, open mediaportal.sln again and rebuild all.

tried closing the forms and cleaning and rebuilding the sln within vs 2005 only to have them reappear as well as the vs error dialog window when i open mp solution again.

also tried cleaning and rebuilding the debug version using msbuild. opened mp sln in vs 2005 and mediaportal.cs. it opens ok. when i reopen the sln, the error still occurs.
 

bartus

Portal Member
July 13, 2006
5
0
on the initial opening of the mp sln and mediaportal.cs after a full rebuild, when i close the sln, the error dialog window appears. could be a vs 2005 bug.
 

Users who are viewing this thread

Top Bottom