Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Suggested answer

Error in proxy generation

(0) ShareShare
ReportReport
Posted on by 121

Hi All,

I am trying to merge my customization with 10.0.9 Retail SDK from 10.0.7 manually. All the projects are build after changing the references. Only RetailProxy extension is throwing error regarding the CommerceProxyGenerator. The error was: This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them.  For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. Then  I found after unloading project that it was referring to earlier version of CommerceProxyGenerator. I have updated it with new SDK CommerceProxyGenerator.

Now, it is throwing some different error, I am not sure what needs to be done in order to solve it. Do I need to change any configuration file in some particular place. If any one has came across same problem please suggest. The error message I am getting in Visual studio is. "The CommerceProxyGeneratorApplicationType property is not properly set (supported values are: CSharp, CSharpExtensions, TypeScript, TypeScriptExtensions, or TypeScriptModules)"

Thank you!

  • Suggested answer
    MarcosAP25 Profile Picture
    75 on at
    RE: Error in proxy generation

    Thanks Ram Shenkar!

    I have installed the .Net Framework. 4.8 and this has fixed the issue for me

  • rogerlee Profile Picture
    20 on at
    RE: Error in proxy generation

    It is in order to avoid problems and errors with proxy generation that you need to find an excellent specialized service provided by usa proxies. Some people don't even understand why some users use proxy servers. Summing up, we can say that users use proxies to bypass protection in order to create multiple accounts and then promote. This helps a lot in a variety of promotion or creation of targeted advertising. Therefore, for those who have decided to do this, they should find a good platform. I hope I helped you.

  • Suggested answer
    Ramshenkar Profile Picture
    on at
    RE: Error in proxy generation

    Hi Sumit,

    I was facing issue like "Error: Sequence contains no elements" while building the proxy project in 10.0.9.

    This was due to some dependent libraries of .net fx 4.8 missing on the system.

    "Installing .NET Framework 4.8 (dotnet.microsoft.com/.../net48-web-installer) fixes the issue."

    You can try the same and check if it works for you. Otherwise, I will suggest raising the case with MS support.

  • Sumit Bhagat Profile Picture
    121 on at
    RE: Error in proxy generation

    I tried copying code into clean 10.0.9 SDK still the same issue.

  • Sumit Bhagat Profile Picture
    121 on at
    RE: Error in proxy generation

    Hi Ram,

    Thank you for your reply. I did verify those values in my CommerceProxyGenerator.props files. This are correct. You mentioned compare it with setting. which settings. Do I need to make any changes in CommerceProxyGenerator file. or add somewhere my proxy reference.

    pastedimage1589210662319v1.png

  • Suggested answer
    Ramshenkar Profile Picture
    on at
    RE: Error in proxy generation

    Hi Sumit,

    You can check the settings "Commerce Proxy Generator Application Type" as per the error message.

    To check this find your CommerceProxyGenerator.props file. This is referenced into your proxy extension project. 

    1856.png

    Verify below tags in your CommerceProxyGenerator.props  file. Compare then with your settings and correct as needed. 

    8130.png

     

  • Guanghui Profile Picture
    on at
    RE: Error in proxy generation

    Can you try 2 things:

    1. Install the latest .net framework.

    2. Just copy your code into the clean 10.0.9 retail sdk

  • Sumit Bhagat Profile Picture
    121 on at
    RE: Error in proxy generation

    Thank you Guanghui.

    May be I will rephrase my question again.  I have a retail proxy project in 10.0.7 Retail SDK and it is successfully getting build there. Now I have moved that project with 10.0.9 Retail SDK and when I am building it from visual studio it was throwing below error.

    pastedimage1588754252167v1.png

    Then I noticed in project configuration after unloading it that it is referring to old SDK CommerceProxyGenerator package (i.e References\CommerceProxyGenerator.10.9.19285.1\build\CommerceProxyGenerator.props). So I have changed it with new SDK package (References\Microsoft.Dynamics.Commerce.Tools.CoreProxyGenerator.10.12.20102.2\build\Microsoft.Dynamics.Commerce.Tools.CoreProxyGenerator.props) and reload it again. Now I am getting this error while building the project and I am not sure what needs to be done in order to resolve it.

    pastedimage1588754717053v2.png

  • Guanghui Profile Picture
    on at
    RE: Error in proxy generation

    As per my knowledge, CommerceProxyGenerator is a tool which is only used to generate the retail server proxy, you can run it from command line without visual studio.

    Could you please just run it in command line? If what I am talking is not what you mean, can you share more details with screenshot?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >

Featured topics

Product updates

Dynamics 365 release plans