-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check schema when performing a sln build. (#2593)
* Check that the schema matches either empty or the MSBuild default schema when building a solution file. * Special case .rptproj files. This file format looks like a standard MSBuild file but specifies ToolsVersion=2.0 and a default XML schema. Since the XML parser treats that schema as equivalent to empty and empty is now allowed, there's no good way to determine if it's an MSBuild file until we try to parse. This results in an error in MSBuild 15 rather than a warning in MSBuild 14 for solutions with a .rptproj file. To solve this, the sln build will now allow projects where the schema is the default MSBuild schema or empty and ToolsVersion is not 2.0. * Special case to detect .dwproj in sln based on XML namespace declarations in the Project element.
- Loading branch information
1 parent
58ed985
commit d026eba
Showing
2 changed files
with
96 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters