Re: Packaging with Microsoft Visual Studio Solution File (sln)
On Tue, Feb 23, 2010 at 5:56 PM, Iain Lane <laney@ubuntu.com> wrote:
> Hiya,
>
> On Tue, Feb 23, 2010 at 05:46:49PM +0100, Mathieu Malaterre wrote:
>>
>> Hi,
>>
>> I am looking at:
>>
>> http://pkg-mono.alioth.debian.org/cli-policy/
>>
>> But I see no reference to Microsoft Visual Studio Solution File. Is
>> it ok if the debian/rules calls mdtool build ?
>> My goal being to package a C# project that comes with a .sln project
>> file.
>
> Yes, you can use xbuild or whatever to build your project. Just override the
> dh_auto_make target in debian/rules to do what you need.
>
> See git://git.debian.org/git/pkg-cli-apps/packages/pinta.git for a simple
> example which uses xbuild.
Cool !
I'll have to stick with 'mdtool build', since xbuild fails for me:
Target GenerateResources:
Compiling resource file 'AboutForm.resx' into
'obj/Debug/XSDDiagram.AboutForm.resources'
Compiling resource file 'DiagramControl.resx' into
'obj/Debug/XSDDiagram.DiagramControl.resources'
Compiling resource file 'DiagramControlContainer.resx' into
'obj/Debug/XSDDiagram.DiagramControlContainer.resources'
Compiling resource file 'ElementsForm.resx' into
'obj/Debug/XSDDiagram.ElementsForm.resources'
Compiling resource file 'ErrorReportForm.resx' into
'obj/Debug/XSDDiagram.ErrorReportForm.resources'
Compiling resource file 'MainForm.resx' into
'obj/Debug/XSDDiagram.MainForm.resources'
Compiling resource file 'Properties/Resources.resx' into
'obj/Debug/XSDDiagram.Properties.Resources.resources'
/usr/lib/mono/2.0/Microsoft.Common.targets: error : Invalid ResX
input. at System.Resources.ResXResourceReader.LoadData () [0x00000]
at System.Resources.ResXResourceReader.GetEnumerator () [0x00000]
at Microsoft.Build.Tasks.GenerateResource.CompileResourceFile
(System.String sname, System.String dname) [0x00000]
/usr/lib/mono/2.0/Microsoft.Common.targets: error : Error during
compiling resource file.
Task "GenerateResource" execution -- FAILED
Done building target "GenerateResources" in project
"/tmp/x/XSDDiagram.csproj".-- FAILED
I'll prepare the package for upload.
Thanks
--
Mathieu
Reply to: