web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Error in Window's Designer.cs after adding Image to Button

(0) ShareShare
ReportReport
Posted on by 1,588

Software: Visual Studio 2019

Project Type: Dynamics GP Addin for VS Tools

I've added a button to the GP form window in the project. When I set the Image property of the button to one of the included resources (the Toolbar_Cancel.png image in this case), the automated change to the forms Designer.cs file results in an error. The line causing the error is: 

this.CloseButton.Image = global::[REDACTED].DynamicsGP.Addin.Properties.Resources.Toolbar_Cancel;

The error listed in the project is:

The type or namespace name 'Properties' does not exist in the namespace'[REDACTED].DynamicsGP.Addin' (are you missing an assembly reference?)

If the change is saved and the form tab closed, it cannot be opened again as the error will stop the form from being properly displayed.

Categories:
I have the same question (0)
  • Suggested answer
    Derek Albaugh Profile Picture
    Microsoft Employee on at

    I wasn't able to find anything in regards to this error.

    Imagine the developers in the Community may have some information they can share on this error message.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 771

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 629 Super User 2026 Season 1

#3
Subra Profile Picture

Subra 496

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans