niptucker / paint-mono

Automatically exported from code.google.com/p/paint-mono
Other
0 stars 0 forks source link

Compile fails with "Error during emitting `System.Runtime.InteropServices.MarshalAsAttribute' attribute." #5

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Get Paint.NET source from paint-mono SVN repo
2. Open src/paintdotnet.sln in MonoDevelop
3. Recompile

What is the expected output? What do you see instead?
Expected(more like hoped) it to compile.
Instead, had 5 errors ~like:

"[Task:File=/home/super/src/pdn_src_3_0/src/SetupNgen/SetupNgen.cs,
Line=91, Column=18, Type=Error, Priority=Normal, Description=Error during
emitting `System.Runtime.InteropServices.MarshalAsAttribute' attribute. The
reason is `SizeParamIndex field is not valid for the specified unmanaged
type'(CS0647)]"

What version of the product are you using? On what operating system?
pdn? According to SVN, "revision 57".

Please provide any additional information below.
1.) Also had this, possibly unrelated, error:

"[Task:File=/home/super/src/pdn_src_3_0/src/SetupNgen/SetupNgen.cs,
Line=643, Column=30, Type=Warning, Priority=Normal, Description=The
variable `platform' is assigned but its value is never used(CS0219)]"

2.) MONO from Ubuntu Hardy (8.04) repositories; version 1.2.6
3.) MonoDevelop ... version 0.18.1

Original issue reported on code.google.com by benjo...@gmail.com on 3 Mar 2008 at 1:03

GoogleCodeExporter commented 9 years ago
On opening the project in MonoDevelop I also received a dialog with the 
following
message:
"/home/super/src/pdn_src_3_0/src/paintdotnet.sln(10): Unsupported or 
unrecognized
project : 'Setup\Setup.vdproj'. See logs.
/home/super/src/pdn_src_3_0/src/paintdotnet.sln(16): Unsupported or unrecognized
project : 'WIAAutSDK\MergeModule\WIAAutSDK MergeModule.vdproj'. See logs.
/home/super/src/pdn_src_3_0/src/paintdotnet.sln(18): Unsupported or unrecognized
project : 'Setup-Config\Setup-Config.vcproj'. See logs.
/home/super/src/pdn_src_3_0/src/paintdotnet.sln(45): Unsupported or unrecognized
project : 'Strings\Strings.vcproj'. See logs.
/home/super/src/pdn_src_3_0/src/paintdotnet.sln(53): Unsupported or unrecognized
project : 'SetupShim\SetupShim.vcproj'. See logs.
/home/super/src/pdn_src_3_0/src/paintdotnet.sln(57): Unsupported or unrecognized
project : 'ShellExtension\ShellExtension_x86\ShellExtension_x86.vcproj'. See 
logs.
/home/super/src/pdn_src_3_0/src/paintdotnet.sln(59): Unsupported or unrecognized
project : 'ShellExtension\ShellExtension_x64\ShellExtension_x64.vcproj'. See 
logs.
/home/super/src/pdn_src_3_0/src/paintdotnet.sln(63): Unsupported or unrecognized
project : 'GeneratedCode\GeneratedCode.vcproj'. See logs."

Do you think this is related? Where would I find the logs?

Thanks; would really like to see a working port of Paint.NET in MONO, and I'm
learning C++ in school, so if I can help any I will. ^.^

Original comment by benjo...@gmail.com on 3 Mar 2008 at 1:54

GoogleCodeExporter commented 9 years ago
I got the question too

Original comment by 88wangho...@gmail.com on 21 Oct 2010 at 3:19