build doesn't work with VS2010 Express #11038
Labels
area-infrastructure
Use area-infrastructure for SDK infrastructure issues, like continuous integration bot changes.
os-windows
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
This issue was originally filed by @aam
It seems that VS2010 Express doesn't support project folders. Projects from the project folders are placed on the root level. It's not a problem except when there are project name conflicts.
Currently there are three conflicting pairs of .vcxproj generated from gyp files:
1) utils/compiler/compiler.gyp:dart2js and dart.gyp:dart2js
2) editor/analyzer.gyp:analyzer and dart.gyp:analyzer
3) utils/apidoc/apidoc.gyp:api_docs and dart.gyp:api_docs
First conflict prevents utils_wrapper.dart.snapshot generation, so the build on VS2010 Express fails to complete create_sdk step(no snapshot available).
Solution might be simply to rename targets so that there are no conflicts.
Something like this:
===
Index: editor/analyzer.gyp
===================================================================
--- editor/analyzer.gyp (revision 23521)
+++ editor/analyzer.gyp (working copy)
@@ -21,7 +21,7 @@
},
'targets': [
{
'variables': {
# The file where we write the class path to be used in the manifest
Index: dart.gyp
===================================================================
--- dart.gyp (revision 23521)
+++ dart.gyp (working copy)
@@ -55,7 +55,7 @@
'type': 'none',
'dependencies': [
'runtime/dart-runtime.gyp:dart',
'analyzer',
'compiler',
@@ -116,14 +116,14 @@
'target_name': 'dart2js',
'type': 'none',
'dependencies': [
},
{
'target_name': 'analyzer',
'type': 'none',
'dependencies': [
},
{
@@ -163,7 +163,7 @@
'target_name': 'api_docs',
'type': 'none',
'dependencies': [
},
{
Index: utils/apidoc/apidoc.gyp
===================================================================
--- utils/apidoc/apidoc.gyp (revision 23521)
+++ utils/apidoc/apidoc.gyp (working copy)
@@ -15,10 +15,10 @@
],
'targets': [
{
'dependencies': [
'../../pkg/pkg.gyp:pkg_packages',
],
Index: utils/compiler/compiler.gyp
===================================================================
--- utils/compiler/compiler.gyp (revision 23521)
+++ utils/compiler/compiler.gyp (working copy)
@@ -8,7 +8,7 @@
},
'targets': [
{
'dependencies': [
'../../runtime/dart-runtime.gyp:dart',
===
The text was updated successfully, but these errors were encountered: