Windows 8 App - not possible with current SDK

User feature requests
Planned features for Core Temp
Post Reply
pastrami
New User
Posts: 1
Joined: Mon Jul 15, 2013 7:04 pm

Windows 8 App - not possible with current SDK

Post by pastrami »

Hi Arthur,

because i am missing my CoreTemp Win7 Sidebar Gadget on Win8 - I was just trying to build a Windows 8 App to show the data provided by the Coretemp API in a Live-Tile.

I was going to build a PortableClassLibrary targeting .Net4 and then build the UI on top of it.

But there are 2 Problems:

Code: Select all

Warning	7	The primary reference "CoreTempPluginProxy" could not be resolved because it has an indirect dependency on the framework assembly "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" which could not be resolved in the currently targeted framework. ".NETPortable,Version=v4.0,Profile=Profile5". To resolve this problem, either remove the reference "CoreTempPluginProxy" or retarget your application to a framework version which contains "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089".	CoreTempPortableLibrary

Code: Select all

Warning	6	The primary reference "CoreTempPluginProxy" could not be resolved because it has an indirect dependency on the framework assembly "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" which could not be resolved in the currently targeted framework. ".NETPortable,Version=v4.0,Profile=Profile5". To resolve this problem, either remove the reference "CoreTempPluginProxy" or retarget your application to a framework version which contains "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089".	CoreTempPortableLibrary
Seems like you are using:
- System
- MScorlib

These are not part of the .NET Framework which can be used by a portable class library. So my question is:
Is there any Chance, that you can build an SDK which does not need those assemblies?

I would really like to make this work - I would also help you reworking on the SDK (although I am not that experienced with C++)

Any help or hint is much appreciated!

Cheers,
Pascal

Edit: I also tried using "Shared Memory Framework for .Net" but it does not work because it is targeting .NET 2.0 and i need at least 4.0 :(

Naki
Registered User
Registered User
Posts: 213
Joined: Sun Oct 14, 2012 2:13 pm
Location: Eastern Europe
Contact:

Re: Windows 8 App - not possible with current SDK

Post by Naki »

Can you not just install the Gadgets feature from Windows 7 to Windows 8, then install the Core Temp Gadget the usual way?
I think there are threads here that discuss this.

User avatar
The Coolest
Site Admin
Site Admin
Posts: 3379
Joined: Tue Feb 18, 2003 7:48 pm
Location: Tel Aviv, Israel
Contact:

Re: Windows 8 App - not possible with current SDK

Post by The Coolest »

I am not sure why I didn't reply to this post earlier, I know I read it and thought I'd replied to it. So I apologize for the month's worth of delay.
Either way, the current SDK doesn't support the 'Metro' app design. Since they run in a sort of sandbox, there is no publicly available API which allows you to access shared memory sections in Windows.
I tried it before, it just doesn't work, as the APIs are not exposed.

I also think that what Naki suggested is probably the easiest solution you can find.
Main rig:
AMD Ryzen 9 5950X (True Spirit 140 Direct) / Mobo: Asrock Fatal1ty X470 / EVO 970 500GB + WD Blue 250GB + HDD / GPU: Dell RX 570 4GB / Mem: 2x16GB DDR4-3200 G.Skill 32GTZKW TridentZ - 32GB total / PSU: Seasonic Prime Ultra Gold 650W
NAS:
Core i7 2600K 3.4GHz @ 4.3GHz (Scythe Mugen2) / Mobo: Biostar TP67XE / 2x Inland Pro 120GB + HDDs / GPU: ATi Mach64 VT2 / Mem: 4x4GB DDR3-1600 G.Skill 8GBXL RipJawsX - 16GB total / PSU: Seasonic S12II 620W.
Secondary rigs:
Core i3 7130U / MiniPC / SanDisk SDSSDP-128G / GPU: Intel HD 620 / Mem: 1x8GB DDR3L-1600
Xeon X3430 2.40GHz @ 3.06GHz or Core i3 540 3.06GHz @ 4.0GHz (Freezer 7 Pro) / Mobo: MSI H55M-ED55 / PNY CS1111 240GB / GPU: ATI FirePro V3800 / Mem: 4x2GB DDR3-1600 G.Skill 4GBRL RipJaws - 8GB total / PSU: Seasonic S12II 620W
AMD Phenom II X4 B93 / Mobo: ASUS M2A-VM / GPU: ATI Radeon Xpress X1250 / Crucial M4 120GB / Mem: 2x2GB DDR2-800 - 4GB total / PSU: Antec 380W.

Core Temp - Accurate temperature monitor for Intel's Core/Core 2 and AMD64 processors

Post Reply

Return to “Development”