Refreshing diagrams with changes in source files

When you modify the C# source files and .NET assemblies outside of the Eclipse IDE, refresh the files and projects in IBM® Rational® Modeling Extension for Microsoft .NET to update affected diagrams with the changes.

Before you begin

You must be in the .NET perspective.

About this task

For best results, use the Refresh command to update opened and unopened diagram with saved changes in Visual Studio.

To update Rational Modeling Extension for Microsoft .NET projects and files with changes:

Procedure

  1. In the Project Explorer, right-click a project or file.
  2. Click Refresh. Open and unopened diagrams are updated with the modifications in the source files.
  3. (Optional) In some circumstances, you might want to reload files from Visual Studio even if they haven't changed. For example, in cases where the refresh operation fails to update all of the files due to an error.
    1. In the Project Explorer, right-click a file or selection of files.
    2. Click Reload File.
    The file or files are reloaded and all related diagrams are updated with the modifications in the source files.

Results


Feedback