1

When we manually open the visiual studio and from help menu and click on register, then the license is getting updated.But, we are using visual studio for automation with CI tools like jenkins.Where, we will use the devenv command line tool.Here, we don' launch the shortcut.This command line version is not updating the license automatically. So, every 10 days our compilation is failing and we need to manually open visual studio and refresh the license.

We are getting this error with compilation.

Microsoft Visual Studio 2017 Version 15.0.28307.145.
Copyright (C) Microsoft Corp. All rights reserved.

The license for Visual Studio has expired.

Your license for this product is expired and could not be refreshed. Please connect to the internet to continue to use this product.

Visual studio 2017 Visual studio workloads

But when I see the features/workloads of build tools, many are missing. Build tools work loads

5
  • 1
    Why do you use a Visual Studio that requires a license in your CI instead of the VS Build Tools? Oct 20, 2020 at 7:06
  • Build tools is not having all the features which need to be installed for c++ desktop applications
    – uday kiran
    Oct 24, 2020 at 7:53
  • You're likely missing a workload, have you identified which of your needs is missing from the build tools? Oct 24, 2020 at 8:32
  • I have added both the snaps now, can you check once and suggest
    – uday kiran
    Oct 24, 2020 at 8:38
  • Also I tried build tools with these installations only but there is no devenv.com/exe there
    – uday kiran
    Oct 24, 2020 at 13:32

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.