# Migrate a Windows project to set version information

> How to update a Windows project to set version information




:::important
These breaking change docs are accurate, as of the release
under which they are published. Over time, the
workarounds described here might become inaccurate.
We don't, in general, keep these breaking change docs up
to date as of each release.

The [breaking change index file](/release/breaking-changes)
lists the docs created for each release.
:::


Flutter 3.3 added support for setting the Windows app's version from
the `pubspec.yaml` file or through the `--build-name` and `--build-number`
build arguments. For more information, refer to the
[Build and release a Windows app][] documentation.

Projects created before Flutter version 3.3 need to be migrated
to support versioning.

## Migration steps

Your project can be updated using these steps:

1. Verify you are on Flutter version 3.3 or newer using `flutter --version`
2. If needed, use `flutter upgrade` to update to the latest version of the
Flutter SDK
3. Backup your project, possibly using git or some other version control system
4. Delete the `windows/runner/CMakeLists.txt` and `windows/runner/Runner.rc`
files
5. Run `flutter create --platforms=windows .`
6. Review the changes to your `windows/runner/CMakeLists.txt` and
`windows/runner/Runner.rc` files
7. Verify your app builds using `flutter build windows`

:::note
Follow the [run loop migration guide][] if the build fails
with the following error message:

```console
flutter_window.obj : error LNK2019: unresolved external symbol "public: void __cdecl RunLoop::RegisterFlutterInstance(class flutter::FlutterEngine *)" (?RegisterFlutterInstance@RunLoop@@QEAAXPEAVFlutterEngine@flutter@@@Z) referenced in function "protected: virtual bool __cdecl FlutterWindow::OnCreate(void)" (?OnCreate@FlutterWindow@@MEAA_NXZ)
```
:::

## Example

[PR 721][] shows the migration work for the
[Flutter Gallery][] app.

[Build and release a Windows app]: /deployment/windows#updating-the-apps-version-number
[run loop migration guide]: /release/breaking-changes/windows-run-loop
[PR 721]: https://github.com/flutter/gallery/pull/721/files
[Flutter Gallery]: https://flutter-gallery-archive.web.app

