Compiling MS Visual C# 2005 Express Edition (1 Viewer)

GadgetMan

Portal Member
March 31, 2007
24
0
Home Country
Hi guys,

I'm very proud of the work done to MP to date, and really need to assist with the cause.
I'm traditionally a VB GUI developer, but work with java day to day.
C# is a good compromise b/n the two and wanted to take this chance to further my knowledge in the area.

I have followed the instructions at http://wiki.team-mediaportal.com/MediaPortalDevelopment/CompilingMediaPortal, namely:
- Downloaded MS Visual C# Express
- Downloaded an installed Tortoise SVN
- Downloaded all the src from the main branch (trunk)
- Install the .NET 2.0 SDK
- Installed the DirectX SDK
- Run the "Build VCExpress MP.bat" (is that all you need)?

I've grown used to 'ant' tasks as such, which you simply kick off the one build to build it all etc.

Problem 1:
I see that when this batch file runs, I see a lot of files NOT being copied as expected.

Problem 2:
WebEPG-conf (the app I'm trying to enhance) is now kind of working, however when I try to modify the GUI with the GUI Designer, it compains about:
The path is not of a legal form.
at System.IO.Path.NormalizePathFast(String path, Boolean fullCheck)
at System.IO.Path.GetFullPathInternal(String path)
at System.Reflection.AssemblyName.GetAssemblyName(String assemblyFile)
at Microsoft.VisualStudio.Design.VSTypeResolutionService.AddProjectDependencies(Project project)
at Microsoft.VisualStudio.Design.VSTypeResolutionService.AssemblyEntry.get_Assembly()
at Microsoft.VisualStudio.Design.VSTypeResolutionService.AssemblyEntry.Search(String fullName, String typeName, Boolean ignoreTypeCase, Assembly& assembly, String description)
at Microsoft.VisualStudio.Design.VSTypeResolutionService.SearchProjectEntries(AssemblyName assemblyName, String typeName, Boolean ignoreTypeCase, Assembly& assembly)
at Microsoft.VisualStudio.Design.VSTypeResolutionService.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase, ReferenceType refType)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.AggregateTypeResolutionService.GetType(String name, Boolean throwOnError, Boolean ignoreCase)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.AggregateTypeResolutionService.GetType(String name, Boolean throwOnError)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.GetType(ITypeResolutionService trs, String name, Dictionary`2 names)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.FillStatementTable(IDesignerSerializationManager manager, IDictionary table, Dictionary`2 names, CodeStatementCollection statements, String className)
at System.ComponentModel.Design.Serialization.TypeCodeDomSerializer.Deserialize(IDesignerSerializationManager manager, CodeTypeDeclaration declaration)
at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager manager)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager serializationManager)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.DeferredLoadHandler.Microsoft.VisualStudio.TextManager.Interop.IVsTextBufferDataEvents.OnLoadCompleted(Int32 fReload)

Problem 3:
This may well be related to Problem 1, but when Environment.CurrentDirectory is referenced, it's not pointing to where I think it's supposed to look (I think 'mediaportal\xbmc\bin\Release')

Problem 4:
The references Core, Databases, Utils and WebEPG are all invalid in the Solution Explorer (sure, it's likely this is causing the majority of the problems, but what am I doing wrong?)
 

GadgetMan

Portal Member
March 31, 2007
24
0
Home Country
Really don't know what it was that fixed this, but re-opening the project after talking with the guys on IRC, I can now edit the GUI (which is great).
 

Users who are viewing this thread

Top Bottom