Login | Register

Windows 8 App - not possible with current SDK

User feature requests
Planned features for Core Temp
  • Author
    Message

Windows 8 App - not possible with current SDK

Postby pastrami » Mon Jul 15, 2013 7:13 pm

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 :(
pastrami
New User
 
Posts: 1
Joined: Mon Jul 15, 2013 7:04 pm

Re: Windows 8 App - not possible with current SDK

Postby Naki » Wed Aug 14, 2013 12:38 pm

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.
Naki
Registered User
Registered User
 
Posts: 129
Joined: Sun Oct 14, 2012 2:13 pm
Location: Eastern Europe

Re: Windows 8 App - not possible with current SDK

Postby The Coolest » Wed Aug 14, 2013 5:48 pm

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.
Member of our O/C Folding @ Home team
"<The_Coolest> you can't unwaste wasted CPU cycles" - Start FOLDing now!
Main rig:
Core i7 2600K 3.4GHz @ 4.5GHz (Scythe Mugen2) / Mobo: Biostar TP67XE / SSD: Crucial M4 128GB (+ HDDs) / GPU: HD5450 / Mem: 4x4GB DDR3-1600 G.Skill 4GBXL RipJaws X - 16GB total / PSU: Seasonic S12II 620W.
Secondary rig:
Core i3 540 3.06GHz @ Stock / Mobo: MSI H55M-ED55 / GPU: Integrated / Mem: 2x2GB DDR3-1600 G.Skill 4GBRL RipJaws - 4GB total / PSU: FSP ATX350-PNR 350W.

Core Temp - Accurate temperature monitor for Intel's Core/Core 2 and AMD64 processors
User avatar
The Coolest
Site Admin
Site Admin
 
Posts: 2961
Joined: Tue Feb 18, 2003 7:48 pm
Location: Tel Aviv, Israel

Return to Development

Who is online

Users browsing this forum: No registered users and 2 guests