Error when using special resources

4 posts, 0 answers
  1. Eric Schoenholzer
    Eric Schoenholzer avatar
    138 posts
    Member since:
    Mar 2004

    Posted 12 Jul 2011 Link to this post

    When open a resource assembly build with the MS EnterpriseLocalization toolkit, I got this exception.

    Eric

    ---------------------------
    Error
    ---------------------------
    An error has occurred. Please, report this exception to the Telerik team (Use CTRL + C to copy the text). Thanks in advance!

     

    System.NotSupportedException: This .resources file should not be read with this reader. The resource reader type is "Microsoft.Toolkits.EnterpriseLocalization.Reader, LocalizationToolkit".

       at System.Resources.ResourceReader._ReadResources()

       at System.Resources.ResourceReader.ReadResources()

       at JustDecompile.CodeViewer.ResourceParser.(Token resourceItem) in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\JustDecompile.CodeViewer\Formatters\InlineParser.cs:line 81

       at JustDecompile.CodeViewer.ResourceParser.Parse(Token resourceItem) in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\JustDecompile.CodeViewer\Formatters\InlineParser.cs:line 56

       at Infrastructure.ITokenParser`2.Parse[T](Token token) in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\Infrastructure\Interfaces\ITokenParser.cs:line 20

       at Infrastructure.Structure.AssemblyResourceNode.GetEntity() in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\Infrastructure\Structure\AssemblyResourceNode.cs:line 170

       at JustDecompile.CodeViewer.Formatters.ResourceViewer.() in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\JustDecompile.CodeViewer\Formatters\ResourceViewer.cs:line 59

       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)

       at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

       at System.Windows.Threading.DispatcherOperation.InvokeImpl()

       at System.Threading.ExecutionContext.runTryCode(Object userData)

       at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)

       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)

       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

       at System.Windows.Threading.DispatcherOperation.Invoke()

       at System.Windows.Threading.Dispatcher.ProcessQueue()

       at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

       at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

       at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)

       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)

       at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

       at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)

       at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)

       at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)

       at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)

       at System.Windows.Application.RunDispatcher(Object ignore)

       at System.Windows.Application.RunInternal(Window window)

       at JustDecompile.App.() in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\JustDecompile\obj\Release\App.g.cs:line 16777215
    ---------------------------
    OK  
    ---------------------------

  2. Kaloyan
    Admin
    Kaloyan avatar
    920 posts

    Posted 13 Jul 2011 Link to this post

    Hi Eric Schoenholzer,

    Thanks for pointing this out. Can you send us the assembly that is causing the issue so we can fix the real problem. Let us know if you are experiencing any other issue. 

    Greetings,
    Kaloyan
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

  3. DevCraft banner
  4. Eric Schoenholzer
    Eric Schoenholzer avatar
    138 posts
    Member since:
    Mar 2004

    Posted 15 Jul 2011 Link to this post

    Hi,

    Could I send you the DLL directly without posting it in the forum?
    Thanks
    Eric
  5. Kaloyan
    Admin
    Kaloyan avatar
    920 posts

    Posted 15 Jul 2011 Link to this post

    Hello Eric Schoenholzer,

    Ofcourse you can send the dll via my email: kaloyan.manev@telerik.com as it is a better option then posting it public in out forum. Let us know if you have any other suggestions or issues for us.

    All the best,
    Kaloyan
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

Back to Top