Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Hussam Al-Tayeb
    @hussamT
    I'll be on for a while in case anyone has an answer :)
    Joseph Musser
    @jnm2
    IMO it expires every ~90 days
    goes into trial mode, I have to click to refresh and it goes back to registered right away.
    Hussam Al-Tayeb
    @hussamT
    @jnm2 Ah. Thank you.
    Joseph Musser
    @jnm2
    Dunno why community edition cares, but that's what I saw.
    Hussam Al-Tayeb
    @hussamT
    @jnm2 perhaps to keep a count of how many are using the community edition.
    Joseph Musser
    @jnm2
    It might be professional + enterprise that start saying trial, but community does say something if not the word "trial."
    Hussam Al-Tayeb
    @hussamT
    The thing is I am going to switch ISPs soon and it takes ages to switch DSL providers where I live. Sometimes close to a month and a half.
    Joseph Musser
    @jnm2
    Ugh. I don't know if it stops you from using community edition either way.
    I thought my area was bad :-/
    Hussam Al-Tayeb
    @hussamT
    I have to get a clearance from previous ISP which they stall for a few weeks since they are reluctant to lose customers. Then activation on new ISP takes a few more.
    Anyway, 90 days should be safe enough.
    Joseph Musser
    @jnm2
    90 is my guess, hope I'm right.
    Hope your new internet is better!
    Hussam Al-Tayeb
    @hussamT
    I hope so as well. Thank you very much.
    Hussam Al-Tayeb
    @hussamT
    I installed visual studio community edition 2019
    it installed .net core sdk 2.1
    and not 2.2
    did I mess something up?
    Hussam Al-Tayeb
    @hussamT
    If anyone sees my message tomorrow or any other day and if you know the answer, please reply. I'm not in a rush.
    Michael W Powell
    @mwpowellhtx
    Hello, using Visual Studio 2017, I have a DebugCodeGeneration configuration, should work like a Debug configuration, except that it contains a set of projects and unit tests that need verification during a first phase of our build.
    When these check out, we take the ReleaseCodeGeneration packages and deliver them into the Debug and/or Release configurations.
    We are finding that the DebugCodeGeneration configuration is failing to discover in either the VS2017 test framework or ReSharper. Is there a way to train Visual Studio to work with configurations as well as Debug as though they were debug configurations?
    Harif R. P.
    @MocaRafee
    Hello everyone, i want to ask how big file size is to download Visual Studio 2019 C++ desktop development layout?
    Andrew Hall
    @ryzngard
    Just the additional installation after installing VS 2019, or also including installing VS 2019?
    minus any work of downloading the installer, and anything the installer depends on, the installer says 3.29 GB for "Desktop development with C++" and VS 2019 Community
    626 MB for just VS Community base
    You can always check with VS Installer > Modify, and check the extra packages you want. It will tell you at the bottom how large it will be.
    Michael W Powell
    @mwpowellhtx
    I've got some code generating in a project that I want to turn around and unit test. However, the types that are generated are not available to the unit test project. I've tried ProjectReference, an internal PackageReference, and even a direct Assembly reference. None of which seem to work quite right.
    I do not know whether the fact that this is an x64 project has anything to do with the issue.
    I can use Reflection to test the project, this works fine. The Object Browser can see the types in the assembly as well, but I suspect that is using Reflection at some level as well.
    However, trying to use the generated types directly does not work. I cannot insert CSharp code like MyGeneratedType x = null for instance. Does not recognize MyGeneratedType as a type.
    So, thus far my unit tests depend on Reflection, and I can guarantee that the expected code to have been generated, is in fact generated. So I at least have that as a baseline. But I do not know how to persuade Visual Studio to actually work with the generated types.
    Michael W Powell
    @mwpowellhtx
    Perhaps I need to time the code generation itself differently? Currently running as a Target, invoking my custom CLI tooling. I could run that tooling differently, perhaps? Then the target project just sees the code there, naturally, as though it were any other code?
    Open to suggestions. Anyone have any insights into this sort of scenario?
    Andrew Hall
    @ryzngard
    What's concerning is that even with a direct Assembly reference it's not working. That should work without issue. Are the types public?
    Michael W Powell
    @mwpowellhtx
    @ryzngard I've tried the three variations that I could think of. Project reference, a package reference, and even a direct assembly reference. None of which seem to work.
    @ryzngard I can verify that, but yes, as far as I know, all are public.
    Reflection works fine, no binding flags specified, so default assumptions are public. Object Browser also sees the types.
    Maybe it has to do with a manifest issue of some sort? Code is generating in the obj/ folder, so perhaps that should go in the actual $(ProjectDir) folder?
    My next whack at it, I think, is to setup yet another solution, isolated from the actual target project, and see if that picks up the correct reference, replete with the types I am expecting, at design time.
    Andrew Hall
    @ryzngard
    The easiest way to check would be to create a new project, copy the assembly and reference directly
    obj/ shouldn't matter
    Michael W Powell
    @mwpowellhtx
    I will check that next time I am in. thanks.
    Michael W Powell
    @mwpowellhtx
    @ryzngard From shouldn't to for whatever reason VS loses its mind in the same build pipeline and cannot tell.
    I ended up breaking out a sister work space and solution for the CG tests, and then the project can actually see the symbols in the package, etc. It is a bit of a kludge, but it will work.
    Andrew
    @zezba9000
    Is there a better way to include "C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App\3.0.0-rc1-19456-20\System.Windows.Forms.dll" In a .NET Core 3 WPF project without using that full path?
    I'm trying to add some refs in VS preview I would like to auto ref the latest lib versions in a couple days after its officially released. Is that possible?
    ... from the IDE UI I mean
    Andrew
    @zezba9000
    My answer was:
    <FrameworkReference Include="Microsoft.WindowsDesktop.App" />