Jump to content
  • Advertisement

Endurion

Member
  • Content Count

    3843
  • Joined

  • Last visited

Community Reputation

5473 Excellent

3 Followers

About Endurion

Personal Information

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Something like this, not the best code, but should do what you want. It's a member of a tRect struct, takes another struct (rhs), and returns either an empty rect or the intersection. tRect intersection( const tRect& rhs ) { tRect rectTemp; rectTemp.Left = math::maxValue( rhs.Left, Left ); rectTemp.Right = math::minValue( rhs.Right, Right ); rectTemp.Top = math::maxValue( rhs.Top, Top ); rectTemp.Bottom = math::minValue( rhs.Bottom, Bottom ); if ( rectTemp.Left > rectTemp.Right ) { return tRect(); } if ( rectTemp.Top > rectTemp.Bottom ) { return tRect(); } return rectTemp; }
  2. The problem with deploying debug builds is, as already mentioned, you have to match all compilation units to debug. And usually regular users don't have debug libraries installed. It may work if you provide the debug dlls with your executable, but not in every case. I'd rather avoid doing that.
  3. The d at the end suggests it's linked to a debug dll. Did you maybe release a debug build?
  4. ….and problem kind of solved: I added a new plain Windows Phone project and re-added the other files. This time around it worked. Hope that helps others getting stuck.
  5. Could that 2001 on upload be the same error I receive on trying to deploy a release build? (Building Release works fine, just deploy doesn't) I just tried to deploy a release version to the phone but it errors out with 2001. It points to a ..log containing this. Weird that release doesn't work locally as well, as both debug and release are in the same template. The same log file does simply not exist in the debug build folder; debug seems to compile completely different. What could I have changed that debug works nicely, but release will not? Compile filter specified. Only the following files will be processed: d:\projekte\hitblock deluxe\hitblockuniversal8.1\hitblockuniversal8.1.windowsphone\arm\release\msil\hitblockuniversal8.1.windowsphone.exe d:\projekte\hitblock deluxe\hitblockuniversal8.1\hitblockuniversal8.1.windowsphone\arm\release\msil\hitblockuniversal8_1.winmd Processing file: D:\projekte\HitBlock Deluxe\HitBlockUniversal8.1\HitBlockUniversal8.1.WindowsPhone\ARM\Release\MSIL\AppxManifest.xml File D:\projekte\HitBlock Deluxe\HitBlockUniversal8.1\HitBlockUniversal8.1.WindowsPhone\ARM\Release\MSIL\AppxManifest.xml is not in the compile filter. Skipping. Processing file: D:\projekte\HitBlock Deluxe\HitBlockUniversal8.1\HitBlockUniversal8.1.WindowsPhone\ARM\Release\MSIL\HitBlockUniversal8.1.WindowsPhone.exe Calling CrossGen with arguments: /nologo /mdil /MissingDependenciesOK /fulltrust /app_paths "D:\projekte\HitBlock Deluxe\HitBlockUniversal8.1\HitBlockUniversal8.1.WindowsPhone\ARM\Release\MSIL;" /trusted_platform_assemblies "C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\Internal.Numerics.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\Microsoft.CSharp.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\Microsoft.VisualBasic.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\mscorlib.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\mscorlib.extensions.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Collections.Concurrent.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Collections.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.ComponentModel.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.ComponentModel.EventBasedAsync.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Core.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Diagnostics.Contracts.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Diagnostics.Debug.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Diagnostics.Tools.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Diagnostics.Tracing.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Dynamic.Runtime.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Globalization.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.IO.Compression.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.IO.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Linq.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Linq.Expressions.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Linq.Parallel.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Linq.Queryable.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Net.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Net.Http.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Net.Http.Phone.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Net.Http.Primitives.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Net.NetworkInformation.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Net.Primitives.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Net.Requests.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.ObjectModel.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Reflection.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Reflection.Extensions.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Reflection.Primitives.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Resources.ResourceManager.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Runtime.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Runtime.Extensions.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Runtime.InteropServices.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Runtime.InteropServices.WindowsRuntime.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Runtime.Numerics.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Runtime.Serialization.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Runtime.Serialization.Json.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Runtime.Serialization.Primitives.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Runtime.Serialization.Xml.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Runtime.WindowsRuntime.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Runtime.WindowsRuntime.UI.Xaml.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Security.Principal.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.ServiceModel.Web.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Text.Encoding.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Text.Encoding.Extensions.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Text.RegularExpressions.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Threading.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Threading.Tasks.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Threading.Tasks.Parallel.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Threading.Timer.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Xml.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Xml.Linq.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Xml.ReaderWriter.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Xml.Serialization.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Xml.XDocument.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Xml.XmlSerializer.dll;" /platform_winmd_paths "C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\WinMDs;" /out "D:\projekte\HitBlock Deluxe\HitBlockUniversal8.1\HitBlockUniversal8.1.WindowsPhone\ARM\Release\MDIL\HitBlockUniversal8.1.WindowsPhone.exe" "D:\projekte\HitBlock Deluxe\HitBlockUniversal8.1\HitBlockUniversal8.1.WindowsPhone\ARM\Release\MSIL\HitBlockUniversal8.1.WindowsPhone.exe" Output: CrossGen failed Crossgen rejected D:\projekte\HitBlock Deluxe\HitBlockUniversal8.1\HitBlockUniversal8.1.WindowsPhone\ARM\Release\MSIL\HitBlockUniversal8.1.WindowsPhone.exe as not a managed assembly File D:\projekte\HitBlock Deluxe\HitBlockUniversal8.1\HitBlockUniversal8.1.WindowsPhone\ARM\Release\MSIL\HitBlockUniversal8.1.WindowsPhone.exe is not an IL assembly. Copying. Processing file: D:\projekte\HitBlock Deluxe\HitBlockUniversal8.1\HitBlockUniversal8.1.WindowsPhone\ARM\Release\MSIL\HitBlockUniversal8_1.winmd Calling CrossGen with arguments: /nologo /mdil /MissingDependenciesOK /fulltrust /app_paths "D:\projekte\HitBlock Deluxe\HitBlockUniversal8.1\HitBlockUniversal8.1.WindowsPhone\ARM\Release\MSIL;" /trusted_platform_assemblies "C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\Internal.Numerics.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\Microsoft.CSharp.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\Microsoft.VisualBasic.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\mscorlib.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\mscorlib.extensions.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Collections.Concurrent.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Collections.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.ComponentModel.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.ComponentModel.EventBasedAsync.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Core.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Diagnostics.Contracts.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Diagnostics.Debug.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Diagnostics.Tools.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Diagnostics.Tracing.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Dynamic.Runtime.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Globalization.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.IO.Compression.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.IO.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Linq.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Linq.Expressions.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Linq.Parallel.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Linq.Queryable.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Net.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Net.Http.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Net.Http.Phone.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Net.Http.Primitives.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Net.NetworkInformation.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Net.Primitives.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Net.Requests.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.ObjectModel.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Reflection.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Reflection.Extensions.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Reflection.Primitives.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Resources.ResourceManager.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Runtime.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Runtime.Extensions.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Runtime.InteropServices.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Runtime.InteropServices.WindowsRuntime.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Runtime.Numerics.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Runtime.Serialization.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Runtime.Serialization.Json.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Runtime.Serialization.Primitives.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Runtime.Serialization.Xml.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Runtime.WindowsRuntime.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Runtime.WindowsRuntime.UI.Xaml.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Security.Principal.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.ServiceModel.Web.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Text.Encoding.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Text.Encoding.Extensions.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Text.RegularExpressions.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Threading.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Threading.Tasks.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Threading.Tasks.Parallel.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Threading.Timer.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Xml.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Xml.Linq.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Xml.ReaderWriter.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Xml.Serialization.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Xml.XDocument.dll;C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\Framework\System.Xml.XmlSerializer.dll;" /platform_winmd_paths "C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\WinMDs;" /out "D:\projekte\HitBlock Deluxe\HitBlockUniversal8.1\HitBlockUniversal8.1.WindowsPhone\ARM\Release\MDIL\HitBlockUniversal8_1.winmd" "D:\projekte\HitBlock Deluxe\HitBlockUniversal8.1\HitBlockUniversal8.1.WindowsPhone\ARM\Release\MSIL\HitBlockUniversal8_1.winmd" Output: CrossGen failed Error processing assembly D:\projekte\HitBlock Deluxe\HitBlockUniversal8.1\HitBlockUniversal8.1.WindowsPhone\ARM\Release\MSIL\HitBlockUniversal8_1.winmd Raw error code: 2148737029
  6. Hi, I have one UWP game in the store (for Windows 10) and for a friend I wanted to backport to Windows Phone 8.1 while it's still somewhat supported. I managed to get it working (can run in on the phone, debug), but when I want to submit it to the store I receive the dreaded submission error 2001. Unfortunately that particular error description is really really not helpful. The MSDN page lists five potential problems. I've checked those points but at some of them I'm at a loss regarding the issue. The app itself is written with C++/Rt and compiled as ARM. Is there anybody who has some experience how to tackle these issues and look into them further? I'm especially stuck with the ILDASM checks, since ILDASM says my executable is not MSIL. One or more assemblies in the package are obfuscated incorrectly I did not obfuscate at all. The size of one or more methods in the app exceeds 256 KB of IL: I've written a native app, so IL should be out of the question. I did check with ILDASM just to be sure but that won't open my executable (says no CLR header found) The strong name signature validation failed for one or more assemblies: I've used the default template for WP8.1, but can't find any use strong name signing setting (isn't that .NET only?) The package contains mixed-mode (with managed and native code) assemblies: There's only the main executable (native), do the WinRT runtimes make the package mixed mode? A Windows Phone 8.1 XAP or appx/appxbundle assembly is not valid There is one entry point given in the file appxmanifest. ILDASM doesn't want to decompile/de-assemble, so it's hard to tell if the entry point is matching. From comparison with the UWP 10 version the entry point in the manifest should be good.
  7. Shouldn't if ( elem.x > this.camera.x + this.game.width ) be changed to eliminate platforms only when they're out on the left side? Also, the same, for platformsCreateOne, that should probably create the platforms outside the right border, not the left. Currently you seem to create platforms outside the left border, and try to kill them, when they're out on the right. Seriously, that should be pretty easy to find if you'd use a debugger. I've used Phaser with Typescript in Visual Studio and it was quite nice to use the debugger.
  8. That sounds like an engine problem really. Windows 10 has different window border sizes than previous Window's but the engine should take care of that for you really. Could be that they hard coded the border sizes.
  9. Awesome, thanks for the work and info! I hope you don't take my grumpiness towards groups not too seriously
  10. Using the older platform toolset should suffice. And obviously you may have to look out for API calls that are only available in newer Windows'. I've used VS 2015 with the XP toolset (and statically linked CRT) for a game which runs fine on XP.
  11. Thanks, I'll try that! I've currently hit another problem (non-automatic fallback to member usage in derived templated classes, where I for sure don't want to paste this-> all over the place), but that's another story
  12. I didn't get a notification about the challenge either. I do get notifications for every reply or citation though. This forum vs. group thing is really really not a good idea. Edit: Shouldn't be member of a group be enough to get notified? I surely can't "follow" every new entry if I don't know there is a new entry.
  13. Regarding the modified RECT from AdjustWindowRectEx. Make sure you're passing right-left and bottom-top to HGE; there's a reason when Left and Top go negative. Other, more hamfisted approach: Use Spy to calculate the difference and adjust the size in the HGE calls accordingly.
  14. I'm trying to expand my framework to run on Android NDK as well. Obviously I'm running in a few discrepancies between MSVC, UWP, NSK and Android NDK. I already ironed out a few other issues where Clang (3.8) needs things adjusted to compile. One error has me stumped: I'm using a #define to declare and implement cloning methods (insert boo,hiss here) This one works fine on all but Android NDK. The call inside a class called Component looks like this: DECLARE_CLONEABLE( Component, "Component" ) The define looks like this: #define DECLARE_CLONEABLE( xClass, strClassName ) virtual ICloneAble* Clone() \ { \ xClass* pNewClass = new xClass( *this ); \ pNewClass->m_ClassName = strClassName; \ return pNewClass; \ } \ \ static ICloneAble* CreateNew##xClass##() \ {\ xClass* pNewClass = new xClass(); \ pNewClass->m_ClassName = strClassName; \ return pNewClass;\ } I'm using the first passed string to concat a function name (CreateNew##xClass##(). For some reason Clang complains: error : pasting formed 'CreateNewComponent(', an invalid preprocessing token 1> DECLARE_CLONEABLE( Component, "Component" ) 1> ^ 1> p:/common\Interface/ICloneAble.h(15,74) : note: expanded from macro 'DECLARE_CLONEABLE' 1> static ICloneAble* CreateNew##xClass##() \ It seems it's irritated by the opening/closing parenthesis, but why? Besides the ugliness of this macro, can you show me how to avoid that error? Edit: I've managed to work around the issue by using a fixed name (CreateNewInstance instead of CreateNew##xClass##) but I'd still like to know why one is a problem and the other isn't.
  15. In the tab "Styles" you see the styles your window has. You have to pass the exact same ones to AdjustWindowRect(Ex). Make sure to include both regular and extended styles, and use AdjustWindowRectEx. Still, I'm pretty sure HGE should account for that by itself. All these engines usually care for the actual usable (client) area only.
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!