Personalized Community is here!
Quickly customize your community to find the content you seek.
Now Available in Community - New TechTalk Videos for 2020
Read More about New TechTalks for 2020
2020 release wave 1Discover the latest updates and new features to Dynamics 365 planned through September 2020
Release overview guides and videos Release Plan | Preview 2020 Release Wave 1 TimelineWatch the 2020 Release Wave 1 virtual launch event
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Upcoming TechTalks
I get the above error when I try to add a web reference via the service reference to my C# class library.
I'm busy with the rate engines again. Fedex is using a web reference and not a service reference.
I have created my D365FO unified operations project. Then I added C# class library. I need to add to this class library a web reference for the rate and ship proxies.
According to this link: https://msdn.microsoft.com/en-us/library/bb628649.aspx, to create a web reference I need to do the steps below. However when I click on the Advanced button, I get the error "Resolver must resolve module reference to a valid module'. I can't just right-click > Add > Web Reference because the latter is greyed out. Any other way to add it or to fix this error?
In Solution Explorer, right-click the name of the project that you want to add the service to, and then click Add Service Reference.
The Add Service Reference dialog box appears.
In the Add Service Reference dialog box, click the Advanced button.
The Service Reference Settings dialog box appears.
In the Service Reference Settings dialog box, click Add Web Reference.
The Add Web Reference dialog box appears.
In the URL box, enter the URL of the Web service to use. If you do not know the URL, use the links in the browse pane to locate the Web service you want.
According to your description, I suppose you are trying to create a C# class library and add a web reference there. Then you want to add a reference from an X++ project to the C# class library project and use the generated proxy classes in X++.
So if you meet the error when you are trying to add a web reference to the C# library project, you may get more support from the .NET Community.
While searching for this error I found a comment on the Internet where one guy said that he fixed it by just deleting his project and start over again. Another one did an update on existing web references which fixed his problem. I decided to start a new project, after adding the class library I left it as is, so no adding of code or renaming. I immediately went to add Service Reference and then was able to click on Add web reference without getting the error.
So I'm adding my web references first before starting to add the code needed for the engine in the library class.
Business Applications communities