by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    BrsDreamer
    @BrsDreamer
    says it cant connect to remote server
    and searched around did every solution still not hope
    Joseph Musser
    @jnm2
    What is selected here for you?
    image.png
    BrsDreamer
    @BrsDreamer
    nuget
    .org
    i just got it open but it seems I need to use vpn to browse in nuget?
    did microsft setup proxy or something On vs after the update?
    that i need to use vpn to use the nuget?
    Joseph Musser
    @jnm2
    I doubt it. Can you view https://api.nuget.org/v3/index.json in your browser?
    I doubt a Windows update would set up a proxy, I mean.
    BrsDreamer
    @BrsDreamer
    will i just had to use vpn to get to nuget after the update of windows so ....
    Joseph Musser
    @jnm2
    Yeah, I'm out of ideas
    BrsDreamer
    @BrsDreamer
    it's ok mate i just sometime forget microsoft pulls this kinda of an tricks
    such microsoft thing to do ....
    Joseph Musser
    @jnm2
    Here's an idea, what happens if you open up the command prompt in your project folder and do dotnet add SomeRealPackageName?
    like dotnet add Newtonsoft.Json?
    Sen-Gupta
    @Sen-Gupta
    Hello Folk!
    Visual Studio 2019 getting hang even on a solution with 20 projects!
    I have already disabled parallel project initialization!
    Anything else, I'm supposed to do!
    It is really frustrating as it is killing productivity!
    Microsoft Visual Studio Professional 2019 Preview
    Version 16.7.0 Preview 2.0
    Art Leonard
    @artl93
    @Sen-Gupta - before you try to open your project, start reporting a new issue using the feedback tool (the "talk" icon in the upper right corner next to the minimize button). Follow the instructions to reproduce your issue in a way that will help us capture the traces / dumps, and we'll triage it right away. As a workaround, you can install the Release version on the same machine side by side with Preview, and they will not interfere with each other. Just go to the download page and start an install, and it will, by default, install to another location and have separate start menu items. I hope this helps! https://visualstudio.microsoft.com/downloads/
    @Korporal - please open a feedback ticket from in the installer. This should be working, and I agree with you that it doesn't appear to do so.
    Sen-Gupta
    @Sen-Gupta
    @artl93 done! But i suspect the new Git Preview feature might be suspect!
    @artl93 thanks for responding!
    dshah1
    @dshah1
    I installed community edition 2019 Visual Studio to learn MVC Core and it says the trial period has ended. I installed earlier and uninstalled it just because even after installing NodeJs ,nugget manager kept throwing errors. Even manual commands will end up in errors. So, I uninstalled and reinstalled to get this trial period issue.
    Art Leonard
    @artl93
    @dshah1 - feel free to send me the link to the report and I'll help expedite the routing and hand-off. Thanks!
    @dshah1 - the trial period for community is just asking you to log in. It's still free after you log in. We are aware we need to change the language to make this clearer. You get the benefit of synchronizing settings.
    Odd Erik Midthaug
    @oesolberg
    After installing Visual Studio 2019 patch 16.6.2 it seems that running powershell in afterbuild target does not work anymore. I used the following before:'''<Target Name="AfterBuild">
    <Exec Command=""%WINDIR%\SysNative\WindowsPowerShell\v1.0\powershell.exe" -file "$(ProjectDir)fix-output.ps1" -configuration $(ConfigurationName) -executionpolicy Unrestricted -NonInteractive" />
    </Target>'''
    Now it seems that SysNative is not valid anymore. Any ideas here?
    Odd Erik Midthaug
    @oesolberg
    Never mind. After a lot of looking around I found it myself. Shot down by myself trying to fix a problem in git creating av problem when running powershell
    dshah1
    @dshah1
    @artl93 Thanks for the response. I am still having issues with Nugget Package Manager. It throws error while installing the packages. I reinstalled and logged in and the product works but NPM still an issue.
    Joseph Musser
    @jnm2

    Hey, I was complaining on here about the Windows 2004 update forcing web results back into the start menu. Turns out there's a new registry key that turns it back off again!

    From admin powershell:

    New-Item HKCU:\Software\Policies\Microsoft\Windows -Name Explorer
    Set-ItemProperty HKCU:\Software\Policies\Microsoft\Windows\Explorer DisableSearchBoxSuggestions 1

    (credit https://www.lifehacker.com.au/2020/06/how-to-disable-bing-search-in-windows-10s-start-menu-2/)

    Then Ctrl+Shift+right click the taskbar and select 'Exit Explorer,' then Ctrl+Shift+Esc to open Task Manager, then Alt, F, N for 'File > Run new task,' type explorer, and press enter.

    Art Leonard
    @artl93
    @dshah1 - please log an issue (use the feedback icon in the upper corner of VS) and I'll help route to the right team - just send me the link to the issue and I'll make sure it gets attention.
    Sen-Gupta
    @Sen-Gupta
    @artl93 I seriously need a helping hand.
    image.png
    Visual studio going to 80%, unresponsive!
    Our project is a bit of mix! ASP.net Core + Blazor!
    image.png
    Sen-Gupta
    @Sen-Gupta
    image.png
    57 process running?
    Sen-Gupta
    @Sen-Gupta
    @artl93 Turned off Code lens, and Visual Studio comes back to normal! What a relief!
    BTW, it is same behavior for Preview or LTS(Release)
    Sen-Gupta
    @Sen-Gupta
    image.png
    dshah1
    @dshah1

    An unhandled exception occurred while processing the request.
    InvalidOperationException: Endpoint Lab6.Controllers.SeurityController.GenerateJSONWebToken (Lab6) contains CORS metadata, but a middleware was not found that supports CORS.
    Configure your application startup by adding app.UseCors() inside the call to Configure(..) in the application startup code. The call to app.UseAuthorization() must appear between app.UseRouting() and app.UseEndpoints(...).

    Microsoft.AspNetCore.Routing.EndpointMiddleware.ThrowMissingCorsMiddlewareException(Endpoint

    The Code already does that.

    public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
    {
    //app.UseCors("AllowMyOrigin");
    app.UseCors();

            app.UseAuthentication();
    
    
            if (env.IsDevelopment())
            {
                app.UseDeveloperExceptionPage();
            }
            else
            {
                app.UseExceptionHandler("/Home/Error");
                // The default HSTS value is 30 days. You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts.
                app.UseHsts();
            }
            app.UseHttpsRedirection();
            app.UseStaticFiles();
    
            app.UseRouting();
    
            app.UseAuthorization();
    
            app.UseEndpoints(endpoints =>
            {
                endpoints.MapControllerRoute(
                    name: "default",
                    pattern: "{controller=Home}/{action=Index}/{id?}");
            });

    endpoint)

    Sen-Gupta
    @Sen-Gupta
    @artl93 is this normal or Am seeing too many?
    image.png
    Aymen
    @kmama
    hello