IndeedMiners / PolarisBiosEditor

Polaris Bios Editor PBE 1.7.6
http://polaris-bios-editor.eu/
157 stars 41 forks source link

Unable to build 1.7.5 on linux system #18

Open tcarecolin opened 3 years ago

tcarecolin commented 3 years ago

Hello, i am having issues building this version on my kubuntu 20.04 OS

$ ./build.sh 
PolarisBiosEditor.cs(1520,25): warning CS0219: The variable `num' is assigned but its value is never used
PolarisBiosEditor.cs(1525,25): warning CS0219: The variable `num' is assigned but its value is never used
PolarisBiosEditor.cs(1530,25): warning CS0219: The variable `num' is assigned but its value is never used
PolarisBiosEditor.cs(1539,25): warning CS0219: The variable `num' is assigned but its value is never used
PolarisBiosEditor.cs(1544,25): warning CS0219: The variable `num' is assigned but its value is never used
PolarisBiosEditor.cs(1572,24): warning CS0219: The variable `num' is assigned but its value is never used
PolarisBiosEditor.cs(1581,25): warning CS0219: The variable `num' is assigned but its value is never used
PolarisBiosEditor.cs(1586,25): warning CS0219: The variable `num' is assigned but its value is never used
PolarisBiosEditor.cs(1614,25): warning CS0219: The variable `num' is assigned but its value is never used
PolarisBiosEditor.cs(24,18): warning CS0414: The private field `PolarisBiosEditor.PolarisBiosEditor.manufacturers' is assigned but its value is never used
PolarisBiosEditor.cs(85,17): warning CS0414: The private field `PolarisBiosEditor.PolarisBiosEditor.hasInternetAccess' is assigned but its value is never used
Compilation succeeded - 11 warning(s)

and if i try to run it i got errors:

$ ./run.sh 

Unhandled Exception:
System.Resources.MissingManifestResourceException: Could not find any resources appropriate for the specified culture or the neutral culture.  Make sure "PolarisBiosEditor.PolarisBiosEditor.resources" was correctly embedded or linked into assembly "PolarisBiosEditor" at compile time, or that all the satellite assemblies required are loadable and fully signed.
  at System.Resources.ManifestBasedResourceGroveler.HandleResourceStreamMissing (System.String fileName) [0x000ca] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 
  at System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet (System.Globalization.CultureInfo culture, System.Collections.Generic.Dictionary`2[TKey,TValue] localResourceSets, System.Boolean tryParents, System.Boolean createIfNotExists, System.Threading.StackCrawlMark& stackMark) [0x00110] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 
  at System.Resources.ResourceManager.InternalGetResourceSet (System.Globalization.CultureInfo requestedCulture, System.Boolean createIfNotExists, System.Boolean tryParents, System.Threading.StackCrawlMark& stackMark) [0x000ad] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 
  at System.Resources.ResourceManager.InternalGetResourceSet (System.Globalization.CultureInfo culture, System.Boolean createIfNotExists, System.Boolean tryParents) [0x00002] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 
  at System.Resources.ResourceManager.GetObject (System.String name, System.Globalization.CultureInfo culture, System.Boolean wrapUnmanagedMemStream) [0x00085] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 
  at System.Resources.ResourceManager.GetObject (System.String name) [0x00000] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 
  at PolarisBiosEditor.PolarisBiosEditor.InitializeComponent () [0x01872] in <664f10ba04ae45f29ff68d3bff270a71>:0 
  at PolarisBiosEditor.PolarisBiosEditor..ctor () [0x0014e] in <664f10ba04ae45f29ff68d3bff270a71>:0 
  at (wrapper remoting-invoke-with-check) PolarisBiosEditor.PolarisBiosEditor..ctor()
  at PolarisBiosEditor.PolarisBiosEditor.Main (System.String[] args) [0x00000] in <664f10ba04ae45f29ff68d3bff270a71>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.Resources.MissingManifestResourceException: Could not find any resources appropriate for the specified culture or the neutral culture.  Make sure "PolarisBiosEditor.PolarisBiosEditor.resources" was correctly embedded or linked into assembly "PolarisBiosEditor" at compile time, or that all the satellite assemblies required are loadable and fully signed.
  at System.Resources.ManifestBasedResourceGroveler.HandleResourceStreamMissing (System.String fileName) [0x000ca] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 
  at System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet (System.Globalization.CultureInfo culture, System.Collections.Generic.Dictionary`2[TKey,TValue] localResourceSets, System.Boolean tryParents, System.Boolean createIfNotExists, System.Threading.StackCrawlMark& stackMark) [0x00110] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 
  at System.Resources.ResourceManager.InternalGetResourceSet (System.Globalization.CultureInfo requestedCulture, System.Boolean createIfNotExists, System.Boolean tryParents, System.Threading.StackCrawlMark& stackMark) [0x000ad] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 
  at System.Resources.ResourceManager.InternalGetResourceSet (System.Globalization.CultureInfo culture, System.Boolean createIfNotExists, System.Boolean tryParents) [0x00002] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 
  at System.Resources.ResourceManager.GetObject (System.String name, System.Globalization.CultureInfo culture, System.Boolean wrapUnmanagedMemStream) [0x00085] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 
  at System.Resources.ResourceManager.GetObject (System.String name) [0x00000] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 
  at PolarisBiosEditor.PolarisBiosEditor.InitializeComponent () [0x01872] in <664f10ba04ae45f29ff68d3bff270a71>:0 
  at PolarisBiosEditor.PolarisBiosEditor..ctor () [0x0014e] in <664f10ba04ae45f29ff68d3bff270a71>:0 
  at (wrapper remoting-invoke-with-check) PolarisBiosEditor.PolarisBiosEditor..ctor()
  at PolarisBiosEditor.PolarisBiosEditor.Main (System.String[] args) [0x00000] in <664f10ba04ae45f29ff68d3bff270a71>:0 

i have the exact same issue with versions 1.7.4 to 1.7.0 note: the version 1.6.7 has worked fine !

any help is welcome, thanks

guub187 commented 3 years ago

Having the same issue here with Mint 19.3/gcc 7.5.0. Builds ok, but "sh run.sh" displays these errors:

Unhandled Exception:
System.Resources.MissingManifestResourceException: Could not find any resources appropriate for the specified culture or the neutral culture.  Make sure "PolarisBiosEditor.PolarisBiosEditor.resources" was correctly embedded or linked into assembly "PolarisBiosEditor" at compile time, or that all the satellite assemblies required are loadable and fully signed.
  at System.Resources.ManifestBasedResourceGroveler.HandleResourceStreamMissing (System.String fileName) [0x000cf] in <8f2c484307284b51944a1a13a14c0266>:0 
  at System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet (System.Globalization.CultureInfo culture, System.Collections.Generic.Dictionary`2[TKey,TValue] localResourceSets, System.Boolean tryParents, System.Boolean createIfNotExists, System.Threading.StackCrawlMark& stackMark) [0x00110] in <8f2c484307284b51944a1a13a14c0266>:0 
  at System.Resources.ResourceManager.InternalGetResourceSet (System.Globalization.CultureInfo requestedCulture, System.Boolean createIfNotExists, System.Boolean tryParents, System.Threading.StackCrawlMark& stackMark) [0x000ad] in <8f2c484307284b51944a1a13a14c0266>:0 
  at System.Resources.ResourceManager.InternalGetResourceSet (System.Globalization.CultureInfo culture, System.Boolean createIfNotExists, System.Boolean tryParents) [0x00002] in <8f2c484307284b51944a1a13a14c0266>:0 
  at System.Resources.ResourceManager.GetObject (System.String name, System.Globalization.CultureInfo culture, System.Boolean wrapUnmanagedMemStream) [0x00085] in <8f2c484307284b51944a1a13a14c0266>:0 
  at System.Resources.ResourceManager.GetObject (System.String name) [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 
  at PolarisBiosEditor.PolarisBiosEditor.InitializeComponent () [0x01872] in <97144da967134d898ad4521d97dafda2>:0 
  at PolarisBiosEditor.PolarisBiosEditor..ctor () [0x0014e] in <97144da967134d898ad4521d97dafda2>:0 
  at (wrapper remoting-invoke-with-check) PolarisBiosEditor.PolarisBiosEditor:.ctor ()
  at PolarisBiosEditor.PolarisBiosEditor.Main (System.String[] args) [0x00000] in <97144da967134d898ad4521d97dafda2>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.Resources.MissingManifestResourceException: Could not find any resources appropriate for the specified culture or the neutral culture.  Make sure "PolarisBiosEditor.PolarisBiosEditor.resources" was correctly embedded or linked into assembly "PolarisBiosEditor" at compile time, or that all the satellite assemblies required are loadable and fully signed.
  at System.Resources.ManifestBasedResourceGroveler.HandleResourceStreamMissing (System.String fileName) [0x000cf] in <8f2c484307284b51944a1a13a14c0266>:0 
  at System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet (System.Globalization.CultureInfo culture, System.Collections.Generic.Dictionary`2[TKey,TValue] localResourceSets, System.Boolean tryParents, System.Boolean createIfNotExists, System.Threading.StackCrawlMark& stackMark) [0x00110] in <8f2c484307284b51944a1a13a14c0266>:0 
  at System.Resources.ResourceManager.InternalGetResourceSet (System.Globalization.CultureInfo requestedCulture, System.Boolean createIfNotExists, System.Boolean tryParents, System.Threading.StackCrawlMark& stackMark) [0x000ad] in <8f2c484307284b51944a1a13a14c0266>:0 
  at System.Resources.ResourceManager.InternalGetResourceSet (System.Globalization.CultureInfo culture, System.Boolean createIfNotExists, System.Boolean tryParents) [0x00002] in <8f2c484307284b51944a1a13a14c0266>:0 
  at System.Resources.ResourceManager.GetObject (System.String name, System.Globalization.CultureInfo culture, System.Boolean wrapUnmanagedMemStream) [0x00085] in <8f2c484307284b51944a1a13a14c0266>:0 
  at System.Resources.ResourceManager.GetObject (System.String name) [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 
  at PolarisBiosEditor.PolarisBiosEditor.InitializeComponent () [0x01872] in <97144da967134d898ad4521d97dafda2>:0 
  at PolarisBiosEditor.PolarisBiosEditor..ctor () [0x0014e] in <97144da967134d898ad4521d97dafda2>:0 
  at (wrapper remoting-invoke-with-check) PolarisBiosEditor.PolarisBiosEditor:.ctor ()
  at PolarisBiosEditor.PolarisBiosEditor.Main (System.String[] args) [0x00000] in <97144da967134d898ad4521d97dafda2>:0 

I think you must specify a default-neutral culture in the Assembly.cs or pass some parameters to the main form to load properly the resource file using the default culture.

gsaltar commented 3 years ago

Hello,

I am also having the same problem.

$ sudo ./run.sh

Unhandled Exception: System.Resources.MissingManifestResourceException: Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "PolarisBiosEditor.PolarisBiosEditor.resources" was correctly embedded or linked into assembly "PolarisBiosEditor" at compile time, or that all the satellite assemblies required are loadable and fully signed. at System.Resources.ManifestBasedResourceGroveler.HandleResourceStreamMissing (System.String fileName) [0x000ca] in :0 at System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet (System.Globalization.CultureInfo culture, System.Collections.Generic.Dictionary2[TKey,TValue] localResourceSets, System.Boolean tryParents, System.Boolean createIfNotExists, System.Threading.StackCrawlMark& stackMark) [0x00110] in <d0e12f672b88444ab4b6d9b2ecf20142>:0 at System.Resources.ResourceManager.InternalGetResourceSet (System.Globalization.CultureInfo requestedCulture, System.Boolean createIfNotExists, System.Boolean tryParents, System.Threading.StackCrawlMark& stackMark) [0x000ad] in <d0e12f672b88444ab4b6d9b2ecf20142>:0 at System.Resources.ResourceManager.InternalGetResourceSet (System.Globalization.CultureInfo culture, System.Boolean createIfNotExists, System.Boolean tryParents) [0x00002] in <d0e12f672b88444ab4b6d9b2ecf20142>:0 at System.Resources.ResourceManager.GetObject (System.String name, System.Globalization.CultureInfo culture, System.Boolean wrapUnmanagedMemStream) [0x00085] in <d0e12f672b88444ab4b6d9b2ecf20142>:0 at System.Resources.ResourceManager.GetObject (System.String name) [0x00000] in <d0e12f672b88444ab4b6d9b2ecf20142>:0 at PolarisBiosEditor.PolarisBiosEditor.InitializeComponent () [0x01872] in <fa94048db96a40149018815044a39f75>:0 at PolarisBiosEditor.PolarisBiosEditor..ctor () [0x00122] in <fa94048db96a40149018815044a39f75>:0 at (wrapper remoting-invoke-with-check) PolarisBiosEditor.PolarisBiosEditor..ctor() at PolarisBiosEditor.PolarisBiosEditor.Main (System.String[] args) [0x00000] in <fa94048db96a40149018815044a39f75>:0 [ERROR] FATAL UNHANDLED EXCEPTION: System.Resources.MissingManifestResourceException: Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "PolarisBiosEditor.PolarisBiosEditor.resources" was correctly embedded or linked into assembly "PolarisBiosEditor" at compile time, or that all the satellite assemblies required are loadable and fully signed. at System.Resources.ManifestBasedResourceGroveler.HandleResourceStreamMissing (System.String fileName) [0x000ca] in <d0e12f672b88444ab4b6d9b2ecf20142>:0 at System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet (System.Globalization.CultureInfo culture, System.Collections.Generic.Dictionary2[TKey,TValue] localResourceSets, System.Boolean tryParents, System.Boolean createIfNotExists, System.Threading.StackCrawlMark& stackMark) [0x00110] in :0 at System.Resources.ResourceManager.InternalGetResourceSet (System.Globalization.CultureInfo requestedCulture, System.Boolean createIfNotExists, System.Boolean tryParents, System.Threading.StackCrawlMark& stackMark) [0x000ad] in :0 at System.Resources.ResourceManager.InternalGetResourceSet (System.Globalization.CultureInfo culture, System.Boolean createIfNotExists, System.Boolean tryParents) [0x00002] in :0 at System.Resources.ResourceManager.GetObject (System.String name, System.Globalization.CultureInfo culture, System.Boolean wrapUnmanagedMemStream) [0x00085] in :0 at System.Resources.ResourceManager.GetObject (System.String name) [0x00000] in :0 at PolarisBiosEditor.PolarisBiosEditor.InitializeComponent () [0x01872] in :0 at PolarisBiosEditor.PolarisBiosEditor..ctor () [0x00122] in :0 at (wrapper remoting-invoke-with-check) PolarisBiosEditor.PolarisBiosEditor..ctor() at PolarisBiosEditor.PolarisBiosEditor.Main (System.String[] args) [0x00000] in :0

georgewambold commented 3 years ago

I'm also having a similar issue, can't build/run using mono on OSX 11.4

alexking commented 3 years ago

Can confirm this issue appears to happen on Ubuntu 16.04 as well.

speles commented 2 years ago

Had the same issue No idea how to actually fix it, but I was able to workaround the error by removing line this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); from PolarisBiosEditor.Designer.cs (line 590), and then building the app again. Not sure what icon I'm missing now, but the app seems functional without it.

treup4 commented 1 year ago

Had the same issue No idea how to actually fix it, but I was able to workaround the error by removing line this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); from PolarisBiosEditor.Designer.cs (line 590), and then building the app again. Not sure what icon I'm missing now, but the app seems functional without it.

Bro, I love you so much, I wish you good health from all my heart, thank you so much