Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Sergey-Vlasov
    @Sergey-Vlasov
    @lxman Do you use any form of authentication in your app?
    Michael Jordan
    @lxman
    ah, yes - I am using Microsoft Identity
    Sergey-Vlasov
    @Sergey-Vlasov
    @lxman It is not currently supported - I'll investigate. And do you use Blazor Server or Blazor WebAssembly?
    Michael Jordan
    @lxman
    Blazor Server
    Sergey-Vlasov
    @Sergey-Vlasov
    @lxman I'm unfortunately can't reproduce this error in a sample application on my machine. Can you please provide more details is the page you are opening requires authorization and do you log in to the app in the HTML 11 preview window?
    Michael Jordan
    @lxman
    Well, in the current situation that's producing the error, I am using "remember my login" so whenever I start the site, it reads the token and I am logged in automatically
    Sergey-Vlasov
    @Sergey-Vlasov
    @lxman Can you share Visual Studio screenshots demonstrating how you open a page and following steps leading to the problem?
    WrongBit
    @WrongBit
    Sergey: Только что поставил Task Canvas и сразу же есть пожелание :) Нельзя ли в заголовке фрагмента писать имя файла более ярко? Вплоть до другого бэкграунда. Сейчас неудобно вычленять из текстового мусора, что там есть файл, а что - фрагмент в этом файле.
    Sergey-Vlasov
    @Sergey-Vlasov
    @WrongBit Хорошее пожелание - посмотрю что можно сделать.
    Sergey-Vlasov
    @Sergey-Vlasov

    @WrongBit I've added support for styling: https://vlasovstudio.com/task-canvas/TaskCanvas_260.vsix

    You can now set for example the following style in Task Canvas options to make the file name bold in a fragment title:

    <Style TargetType="TaskCanvas:TabFileName" BasedOn="{StaticResource DefaultTabFileNameStyle}">
      <Setter Property="FontWeight" Value="Bold"/>
    </Style>
    RainerG
    @RainerG
    Hi Sergey,
    i get following exception when trying to register your visual commander
    Sergey-Vlasov
    @Sergey-Vlasov
    @RainerG As I understand, reinstallation of Visual Commander fixed the problem.
    Jason Evans
    @MrClyfar
    image.png
    image.png
    Hello. I am trying out Task Canvas and wanted to ask a question. I am using NCrunch to execute unit tests in a project, and I noticed that the code coverage symbols that are drawn by NCrunch in a source code file do not appear when the file is viewed in Task Canvas...The Calculator file should also be showing coloured squares. Is this something that Task Canvas supports?
    Sergey-Vlasov
    @Sergey-Vlasov

    @MrClyfar Yes, I can reproduce this problem.

    It looks like NCrunch doesn't support advanced Visual Studio editing features that Task Canvas leverages. For example, even without Task Canvas, if you open Window – New Window for Calculator.cs, in the second Calculator.cs:2 window the code coverage symbols will not be displayed.

    Jason Evans
    @MrClyfar
    Ah I see. Thank you for looking into this. I can see the problem that you mentioned - I opened Calculator.cs, and duplicated the window. The Calculator2 winodw does not show the symbols as you mentioned.
    learningmadeeasyfun
    @learningmadeeasyfun
    We are working on embedded product development - its code is developed in VC++ IDE in C++17. There are a lot of threads and features in it. Is there a extension where by the function call traces can be logged during code execution - when we require?
    Sergey-Vlasov
    @Sergey-Vlasov
    learningmadeeasyfun
    @learningmadeeasyfun
    It seems that both of them mentioned above are tools for Linux whereas we are working on Windows 10 - are these tool available for Windows also?
    Sergey-Vlasov
    @Sergey-Vlasov

    @learningmadeeasyfun I'm not aware of such VS extension. An alternative would be more or less manual code instrumentation, there are several ways.

    And do you want it for debugging on a developer machine or for logging in production?

    Sergey-Vlasov
    @Sergey-Vlasov
    @learningmadeeasyfun You also say that you do embedded development, and say you run it on Windows 10. Can you please explain how it works together?
    projectmentor
    @projectmentor
    Hi, @Sergey-Vlasov Is the Runtime Flow standalone supported for Windows 10 and Net 4? I tried the trial version, and It started up with some error about a sandbox issue in new versions of Net. Ignored and ran it anyway, then got out of memory errors. However the function/process intercepts seemed to be working up to the point that it crashed. I fully admit I have no clue what I am doing at this level, but I would definitely purchase a licence if I can be sure that it works on my platform.
    BTW, I am trying to investigate function calls to a dll that was written for a program in MSVC14 (i think) it was written about 2017.
    Also if anybody does consulting in the area of reverse engineering a windows DLL please PM me. I am way out of my depth and could use some mentoring/training as try to figure out how the 8 functions of this dll works. Thanks for reading this.
    Sergey-Vlasov
    @Sergey-Vlasov
    @projectmentor Runtime Flow standalone is supported for Windows 10 and Net 4. Can you please post the sandbox error?
    sulan
    @abubakarovsulan

    Hey, I have question.

    Is there any posibilities to use Runtime Flow for Unity3D, besides that is it possible catch/save the complete trace?

    Sergey-Vlasov
    @Sergey-Vlasov
    @abubakarovsulan As I understand, Unity uses Mono as the .NET runtime, and thus doesn't support Runtime Flow monitoring.
    sulan
    @abubakarovsulan
    I see, thank you for your time.
    jwiede
    @jwiede

    I've noticed that when I have VS2019 configured to restrict formatting to "changed lines", ContinuousFormatting doesn't seem to follow that restriction, and changes otherwise-untouched lines in code (even when VS2019's settings are to leave spacing as-is in those cases). In team environments, that can be problematic, filling up commits with format-only changes (particularly undesirable in maintenance repos).

    It's definitely CF plugin causing the (mis)behavior, because the behavior ends when CF is disabled/uninstalled, and returns when enabled/reinstalled. If VS's format rules say to leave a given situation as-is for spacing/alignment/breaks, I do not understand why ContinuousFormatting causes formatting to change untouched lines.

    This can become a real problem, esp. when VS's native formatting controls don't quite support the team or project format standards -- normally the answer is just to leave the "atypically-formatted" lines untouched, or manually fix them, but with ContinuousFormatting that means having to remember to disable the plugin before working on such projects. I'm open to any suggestions on how to get CF to change this behavior?

    Sergey-Vlasov
    @Sergey-Vlasov
    @jwiede Can you please detail how you configured VS to restrict formatting to "changed lines"?
    Shoesoft
    @ShoesoftGitHub
    @Sergey-Vlasov Hi there, is there any way to download an earlier version of Visual Commander Home? Since the new update to 3.2.1 one of my macros doesnt compile any more and I have no idea how to solve it
    Sergey-Vlasov
    @Sergey-Vlasov
    @ShoesoftGitHub v3.1.3 can be downloaded here:
    https://vlasovstudio.com/visual-commander/VisualCommander_313.vsix
    Carsten Schuette
    @schuettecarsten
    Hi there. It looks like the "Favorite Documents Extension" causes Visual Studio 2022 Preview 3 to lockup on startup. Removing the extension using "Safe Mode" fixes the problem. I am not sure if it is really the extension itself or the fact that I moved the menu item from the extension menu into the main menu, as the first start with Favorite Documents worked fine.
    Sergey-Vlasov
    @Sergey-Vlasov

    @schuettecarsten Sorry for this problem. Normally, Favorite Documents works fine from the main menu.

    Can you capture a minidump of Visual Studio on lockup? For example, using Process Explorer or ProcDump.

    Abbylicious
    @Abbylicious
    Hi there! Task Canvas seems super useful (I'm on the trial now), I was just wondering- is there any way to open items from the Class View or Object Browser as a task in Task Canvas? Thanks!
    Sergey-Vlasov
    @Sergey-Vlasov
    @Abbylicious It is not currently possible and I don't know public VS APIs to implement it in Task Canvas.
    simulan
    @simulan
    Hey guys
    I've started creating my first visual studio extension, yet I have some problems with the databinding ("x:bind" or "{binding}") in xaml, does someone have a repo with an example using databinding in a visual studio extensions project?
    simulan
    @simulan
    I solved it, so for people who are also having trouble I used this example, turns out I cant use "x:bind" in xaml and should use that "DataContext" property of the toolwindow : https://github.com/madskristensen/SolutionExtensions/blob/61334eb283be2314f9df48a5dfcf64578e00a51e/src/ExtensionManager/InstallerDialog.xaml.cs
    Karsten Kousgaard
    @kak2_gitlab

    Hello. I'm trying out VisualCommand and looking into command example 41. Insert explicit named parameters for a method call.
    When I try to run it I get this error, Visual Studio 2019


    (0,0): error CS1701: Assuming assembly reference 'Microsoft.VisualStudio.Shell.15.0, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' matches 'Microsoft.VisualStudio.Shell.15.0, Version=16.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a', you may need to supply runtime policy

    (42,20): error CS0721: 'System.Collections.Immutable.ImmutableArray': static types cannot be used as parameters

    Sergey-Vlasov
    @Sergey-Vlasov
    @kak2_gitlab Sorry, not escaped angle brackets. I've corrected the page https://vlasovstudio.com/visual-commander/commands.html#NamedParameters
    Karsten Kousgaard
    @kak2_gitlab
    Thanks, it works great now. I've modified it a bit, so it also works with constructors, by looking for both ObjectCreationExpressionSyntax and InvocationExpressionSyntax. Great tool, I'm sure it will be usefull to me.
    pm64
    @pm64
    Hi @Sergey-Vlasov. Is there any documentation on where Visual Commander stores its command & extension source code? I want to make sure this is backed up, and perhaps synchronized across machines.
    6 replies
    pm64
    @pm64
    Are there any issues using named pipes in VS Commander commands? The following works in a normal console application, but causes VS to freeze when executed in VS Commander:
    1 reply
            using (var client = new NamedPipeClientStream("MyPipe"))
            {
                client.Connect();
                using (var reader = new StreamReader(client))
                {
                    using (var writer = new StreamWriter(client))
                    {
                        var input = "My message!";
                        writer.WriteLine(input);
                        writer.Flush();
                        MessageBox.Show(reader.ReadLine());
                    }
                }
            }
    meirumeiru
    @meirumeiru
    @Sergey-Vlasov , hi, do you know if it's possible to extend a VCProject so that we could use custom .rc files (.newrc) and see them in the "resource view" (including virtual items representing the resources in the file).
    Sergey-Vlasov
    @Sergey-Vlasov
    @meirumeiru I'm unfortunately don't have any experience extending projects.
    1 reply
    Dan Luevano
    @daniel-luevano_revalize
    I just installed VS 2022 and am trying add the Tabs Studio extension, has any one gotten an error code 2349 when installing?
    Sergey-Vlasov
    @Sergey-Vlasov
    @daniel-luevano_revalize As a workaround for 2349, I suggest to uninstall Tabs Studio and then run the installer again.