none
error BC30560: 'ExtensionAttribute' is ambiguous in the namespace 'System.Runtime.CompilerServices'. in Visual studio 2017S RRS feed

  • Question

  •  

    Hi,

    When upgrading my project I was getting the error mentioned in the subject line. I did all I could suggested on the net, and finally decided to upgrade to Visual Studio 2017. After that....

    1)  upgraded my project to 4.6.2

    2)  deleted any unneeded dll files

    3) installed latest Microsot.net.compilers to 2.3

    4) installed latest Newtonsoft.Json to 10.0.3

    5) stopped my iis, cleared by .net cache folders, resart server, rebuild and still same error

    Its impossible for me to know which 3rd party dll maybe causing that and I got bunch of projects in my solution so its a nightmare trying to debug. B4 using vs2017, and when i was using vs2013, the compiler was giving little more details (in case this helps)

    c:\windows\system32\inetsrv> "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\vbc.exe" /t:library /utf8output /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\28957e06\ff7c20f4_ccfcd201\ValtechCommon.Utilities.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\3267656c\571849f9_bbbace01\log4net.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\484e2daa\ea97fdf3_ccfcd201\ValtechCommon.Interfaces.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\8dd3d62c\dfadbde7_bbbace01\Castle.DynamicProxy.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\126a9d1e\1c0910ee_bbbace01\NHibernate.ByteCode.Castle.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\App_Web_myprofilecontactinformation.ascx.e1cc7272.k2s9ogy0.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\d6b100cc\8b48d5ed_bbbace01\FluentNHibernate.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\68811656\fa3765e1_bbbace01\FileHelpers.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\27ed3c5e\e6b18df5_ccfcd201\TexMex.Profile.Persistence.NHibernate.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\40f12377\d84ac1ed_bbbace01\Castle.DynamicProxy2.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Microsoft.VisualStudio.Web.PageInspector.Loader\v4.0_1.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Web.PageInspector.Loader.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\App_Web_saveeditupdatecontrol.ascx.cc671b29.tf9o4rfp.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_64\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\18018cee\487f92f9_bbbace01\Common.Logging.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\App_Web_createsecurityquestions.ascx.15d47c6e.gkekfjgh.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\f8d73a34\a61f7cf4_ccfcd201\TexMex.Profile.Common.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\App_Web_loginidentry.ascx.3a3ba86b.oje_bphi.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\4ca0dbd5\e6c83ac9_23ffd201\TexMex.Configuration.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Web.ApplicationServices\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.ApplicationServices.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\App_Web_questionentry.ascx.15d47c6e.o-u6wssj.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Web.WebPages.Deployment\v4.0_1.0.0.0__31bf3856ad364e35\System.Web.WebPages.Deployment.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\edfd4c4b\94205412_22fcd201\Interop.VBIDE.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\d64e7c2f\31397abb_0f00d301\HELIUM-UI.WcfServices.Handlers.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.ComponentModel.DataAnnotations\v4.0_4.0.0.0__31bf3856ad364e35\System.ComponentModel.DataAnnotations.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\0171c5cf\fa203dbf_0f00d301\HELIUM-UI.Presentation.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\App_global.asax.b1my4xlp.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Web.Extensions\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.Extensions.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\cc7123ea\e74d78f4_ccfcd201\TexMex.RuleSetFramework.Service.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Web.DynamicData\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.DynamicData.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\App_Web_panelsectioncontrol.ascx.15d47c6e.czwm1wfa.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Microsoft.CSharp\v4.0_4.0.0.0__b03f5f7f11d50a3a\Microsoft.CSharp.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\App_Web_myprofilecontainer.ascx.e1cc7272.tcimx--s.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\a673a380\1c53f0e0_bbbace01\Autofac.Integration.Web.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_64\System.EnterpriseServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\89f32139\b85302f4_ccfcd201\TexMex.RuleSetFramework.Core.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\App_Web_forgottencredentialsselector.ascx.3a3ba86b.zengmtkq.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel\v4.0_4.0.0.0__b77a5c561934e089\System.ServiceModel.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_64\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\App_Web_passwordentry.ascx.3a3ba86b.5qi8nfby.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\29b199b9\c3f37df6_ccfcd201\TexMex.Domain.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\86a60e7d\4ca589bb_0f00d301\TexMex.WorkFlow.Services.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Speech\v4.0_4.0.0.0__31bf3856ad364e35\System.Speech.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Activation\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Activation.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Activities\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Activities.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\0238e3d8\1dba7ff9_bbbace01\Common.Logging.Log4Net.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Design\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Design.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\e0671fd6\d4cf32f4_ccfcd201\ValtechCommon.EmailServices.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\88262ffe\63ff86eb_07fcd201\NHibernate.Mapping.Attributes.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Web.Entity\v4.0_4.0.0.0__b77a5c561934e089\System.Web.Entity.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\8287e802\707001f6_ccfcd201\HELIUM-UI.ProfileService.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\edbe9ab1\60729bed_bbbace01\Antlr3.Runtime.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\a1a766de\ca28fae1_bbbace01\System.Query.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\23e81270\29e3c5f5_ccfcd201\ValtechCommon.Presentation.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\904db7f1\fa07b1f4_ccfcd201\TexMex.RuleSetFramework.PolicyActivities.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\c723fe1e\655b97e0_bbbace01\AjaxControlToolkit.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\9265ffec\f2f18afb_23ffd201\TexMex.Integration.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\80e174b4\2fd6c2bc_0f00d301\TexMex.Services.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\1741cdb7\fd4e8fbe_0b7dd001\Telerik.Web.UI.Skins.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\App_Web_newpasswordentry.ascx.15d47c6e.chovcgfr.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\64abb830\90a8e2e1_bbbace01\System.Data.DLinq.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Web.Extensions.Design\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.Extensions.Design.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\fb01c831\7a4a29bc_0f00d301\TexMex.PipesAndFilters.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\650a30bd\a0964bfc_bbbace01\antlr.runtime.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\afbaf585\8ba26feb_07fcd201\Iesi.Collections.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\a5a15faf\625b0cf6_ccfcd201\ValtechCommon.Security.Portal.Controllers.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\b2d2654d\00dbe463_e522d101\ValtechCommon.Persistence.Linq.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Web.Services\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\582ff914\b46393eb_07fcd201\Newtonsoft.Json.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\43054df5\ed7c2dee_bbbace01\NHibernate.Linq.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\6d7597bb\e7f099f8_ccfcd201\TexMex.Business.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Data.DataSetExtensions\v4.0_4.0.0.0__b77a5c561934e089\System.Data.DataSetExtensions.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\c8c9ad92\405feaba_0f00d301\HELIUM-UI.Interfaces.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\944f00de\4a1e03fa_bbbace01\Spring.Core.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Web.WebPages.Deployment\v4.0_2.0.0.0__31bf3856ad364e35\System.Web.WebPages.Deployment.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Web\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Web.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\d8d133dd\929bebc9_23ffd201\TexMex.ValidationEngine.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Activities\v4.0_4.0.0.0__31bf3856ad364e35\System.Activities.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\72990deb\81a12bc9_0b7dd001\Telerik.Web.UI.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\1ecadb0e\006b30e1_bbbace01\CleverComponents.InetSuite.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\f1988b2b\0045a250_79c0cd01\NHibernate.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\249815af\a44c4d64_e522d101\TexMexCommon.Audit.Framework.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\3b665842\25867bf5_ccfcd201\TexMex.Profile.Services.Channel.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\df988658\653cb6f5_ccfcd201\TexMex.Services.Profile.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\9b14e876\bfee0cf7_ccfcd201\TexMex.Notification.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\e34b5b72\c284a5ed_bbbace01\Castle.Core.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\App_Web_emailentry.ascx.3a3ba86b.oxwulvyc.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\App_Web_loannavbreadcrumb.ascx.cc671b29.j2ug8qvn.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\App_Web_botchallengecontrol.ascx.15d47c6e.sc8epagw.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\fca69f71\9d8c02f7_ccfcd201\TexMex.EmailService.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\9c5cbfea\f151a9f4_ccfcd201\ValtechCommon.Security.Framework.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\6706c245\877815f5_ccfcd201\TexMex.Profile.Domain.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\0ef15a5b\8aaf3cf5_ccfcd201\ValtechCommon.Security.Framework.WcfServiceHandlers.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\28d497d7\19de3ff4_ccfcd201\TexMex.Common.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.DirectoryServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.DirectoryServices.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\835732b9\9695b4eb_07fcd201\itextsharp.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\789f6ded\b0bac0f6_ccfcd201\TexMex.Interfaces.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\d59dc661\deecaea5_0f00d301\TexMex.Autofac.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xml.Linq\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.Linq.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\efe4a078\28269ef7_ccfcd201\TexMex.Workflows.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\86a0a02e\4f8aa9f9_bbbace01\Spring.Aop.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\21ca00bc\776b0ae1_bbbace01\Autofac.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\46d389c7\171abfe1_bbbace01\ExpressionBuilder.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\c40b49d9\9a3c31bb_0f00d301\HELIUM-UI.DataObjects.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Web.RegularExpressions\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.RegularExpressions.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.DirectoryServices.Protocols\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.DirectoryServices.Protocols.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.WorkflowServices\v4.0_4.0.0.0__31bf3856ad364e35\System.WorkflowServices.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.ServiceProcess\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.ServiceProcess.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\0ea33702\60d6fbf3_ccfcd201\ValtechCommon.Exceptions.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\ce156542\2147cfe1_bbbace01\IQToolkit.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\19e15422\5a86eaba_0f00d301\TexMex.ServiceFacadeProxy.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\366f20cb\c1a832f4_ccfcd201\ValtechCommon.Crypto.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.IdentityModel\v4.0_4.0.0.0__b77a5c561934e089\System.IdentityModel.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\e2a04cc2\847ebdbc_0f00d301\HELIUM-UI.Controllers.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\assembly\dl3\f1e9c637\73730abd_0f00d301\TexMex.SchedulerPartDeux.dll" /out:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\App_Theme_Basic_Theme.up9zm9m-.dll" /D:DEBUG=1 /debug+ /nowarn:41008,40000,40008 /define:_MYTYPE=\"Web\" /imports:Microsoft.VisualBasic,System,System.Collections,System.Collections.Generic,System.Collections.Specialized,System.ComponentModel.DataAnnotations,System.Configuration,System.Linq,System.Text,System.Text.RegularExpressions,System.Web,System.Web.Caching,System.Web.DynamicData,System.Web.SessionState,System.Web.Security,System.Web.Profile,System.Web.UI,System.Web.UI.WebControls,System.Web.UI.WebControls.WebParts,System.Web.UI.HtmlControls,System.Xml.Linq /warnaserror- /optionInfer+  "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\App_Theme_Basic_Theme.up9zm9m-.0.vb" "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\helium\06b1f59b\8354eff4\App_Theme_Basic_Theme.up9zm9m-.1.vb"


    Microsoft (R) Visual Basic Compiler version 14.7.2046
    for Visual Basic 2012
    Copyright (c) Microsoft Corporation.  All rights reserved.

    This compiler is provided as part of the Microsoft (R) .NET Framework, but only supports language versions up to Visual Basic 2012, which is no longer the latest version. For compilers that support newer versions of the Visual Basic programming language, see http://go.microsoft.com/fwlink/?LinkID=533241

    InternalXmlHelper.vb(9) : error BC30560: 'ExtensionAttribute' is ambiguous in the namespace 'System.Runtime.CompilerServices'.

        <Global.System.Runtime.CompilerServices.ExtensionAttribute()> _
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~     
    InternalXmlHelper.vb(24) : error BC30560: 'ExtensionAttribute' is ambiguous in the namespace 'System.Runtime.CompilerServices'.

        <Global.System.Runtime.CompilerServices.ExtensionAttribute()> _
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~     
    InternalXmlHelper.vb(39) : error BC30560: 'ExtensionAttribute' is ambiguous in the namespace 'System.Runtime.CompilerServices'.

        <Global.System.Runtime.CompilerServices.ExtensionAttribute()> _
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~     

    *****************

    Again if I try running the project in vs2017, all I get then is:

    InternalXmlHelper.vb(9) : error BC30560: 'ExtensionAttribute' is ambiguous in the namespace 'System.Runtime.CompilerServices'.

    Thanks


    Tuesday, July 18, 2017 9:54 PM

All replies

  • Hi bigdaddycool1,

    >>>This compiler is provided as part of the Microsoft (R) .NET Framework, but only supports language versions up to Visual Basic 2012, which is no longer the latest version.

    Starting with Visual Studio 2013, the 2013 version of MSBuild will ship as a part of Visual Studio instead of the .NET Framework. So you should use the vbc.exe from: "C:\Program Files (x86)\MSBuild\12.0\Bin" instead of from .NET framework.

    AFAIK for the error BC30560, a common trick to use extension methods (for LINQ etc) in .NET 2 with the C # 3 (or above) compiler was to define your own ExtensionAttribute in the right namespace.
    Now that you have upgraded to a later version of .NET you need to remove this now-redundant extra attribute. Find where it is defined in your code and expunge it. Also check for external libraries like LINQBridge - you will not need this any More
    One way to find it would be to use the object browser and search for ExtensionAttribute.

    Hope this can give you some help.


    MSDN Community Support Please remember to click &quot;Mark as Answer&quot; the responses that resolved your issue, and to click &quot;Unmark as Answer&quot; if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Wednesday, July 19, 2017 10:11 AM
  • Ok,

    I found a solution when nothing over the net solved it. Basically after upgrading project (which was in c#), the project was being compiled using vb  compiler, which actually was making me angry cause I wasn't using vb to begin with. So the solution is:

    1) Goto to IIS settings,

    2) double click on .Net Compilation. The 2nd last line says Default Language , which was set to vb,

    3) changed it to c# and problem went away

    Wednesday, July 26, 2017 2:31 PM
  • Hi bigdaddycool1,

    I am glad to know that you resolve the issue and share the solution to us, please mark it as answer, it will be beneficial to other communities who have the similar issue.

    Best regards,

    Cole


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Tuesday, August 1, 2017 5:17 AM
    Moderator
  • In my case it happened to be third party dll. I believe the key is that if your project's framework is upgraded e.g. from 3.5 to 4.5 then you should also consider upgrading any third party dlls accordingly.
    Friday, April 19, 2019 9:35 PM