A TARGET definition is required in proxy file 'filename.' Found 'tag' instead.
The proxy file named does not have a valid TARGET defined. A proxy file should include an XML header and a TARGET statement whose value is the path to a Visual Studio project. For example:
<?xml version="1.0" encoding="utf-8" ?> <TARGET>..\Projects\Enterprise Template Project\Default_Policy_Project.etp</TARGET>
This example shows the complete text of a proxy file named "Enterprise Template Projects.etpproxy." Its TARGET is an Enterprise Template project named "Default_Policy_Project.etp." This proxy file would appear in the Visual Studio Add Project dialog box as a project icon named "Default_Policy_Project.etp."
To solve this problem
- Note the name of the proxy file mentioned in the error message.
- Close your project and open the proxy file in a text editor.
- Verify that the TARGET statement in the proxy file has a valid path to your project.
If there is a TARGET statement:
- Confirm that the TARGET project named exists at the TARGET location.
- If the project exists but has a different name, either change the TARGET filename in the proxy file or change the project name back to the TARGET filename.
- If the project exists but is at another location, either edit the TARGET path in the proxy file to the new location or move the project to the TARGET location.
- If the TARGET project no longer exists, you cannot use this proxy file.
If there is not a TARGET statement:
- Add a TARGET statement with a valid path to the desired Enterprise Template project.
- Save and close the proxy file.
Note Make sure the proxy file retains the .etpproxy file extension.
- Reopen your project.