Problems with Visual Studio Online Continuous Integration...

7 posts, 0 answers
  1. Erick
    Erick avatar
    4 posts
    Member since:
    Feb 2016

    Posted 02 Nov Link to this post

    I'm using Visual Studio 2015, Telerik Reporting 10.2.16.1025 and Visual Studio Online (hosted Team Foundation).

    I've got a report project built and it works and runs just fine. If I publish it manually it works just fine.

    The problem comes in when I try to set it up for the continuous integration so I don't have to push it to our QA server a bunch of times during the day. VSO just doesn't want to make use of the Report viewer dlls no matter what I try. I've got copy local set. I've even added them to the solution and checked them into source control (team foundation source control). Nothing works.

    The only thing that did work was setting up a private NuGet server and making use of the Nuget package provided by Telerik. 

    BUT

    When I do that,we can no longer make use of the designer in visual studio.According to the forums, we can only use the GAC version of the dlls if we want to use the designer.

    Is there some trick to be able to swap out the GAC dlls with a hosted set or a set that's checked in? Again, this is a hosted TFS so I have no ability to install them on the server.

  2. Erick
    Erick avatar
    4 posts
    Member since:
    Feb 2016

    Posted 02 Nov in reply to Erick Link to this post

    Here are the initial errors I'm getting, by the way.

     

    C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets (1820, 5)
    C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1820,5): Warning MSB3245: Could not resolve this reference. Could not locate the assembly "Telerik.Reporting, Version=10.1.16.615, Culture=neutral, PublicKeyToken=a9d7983dfcc261be, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.

    C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets (1820, 5)
    C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1820,5): Warning MSB3245: Could not resolve this reference. Could not locate the assembly "Telerik.Reporting.Services.WebApi, Version=10.1.16.615, Culture=neutral, PublicKeyToken=a9d7983dfcc261be, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.

    C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets (1820, 5)
    C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1820,5): Warning MSB3245: Could not resolve this reference. Could not locate the assembly "Telerik.ReportViewer.Mvc, Version=10.1.16.615, Culture=neutral, PublicKeyToken=a9d7983dfcc261be, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.

  3. DevCraft banner
  4. Stef
    Admin
    Stef avatar
    3036 posts

    Posted 03 Nov Link to this post

    Hello Erick,

    Telerik Reporting must be installed on the dev machine in order VS designers and wizards to work.

    As far as it relates VSO, please check Online build can't resolve references(msdn forum) . You can create packages with automatic restore to have the project built. Use a private Nuget feed due to the License agreement's terms. Telerik Reporting assemblies can be used in build and test environments, or they can be bin-deployed for other developers not working on the reporting part.


    I hope this helps.

    Regards,
    Stef
    Telerik by Progress
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  5. Erick
    Erick avatar
    4 posts
    Member since:
    Feb 2016

    Posted 03 Nov in reply to Stef Link to this post

    Don't take this the wrong way but I don't feel like you read my post. I know about the private Nuget and I have successfully set it up. The problem is that I can't find any way to automatically swap between GAC references on my local and then use the Nuget references when it goes up to the build server. The links you provided have little to do with my situation. My company's servers are 100% in the cloud. My contractors are all remote. We don't have any way of setting up an on premises build server as we don't have technically have a "premises".
  6. Stef
    Admin
    Stef avatar
    3036 posts

    Posted 03 Nov Link to this post

    Hello Erick,

    By private Nuget feed, I do not refer to  http://nuget.telerik.com. The Nuget packages by Telerik Reporting uploaded at  http://nuget.telerik.com are for usage in ASP.NET Core Web Applications - HTML5 Report Viewer in ASP.NET Core. VS Report Designer and wizards will not work in ASP.NET Core projects, even if the product is installed on the machine. Settings should be applied manually.

    For other type of projects, you can create private Nuget feed to distribute the assemblies used in your application. When the dev machine has Telerik Reporting installed, you will be able to load VS reports in the VS Report Designer, as long as referenced assemblies are of the same version as the one installed on the machine.
    If Telerik Reporting is not installed on the machine, the Dlls distributed through the private Nuget feed will be enough to have the solution built in VS, but VS Report Designer and Toolbox items will not appear.

    Regards,
    Stef
    Telerik by Progress
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  7. Erick
    Erick avatar
    4 posts
    Member since:
    Feb 2016

    Posted 03 Nov in reply to Stef Link to this post

    I'm referring to a private Nuget server I created for myself and my other developers (i.e. http://NuGet.MyCompany.com) and the nupkg file that you provide in the downloads section of my Telerik account page is hosted there. My DB/Report developer, who has the software installed locally can no longer access the designer when he changes the references to the nuget hosted report stuff. The only way to be able to access the designer again is to run the upgrade wizard which resets all the references to the GAC versions.
  8. Stef
    Admin
    Stef avatar
    3036 posts

    Posted 04 Nov Link to this post

    Hi Erick,

    Mots probably the version of the DLLs in the Nuget feed is different than the installed one. Please check the attached video that illustrates our test.

    In general, the Upgrade Wizard operates from within Visual Studio. On installing Telerik Reporting, the MSI adds assemblies in the GAC, and registers the installation folder of DLLs for the VS Upgrade Wizard. When you run the Wizard it check's the project items like references, configuration files, reports, control registrations and updates them, where references start pointing to the local installation folder and the installed version.

    Regards,
    Stef
    Telerik by Progress
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top
DevCraft banner