PolarisBiosEditor icon indicating copy to clipboard operation
PolarisBiosEditor copied to clipboard

Unable to build 1.7.5 on linux system

Open tcarecolin opened this issue 4 years ago • 6 comments

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

tcarecolin avatar Mar 20 '21 19:03 tcarecolin

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.

guub187 avatar Apr 19 '21 14:04 guub187

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

gsaltar avatar May 26 '21 01:05 gsaltar

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

georgewambold avatar Jun 15 '21 19:06 georgewambold

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

alexking avatar Oct 19 '21 04:10 alexking

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.

speles avatar Jun 05 '22 00:06 speles

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

treup4 avatar Nov 12 '22 14:11 treup4