locked
Large solution 250 MB, 100 Mb in two packages folders + error messages "unable to update auto-refresh" RRS feed

  • Question

  • User379720387 posted

    I have a packages folder at the sln level, and a packages folder at the Website level.

    Each holds 50 Mb of packages

    Where can I change these references. Mine are corrupted.

    Warning: Unable to update auto-refresh reference 'webmatrix.webdata.dll'. Cannot find assembly 'C:\Users\Robert\Documents\Visual Studio 2013\Projects\Visual Studio 2013\Projects\bt2ndtry\packages\Microsoft.AspNet.WebPages.WebData.3.2.2\lib\net45\WebMatrix.WebData.dll'.
    Warning: Unable to update auto-refresh reference 'webgrease.dll'. Cannot find assembly 'C:\Users\Robert\Documents\Visual Studio 2013\Projects\Visual Studio 2013\Projects\bt2ndtry\packages\WebGrease.1.5.2\lib\WebGrease.dll'.
    Warning: Unable to update auto-refresh reference 'twilio.api.dll'. Cannot find assembly 'C:\Users\Robert\Documents\Visual Studio 2013\Projects\Visual Studio 2013\Projects\bt2ndtry\packages\Twilio.3.6.29\lib\3.5\Twilio.Api.dll'.
    Warning: Unable to update auto-refresh reference 'system.web.helpers.dll'. Cannot find assembly 'C:\Users\Robert\Documents\Visual Studio 2013\Projects\Visual Studio 2013\Projects\bt2ndtry\packages\Microsoft.AspNet.WebPages.3.2.2\lib\net45\System.Web.Helpers.dll'.
    Warning: Unable to update auto-refresh reference 'dotnetopenauth.aspnet.dll'. Cannot find assembly 'C:\Users\Robert\Documents\Visual Studio 2013\Projects\Visual Studio 2013\Projects\bt2ndtry\packages\DotNetOpenAuth.AspNet.4.1.4.12333\lib\net45-full\DotNetOpenAuth.AspNet.dll'.
    Warning: Unable to update auto-refresh reference 'dotnetopenauth.oauth.dll'. Cannot find assembly 'C:\Users\Robert\Documents\Visual Studio 2013\Projects\Visual Studio 2013\Projects\bt2ndtry\packages\DotNetOpenAuth.OAuth.Core.4.1.4.12333\lib\net45-full\DotNetOpenAuth.OAuth.dll'.
    Warning: Unable to update auto-refresh reference 'twilio.webmatrix.dll'. Cannot find assembly 'C:\Users\Robert\Documents\Visual Studio 2013\Projects\Visual Studio 2013\Projects\bt2ndtry\packages\Twilio.WebMatrix.3.1.4\lib\3.5\Twilio.WebMatrix.dll'.
    Warning: Unable to update auto-refresh reference 'restsharp.dll'. Cannot find assembly 'C:\Users\Robert\Documents\Visual Studio 2013\Projects\Visual Studio 2013\Projects\bt2ndtry\packages\RestSharp.105.0.1\lib\net4\RestSharp.dll'.
    Warning: Unable to update auto-refresh reference 'entityframework.sqlservercompact.dll'. Cannot find assembly 'C:\Users\Robert\Documents\Visual Studio 2013\Projects\Visual Studio 2013\Projects\bt2ndtry\packages\EntityFramework.SqlServerCompact.6.1.3\lib\net45\EntityFramework.SqlServerCompact.dll'.
    Warning: Unable to update auto-refresh reference 'system.web.webpages.razor.dll'. Cannot find assembly 'C:\Users\Robert\Documents\Visual Studio 2013\Projects\Visual Studio 2013\Projects\bt2ndtry\packages\Microsoft.AspNet.WebPages.3.2.2\lib\net45\System.Web.WebPages.Razor.dll'.
    Warning: Unable to update auto-refresh reference 'system.web.webpages.dll'. Cannot find assembly 'C:\Users\Robert\Documents\Visual Studio 2013\Projects\Visual Studio 2013\Projects\bt2ndtry\packages\Microsoft.AspNet.WebPages.3.2.2\lib\net45\System.Web.WebPages.dll'.
    Warning: Unable to update auto-refresh reference 'microsoft.web.webpages.oauth.dll'. Cannot find assembly 'C:\Users\Robert\Documents\Visual Studio 2013\Projects\Visual Studio 2013\Projects\bt2ndtry\packages\Microsoft.AspNet.WebPages.OAuth.3.2.2\lib\net45\Microsoft.Web.WebPages.OAuth.dll'.
    Warning: Unable to update auto-refresh reference 'microsoft.web.infrastructure.dll'. Cannot find assembly 'C:\Users\Robert\Documents\Visual Studio 2013\Projects\Visual Studio 2013\Projects\bt2ndtry\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll'.
    Warning: Unable to update auto-refresh reference 'entityframework.sqlserver.dll'. Cannot find assembly 'C:\Users\Robert\Documents\Visual Studio 2013\Projects\Visual Studio 2013\Projects\bt2ndtry\packages\EntityFramework.6.1.3\lib\net45\EntityFramework.SqlServer.dll'.
    Warning: Unable to update auto-refresh reference 'dotnetopenauth.openid.relyingparty.dll'. Cannot find assembly 'C:\Users\Robert\Documents\Visual Studio 2013\Projects\Visual Studio 2013\Projects\bt2ndtry\packages\DotNetOpenAuth.OpenId.RelyingParty.4.1.4.12333\lib\net45-full\DotNetOpenAuth.OpenId.RelyingParty.dll'.
    Warning: Unable to update auto-refresh reference 'webmatrix.data.dll'. Cannot find assembly 'C:\Users\Robert\Documents\Visual Studio 2013\Projects\Visual Studio 2013\Projects\bt2ndtry\packages\Microsoft.AspNet.WebPages.Data.3.2.2\lib\net45\WebMatrix.Data.dll'.
    Warning: Unable to update auto-refresh reference 'system.web.razor.dll'. Cannot find assembly 'C:\Users\Robert\Documents\Visual Studio 2013\Projects\Visual Studio 2013\Projects\bt2ndtry\packages\Microsoft.AspNet.Razor.3.2.2\lib\net45\System.Web.Razor.dll'.
    Warning: Unable to update auto-refresh reference 'system.web.optimization.dll'. Cannot find assembly 'C:\Users\Robert\Documents\Visual Studio 2013\Projects\Visual Studio 2013\Projects\bt2ndtry\packages\Microsoft.AspNet.Web.Optimization.1.1.3\lib\net40\System.Web.Optimization.dll'.
    Warning: Unable to update auto-refresh reference 'system.data.sqlserverce.dll'. Cannot find assembly 'C:\Users\Robert\Documents\Visual Studio 2013\Projects\Visual Studio 2013\Projects\bt2ndtry\packages\Microsoft.SqlServer.Compact.4.0.8876.1\lib\net40\System.Data.SqlServerCe.dll'.
    Warning: Unable to update auto-refresh reference 'dotnetopenauth.openid.dll'. Cannot find assembly 'C:\Users\Robert\Documents\Visual Studio 2013\Projects\Visual Studio 2013\Projects\bt2ndtry\packages\DotNetOpenAuth.OpenId.Core.4.1.4.12333\lib\net45-full\DotNetOpenAuth.OpenId.dll'.
    Warning: Unable to update auto-refresh reference 'dotnetopenauth.oauth.consumer.dll'. Cannot find assembly 'C:\Users\Robert\Documents\Visual Studio 2013\Projects\Visual Studio 2013\Projects\bt2ndtry\packages\DotNetOpenAuth.OAuth.Consumer.4.1.4.12333\lib\net45-full\DotNetOpenAuth.OAuth.Consumer.dll'.
    Warning: Unable to update auto-refresh reference 'dotnetopenauth.core.dll'. Cannot find assembly 'C:\Users\Robert\Documents\Visual Studio 2013\Projects\Visual Studio 2013\Projects\bt2ndtry\packages\DotNetOpenAuth.Core.4.1.4.12333\lib\net45-full\DotNetOpenAuth.Core.dll'.
    Warning: Unable to update auto-refresh reference 'entityframework.dll'. Cannot find assembly 'C:\Users\Robert\Documents\Visual Studio 2013\Projects\Visual Studio 2013\Projects\bt2ndtry\packages\EntityFramework.6.1.3\lib\net45\EntityFramework.dll'.
    Warning: Unable to update auto-refresh reference 'system.web.webpages.deployment.dll'. Cannot find assembly 'C:\Users\Robert\Documents\Visual Studio 2013\Projects\Visual Studio 2013\Projects\bt2ndtry\packages\Microsoft.AspNet.WebPages.3.2.2\lib\net45\System.Web.WebPages.Deployment.dll'.

    Thursday, February 11, 2016 8:51 PM

Answers

  • User-166373564 posted

    Hi,

    It seems that this is the reason of the issue:

    In Visual Studio .NET, referenced  assemblies (for example, assemblies  that are referenced outside of the  solution in which the Web project is  located) could have the CopyLocal  property set to true, which would  automatically update the referenced  assembly. In Visual Studio 2005, this  behavior is replaced by creating a  refresh file in the Bin folder. The  refresh file contains the path to the  external referenced assembly and has  the extension .refresh appended to the  assembly name.

    It's recommended to  set "CopyLocal" to false for the assembly that isn't updating.

    Regards,

    Angie

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, February 12, 2016 8:23 AM
  • User-166373564 posted

    Hi,

    To fix a broken project reference by correcting the reference path

    1. In Solution Explorer, right-click your project node and click Properties.

    2. The Project Designer appears.

            If you are using Visual Basic, select the References page and click the Reference Paths button. In the Reference Paths dialog box, type the path of the folder that contains the item you want to reference in the Folder field, and then click the Add Folder button.

    -or-

            If you are using Visual C#, select the Reference Paths page. In the Folder field, type the path of the folder that contains the item you want to reference, and then click the Add Folder button.

    Regards,

    Angie

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, February 23, 2016 6:27 AM

All replies

  • User-166373564 posted

    Hi,

    It seems that this is the reason of the issue:

    In Visual Studio .NET, referenced  assemblies (for example, assemblies  that are referenced outside of the  solution in which the Web project is  located) could have the CopyLocal  property set to true, which would  automatically update the referenced  assembly. In Visual Studio 2005, this  behavior is replaced by creating a  refresh file in the Bin folder. The  refresh file contains the path to the  external referenced assembly and has  the extension .refresh appended to the  assembly name.

    It's recommended to  set "CopyLocal" to false for the assembly that isn't updating.

    Regards,

    Angie

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, February 12, 2016 8:23 AM
  • User379720387 posted

    I am using VS2013 Community Edition.

    I have two sets of referenced assemblies.

    As you can see from the error messages the path is not correct.

    How can I change the path of the referenced assemblies?

    Friday, February 12, 2016 1:25 PM
  • User-166373564 posted

    Hi,

    To fix a broken project reference by correcting the reference path

    1. In Solution Explorer, right-click your project node and click Properties.

    2. The Project Designer appears.

            If you are using Visual Basic, select the References page and click the Reference Paths button. In the Reference Paths dialog box, type the path of the folder that contains the item you want to reference in the Folder field, and then click the Add Folder button.

    -or-

            If you are using Visual C#, select the Reference Paths page. In the Folder field, type the path of the folder that contains the item you want to reference, and then click the Add Folder button.

    Regards,

    Angie

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, February 23, 2016 6:27 AM