Thanks,
Parham
So I assume you have a design-time and run-time assembly for your custom
controls. Check the resource name, in both the design-time and run-time
assemblies, using ildasm to see if they line up.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cptutorials/html/il_dasm_tutorial.asp
--
Tim Wilson
.Net Compact Framework MVP
"Parham" <parham.g...@gmail.com> wrote in message
news:1110300041.4...@z14g2000cwz.googlegroups.com...
And another question about csc: We can use /out switch for multiple cs
files in this format : /out: "c:\project\outputfolder"
"c:\project\*.cs"
*.cs instead of all files names, but how to this with resources :
/res:"c:\projects\*.bmp" (this is not working ! and i should add all
files - about 100 - manually ! )
Parham
I haven't tried the "*" approach for resource files so I cannot confirm or
deny that it works. However, if it indeed does not work then you can always
write a small application that will build your command line and save it into
a batch file. You can have the app run through the appropriate folder,
locate all files with a .bmp extension and add the appropriate information
into a string that you will write out to a .bat file on completion.
--
Tim Wilson
.Net Compact Framework MVP
"Parham" <parham.g...@gmail.com> wrote in message
news:1110305061.9...@z14g2000cwz.googlegroups.com...
--
Alex Feinman
---
Visit http://www.opennetcf.org
"Parham" <parham.g...@gmail.com> wrote in message
news:1110305061.9...@z14g2000cwz.googlegroups.com...
--
Tim Wilson
.Net Compact Framework MVP
"Parham" <parham.g...@gmail.com> wrote in message
news:1110309269.5...@z14g2000cwz.googlegroups.com...
Resources 'Ticket\Ticket.Pay.NotPayed.gif' and
'Ticket\Images\Ticket.Pay.NotPayed.gif' have the same manifest resource
name 'MyProjectControlLibrary.Ticket.Pay.NotPayed.gif'.
VS.net does not allow resources with the same name but in diffrent
folders In a VB.net ControlLibrary Project, all of the resources should
have a unique name.
I'm naming the first of bitmaps with the name of my control,so they
have diffrent names and also they are in diffrent folders, But
resources in the compiled dll do not have The folder name in thier
names. These are for my VB.net Windows Control Library and I have no
problem with it. I can have a single function to get all bitmaps from
resources only with thier file names.
VB compiler generate resource name by appending the resource file name
to the project default namespace but C# compiler append Folder name to
the default namespace and then append resource file name to it.
Why? Can we change this ?
Parham
--
Tim Wilson
.Net Compact Framework MVP
"Parham" <parham.g...@gmail.com> wrote in message
news:1110314940.8...@f14g2000cwb.googlegroups.com...