Quantcast
Channel: Optimizely Search & Navigation
Viewing all 6894 articles
Browse latest View live

CatalogManagers role cannot edit catalog after update

$
0
0

Hi,

We updated our project to the newest Commerce 12.14 from Commerce 11.2.3. After that, users with role CatalogManagers, but without CommerceAdmins can see the Catalog in Catalog Editor UI, but everything is read-only, the user cannot create any new entry or modify an existing one. In the previous version CatalogManagers had write access to the catalog as well.

If I assign the user CommerceAdmins role as well, it can edit the catalog. I have checked the role-configuration and security configuration in UI and everything is correct and like in the old version, there is no difference.

What could cause this change of behavior and how could it be solved? I have debugged, and the user gets the CatalogManagers claim, but apparently it is not enough.

Thank you in advance!


Autocomplete - filter suggestions based on Market

$
0
0

On a multisite installation running both CMS and Commerce, I am performing the following code to filter search suggestions on site ID and language:

SearchClient.Instance.Statistics().Autocomplete(query, 10, new[] { $"siteid:{SiteDefinition.Current.Id.ToString()}", $"language:{currentCulture.TwoLetterISOLanguageName}" });

However, seeing as some languages have more than one market (e.g. Dutch (nl-NL) for The Netherlands and Belgium) this results in suggestions which are meant for e.g. the (Dutch language) Belgian website are showing up on the Dutch website.

I would like to be able to filter the suggestions on market as well as site ID and language, to enable differing suggestions for (e.g.) nl-NL and nl-BE. Is there any specific method to approach this, or perhaps a workaround to separate autocomplete per market?

Thanks in advance for any help.

Editing links in tinymce 2 editor throws error due to episerver generating a insane amount of white spaces on internal links. CMS 11

$
0
0

I recently upgraded a site to CMS 11 and tinymce 2. When editing links in in an xhtml area episerver generates an internal url like this probably used in the link dialog. https://somesite.no/EPiServer/cms/Stores/contentstructure/?query=getcontentbypermanentlink&permanentLink=~%2Flink%2Fcc86eada86ab49ec8869fe9a4a966e65.aspx&allLanguages=true&dojo.preventCache=1547119071750

In production (only) the same url is generated with an insane ammount of white spaces between segment ...aspx and &allLanguages. Other environments (dev, staging) is working fine and are not generating any whitespaces in the urls.

So far I have been unable to figure out what is wrong. Any pointers that would help me figure this out would be appreciated!

https://somesite.no/EPiServer/cms/Stores/contentstructure/?query=getcontentbypermanentlink&permanentLink=~%2Flink%2Fcc86eada86ab49ec8869fe9a4a966e65.aspx%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20&allLanguages=true&dojo.preventCache=1547119071750

Disable rounding on pricing

$
0
0

Currently we have a webshop where price information is coming in with high precision (5 digits). This is due to the fact that the source systems are calculating prices per 1000 units and we have to do some recalculations. We've already tested this and EPI seems to be able to handle this "almost" properly. However there are a few places where rounding takes place:

  • OrderFormCalculator
  • ShippingCalculator
  • DiscountUpdater

For both the OrderFormCalculator and ShippingCalculator we were able to intercept these and implement a custom calculation without rounding. This works like a charm. However the DiscountUpdater seems not be interceptable and causes that VAT is calculated on rounded product prices, which gives rounding differences at the end. Is there a way to intercept or change the behavior of the DiscountUpdater to not round the pricing in the intermediate calculations? In our system we only want to round the final price which needs to be payed by the customer.

Note: We're using the latest EPIServer Commerce and CMS version.

Every time we install Forms, we can no longer access the epi CMS.

$
0
0

Every time we try to install Forms, we can no longer access the epi CMS. There are no errors on Form install. How do we trobleshoot this?

Epi version 10.8

TinyMCE 2 Prevent Code Rewirtes

$
0
0

I'm having a probelem with the TinyMCE editor rewriting code when I go to the code view, and it is breaking things.

For example I'm trying to add a span tag inside an a tag for a font awesome icon.

I have this 

<a class="btn btn-primary"><span class="fa fa-search">&nbsp;</span></a>

But when I add an ID to the a class it rewrites the HTML to this

<a id="test" class="btn btn-primary"></a><span class="fa fa-search">&nbsp;</span>

There is absolutly no reason for it to re-write this code.  So I need a way to prevent TinyMCE to prevent code rewrites

The ony thing I have discoved in the TinyMCE documentation was a "Verify HTML" for version 3.  But since EPi now uses version 4, this seems to no longer work.  I've added these settings in my TinyMCE config, and I can't get it to stop rewriting html from the code view.

.AddSetting("verify_html ", "false")
.AddSetting("cleanup", "false")

 

Any Suggestions?  

Importing of the assets via service api - throws content not found exception

$
0
0

Hi,

when importing asset of a product with bulk import endpoint exception gets thrown that says 'Content with id xyz was not found'

with the stack trace:

at EPiServer.Core.Internal.DefaultContentLoader.Get[T](ContentReference contentLink, LoaderOptions loaderOptions)\r\n at EPiServer.Core.Internal.DefaultContentLoader.Get[T](Guid contentGuid, LoaderOptions loaderOptions)\r\n at EPiServer.Core.Internal.DefaultContentLoader.Get[T](Guid contentGuid)\r\n at EPiServer.Core.Internal.DefaultContentRepository.Get[T](Guid contentGuid)\r\n at EPiServer.ServiceApi.MediaImportImplementation.ImportProcessor.GetWriteable[TMediaData](String integrationId, String providerName, ContentReference mediaItemFolder, ContentReference mediaTypeFolder)\r\n at EPiServer.ServiceApi.MediaImportImplementation.ImportProcessor.ProcessMediaContent[TMediaData](RuntimeMediaType mediaType, Media media, ContentReference& reference)\r\n at EPiServer.ServiceApi.MediaImportImplementation.ImportProcessor.ProcessMedia[TMediaData](RuntimeMediaType mediaType, Media media)\r\n at EPiServer.ServiceApi.MediaImportImplementation.ImportProcessor.ProcessMedia(IXmlContent mediaContent)\r\n at EPiServer.ServiceApi.Jobs.MediaImportJob.ProcessXml(XmlSchema schema, IStreamSource streams, IMediaImporter processor)\r\n at EPiServer.ServiceApi.Jobs.MediaImportJob.ExecuteJob(Guid jobId)

This happens in DXC and I have no means to dig into DB.

Importing file is a zip file with an image and a xml file that holds references to the right product and its variation. Code used for both product and its variation is in form of GUID and that is why it puzzels me so much. Why id xyz in the exception instead of GUID?

Importing works for 99.99% of products but for less than 10 this exception gets into way.

Could it be that some dirty data was not removed when the catalog was deleted in some of the previous iterrations? 

How to add Last Login Date to Contact list in Commerce Manager?

$
0
0

In the Customer list view in Commerce Manager my customer also want to see last login date as a column.

Last login Date is availible on the account connected to each customer, But how do I get that column to show in the list view? That field is not availble in the list of fields to add. 


Trim Content Versions job for Commerce catalog content

$
0
0

In CMS 11 we got the "Trim Content Versions" job for CMS content which uses the uiMaxVersions setting. 

Would be nice with a similar built-in job for Commerce content for cleaning up old previous versions of catalog entries. 

How to show/hide properties in the CMS block editor

$
0
0

I have created a new block which contains a table allowing people to enter fields they want to appear in the view. They select the type while they do this and one of the types in 'DropDown'. While entering what fields they would like they also have the option to add select options. I only want the select options part to appear when they have select the type 'DropDown'. The documentation around this on the Episerver site is not great and only mentions how to edit out the box blocks not custom built ones.

enter image description here

So when field type is anything other than 'DropDown' I do not want the 'Select Options' part to appear. Is this possible?

widget on modelchange epi version 10 vs epi version 11.

$
0
0

Hi,

We are seeing some different behaviours in epi version 11.x

On 9 and 10 we used:

topic.subscribe("siteattention/modelchanged", lang.hitch(this, "_onModelChanged"));

which works fine, but it is not getting called on first load in Epi11.

Any guidance?

UPDATE:

Get this in the console log as well (not sure how to change it):

widgets.js:2 OBSOLETE: epi/shell/_StatefulGetterSetterMixin Use dojo/Stateful custom setters/getters instead

Lineitemids change when filtering occurs in the Promotion Engine.

$
0
0

Hello world.

We have an issue that is causing havoc in our integrations to other systems at the moment. Our line item ids change on our PurchaseOrders in certain processes!

In our solution we use the LineItemId as an identifier that we send to other systems. If any of us update a line item for some reason we use a LineItemId to reference the specific one that should get the updates on the other end of the integration. So it's pretty bad if the LineItemIds keep changing on us.

After noticing this issue I've narrowed it down to the way that the promotion engine filters out items that shouldn't be considered for promotions for whatever reason we specify in our filtering.

I've writtein up some code to replicate the issue. The IEntryFilter that the IoC uses can look like this:

    public class MyEntryFilter : IEntryFilter
    {
        public IEnumerable Filter(IEnumerable entryCodes)
        {
            return Enumerable.Empty();
        }
    }

(Basicly filter out everything)

We can then run this code to test the filter:

    public void TestPromotionEngineFilter(int orderGroupId)
    {
        var orderRepo = ServiceLocator.Current.GetInstance();
        var entryFilter = ServiceLocator.Current.GetInstance();
        var order = orderRepo.Load(orderGroupId);
        var filterHandler = new EntryFilterHandler(entryFilter, order.Forms.First());
        filterHandler.ExcludeItems();
        filterHandler.RestoreItems();
        orderRepo.Save(order);
    }

After running this the lineitemIds will have changed on all items on that order.

This seems to have to do with the way that EntryFilterHandlerdeals with filtering. It first removes the items from the Shipment in ExcludeItems() (this also triggers code that removes it from the OrderForm), then when the promotion engine has finished running it adds them back to the Shipment with RestoreItems().

So to my question:

Has anyone else encountered this issue? Is there a quick (and dirty is acceptable too at the moment) solution out there already maybe? (beyond removing our code that filters out items we don't want to be considered for promotions, I'm already considering the implications of doing that.)

Version:

10.6.0

(But the latest version handles the filtering in the same manner)

Permissions set from 'Set Access Rights' not working

$
0
0

Hi,

I am trying to get Access Rights working with CMS 11. 

I have done the following:

  1. Used the following membership/role config:
<membership defaultProvider="MultiplexingMembershipProvider" userIsOnlineTimeWindow="10" hashAlgorithmType="HMACSHA512"><providers><clear /><add name="MultiplexingMembershipProvider" type="EPiServer.Security.MultiplexingMembershipProvider, EPiServer.Framework.AspNet" provider1="SqlServerMembershipProvider" provider2="WindowsMembershipProvider" /><add name="WindowsMembershipProvider" type="EPiServer.Security.WindowsMembershipProvider, EPiServer.Cms.AspNet" deletePrefix="BUILTIN\" searchByEmail="true" /><add name="SqlServerMembershipProvider" type="System.Web.Providers.DefaultMembershipProvider, System.Web.Providers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="EPiServerDB" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/" /></providers></membership><roleManager enabled="true" defaultProvider="MultiplexingRoleProvider" cacheRolesInCookie="true"><providers><clear /><add name="MultiplexingRoleProvider" type="EPiServer.Security.MultiplexingRoleProvider, EPiServer.Framework.AspNet" provider1="SqlServerRoleProvider" provider2="WindowsRoleProvider" providerMap1="SqlServerMembershipProvider" providerMap2="WindowsMembershipProvider" /><add name="WindowsRoleProvider" applicationName="/" type="EPiServer.Security.WindowsRoleProvider, EPiServer.Cms.AspNet" /><add name="SqlServerRoleProvider" type="System.Web.Providers.DefaultRoleProvider, System.Web.Providers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="EPiServerDB" applicationName="/" /></providers></roleManager>

1.b. Checked that WebEditors is allowed under location path "EPiServer"

2. Created a user (with the SqlServerMembershipProvider) that is part of WebAdmins as well as part of a new group called Blog

3. Set the permissions on one of the nodes in the content tree under 'Set Access Rights' (I gave the Blog Group all the available permissions.)

4. Logged in as the user and navigated to edit mode

5. When I look at the content tree, all the nodes (including the one I gave permission for) are greyed out with a padlock next to them. When I hover the padlock on the node that should be available to edit it says 'You have not been assigned the user rights to make changes to this page'. 

The annoying thing is that I have another project with a very similar setup and with the same version of episerver, and that one is working. So there is something (I hope in config/code instead of being an epi bug) is different, but I can't find it at all. 

Any idea what might be going wrong or what I can do about it?

Best regards,

Sam

Media Handling Based on the Field in Contact

$
0
0

Hi Team,

We are working on the one of the scenario where we need to  restrict media based on the field of Customer Contact .Can any one provide the approach or a way to achieve this

Thanks,

Sai Varun Kuppa

How to get the name of the database?

$
0
0

Hi!

I need to get the main episerver database name to use with entity framework.

I know I could get it from System.Configuration.ConfigurationManager.ConnectionStrings but I will not have the name of the string so this is useless.

It could be retrieved from EPiServer.Data.Providers.IDatabaseFactory, but that interface is obsolete :(

Is there a built in method that will return the main episerver database name?


Issue adding meta fields to meta classes grammatically

$
0
0

We’ve created a cms scheduled job that processes a queue of operations on meta classes and meta fields.  In this job we Create and Delete meta classes and meta fields.  We also relate meta fields to meta classes.  During the job execution we have an issue where the sql server cpu is getting slammed due to thousands of calls to the following stored procedure per second:  mdpsp_sys_LoadMetaFieldListByMetaClassId.  The stored proc alone is pretty simple and fast, but what is making this SP execute so often?

We're using the MetaClass and MetaField classes in the Mediachase.MetaDataPlus.Configurator namespace.

Through some debugging we've narrowed it to the following method in the MetaClass class:

private void AddFields(IEnumerable<MetaField> metaFields, int weight)

In this method the following line is responsible for the call to the stored proc mentioned above, because the MetaFields property calls LoadMetaFields().

this.MetaFields.Add(metaField);

Here is our code that is called maybe 300 times during the life of the job

public string CreateMetaFieldRelation(MetaClass metaClass, MetaField metaField)
        {
            if (metaClass == null)
                return "ERROR: Meta class does not exist";
            metaClass.AddField(metaField);
            return _successMessage;
        }

Media Browser

$
0
0

I'm building a custom report in CMS v11.10.6.0 to produce a list of all media assets starting from a given media folder on the assets. So I want to provide user with the ability to browse to a media folder.

I know of https://localhost/EPiServer/CMS/edit/pagebrowser.aspx?id=5 can be used to browse for pages, but I wonder if something similar exists that I can use to browse for media files/folders.

I browse the rest of the files in the location where pagebrowser is located, but did not saw anything related to a media browser.

Thanks.

Can not edit Payment Plan in Commerce Manager

$
0
0

We're using Payment plans for a subscription service. We want CSRs to manage the payment plans in commerce manager. However, if we make any edit to the payment plan, we're unable to save, when we do we get the following error:

Validation Error: Number 1 - 'The payment total and the order total do not match. Please adjust your payment.'

The payment plan does not have any payments. We'll create a payment when the plan gets converted to a purchase order. Does anyone have an idea why this error is happening?

thanks for the help,

marcus

Error when trying to migrate

$
0
0

I'm trying to migrate our old commerce start kit databases to a new version and getting this error.  I'm on version 8.5 of the CMS and 8.11 of commerce

You should be able to reproduce this by pulling down QuickSilver site from GitHub, adding the EpiServer.ServiceApi.Commerce package, updated the connection strings to point to older 8.x version of databases and run the site. The databases I'm using were provided by you (Epi) located at http://ec2-54-175-44-184.compute-1.amazonaws.com/. I can give you more details on that if you need it, didn't want to post to much information publicly.

Server Error in '/' Application.

Access is denied.

Description: An error occurred while accessing the resources required to serve this request. The server may not be configured for access to the requested URL.

Error message 401.2.: Unauthorized: Logon failed due to server configuration.  Verify that you have permission to view this directory or page based on the credentials you supplied and the authentication methods enabled on the Web server.  Contact the Web server's administrator for additional assistance.

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.118.0 

Binding redirect overwiriting on installing nuget package

$
0
0

Hi All!

I am having a problem with automatic bindingRedirect overwriting, when installing nuget packages.

In most cases that behavior is expected, but in my case the problem is that the max value of the version range is decreased.

My main project has the following binding redirect:

<assemblyIdentity name="EPiServer.Framework" publicKeyToken="8fe83dea738b45b7" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-11.10.5.0" newVersion="11.10.5.0"/>

And the nuget package i am installing has the following:

<assemblyIdentity name="EPiServer.Framework" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-11.11.0.0" newVersion="11.11.0.0" />

As you can see the problem is that the minor version in the package is higher than the version in the consuming package, therefore it is out of the version range in that particular binding. That creates an error when starting the base project, about missing assemblies.

A fix for this is to correct the range of the versions in the binding in the consuming project after the nuget package installs. But that is cumbersome and I would not want to push that responsibility on the people that would use the nuget package.

So is there any way to mitigate this problem, without manually parsing the packages.config file in the nuget a1 script file?

Viewing all 6894 articles
Browse latest View live